/* ===== Top Agents Vertical List v1 ===== */

.qom-top-agents-vertical {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
  width: 100%;
  box-sizing: border-box;
}

.qom-top-agent-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 108px;
  padding: 14px 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(10,26,60,0.88) 0%, rgba(6,18,44,0.95) 100%);
  border: 1px solid rgba(120, 170, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  box-sizing: border-box;
  overflow: hidden;
}

.qom-top-agent-avatar {
  width: 76px;
  height: 76px;
  min-width: 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.14);
  box-shadow: 0 0 0 2px rgba(212,170,68,0.12);
  background: rgba(255,255,255,0.04);
}

.qom-top-agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qom-top-agent-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.qom-top-agent-name {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qom-top-agent-role {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.4;
}

.qom-top-agent-zone {
  font-size: 13px;
  color: rgba(255,255,255,0.66);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qom-top-agent-meta {
  min-width: 132px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

.qom-top-agent-rating {
  font-size: 18px;
  font-weight: 800;
  color: #f0c35a;
  white-space: nowrap;
}

.qom-top-agent-deals {
  font-size: 13px;
  font-weight: 700;
  color: #48e28d;
  line-height: 1.5;
  white-space: nowrap;
}

.qom-top-agents-host-fix {
  box-sizing: border-box;
  overflow: hidden;
}

.qom-top-agents-host-fix * {
  box-sizing: border-box;
}

/* کارت‌های قدیمی داخل باکس پنهان شوند */
.qom-hide-old-agent-card {
  display: none !important;
}

/* اگر باکس نمایندگان ارتفاع ثابت دارد، آزادش کن تا همه ردیف‌ها جا شوند */
.qom-top-agents-host-fix,
.qom-top-agents-host-fix .panel,
.qom-top-agents-host-fix .box,
.qom-top-agents-host-fix .content,
.qom-top-agents-host-fix .section-inner {
  height: auto !important;
  min-height: 0 !important;
}
