:root {
  --wdc-bg: #f4f6fb;
  --wdc-surface: #ffffff;
  --wdc-surface-2: #f8fafc;
  --wdc-primary: #2563eb;
  --wdc-primary-hover: #1e4ed8;
  --wdc-accent: #f43f5e;
  --wdc-accent-soft: #ffe4e6;
  --wdc-text: #1f2937;
  --wdc-muted: #6b7280;
  --wdc-border: #e5e7eb;
  --wdc-success: #10b981;
  --wdc-success-bg: #ecfdf5;
  --wdc-warning: #f59e0b;
  --wdc-warning-bg: #fff7ed;
  --wdc-danger: #b91c1c;
  --wdc-danger-bg: #fef2f2;
  --wdc-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --wdc-shadow-soft: 0 4px 14px rgba(15, 23, 42, 0.05);
  --wdc-radius-lg: 24px;
  --wdc-radius-md: 18px;
  --wdc-radius-sm: 14px;
  --wdc-wrap: 1240px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(244, 63, 94, 0.08), transparent 22%),
    var(--wdc-bg);
  color: var(--wdc-text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 32px), var(--wdc-wrap));
  margin: 0 auto;
}

.wdc-main .content,
.wdc-main .container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}
.content {
  padding: 4px 0 64px;
}

.section {
  margin-top: 28px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.section-header h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-header p {
  margin: 6px 0 0;
  color: var(--wdc-muted);
  font-size: 0.96rem;
}

.link-pill {
  color: var(--wdc-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ===== Topbar ===== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(244, 246, 251, 0.82);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.12rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--wdc-primary), #4f46e5 60%, var(--wdc-accent));
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--wdc-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav a.active,
.nav a:hover {
  color: var(--wdc-primary);
  background: rgba(37, 99, 235, 0.08);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn,
.profile-chip {
  border: 1px solid var(--wdc-border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--wdc-shadow-soft);
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}

.profile-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c7d2fe, #bfdbfe);
  display: grid;
  place-items: center;
  color: #1e3a8a;
  font-weight: 800;
  flex: 0 0 auto;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: #fff;
  color: var(--wdc-primary);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.14);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-card-primary,
.btn-card-secondary {
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  border: 1px solid var(--wdc-border);
}

.btn-card-primary {
  background: var(--wdc-primary);
  border-color: var(--wdc-primary);
  color: #fff;
}

.btn-card-secondary {
  padding: 0 14px;
  background: var(--wdc-surface-2);
  color: var(--wdc-text);
}

/* ===== Dashboard ===== */

.hero {
  padding: 36px 0 22px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37,99,235,0.96), rgba(79,70,229,0.92) 58%, rgba(244,63,94,0.90));
  border-radius: 32px;
  color: #fff;
  padding: 34px;
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.22);
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  pointer-events: none;
}

.hero-card::before {
  width: 300px;
  height: 300px;
  top: -140px;
  right: -70px;
}

.hero-card::after {
  width: 180px;
  height: 180px;
  bottom: -90px;
  left: 42%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.hero p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 56ch;
  color: rgba(255,255,255,0.88);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.hero-side {
  display: grid;
  gap: 14px;
}

.mini-stat {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 18px;
  backdrop-filter: blur(8px);
}

.mini-stat .label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 6px;
  font-weight: 600;
}

.mini-stat .value {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.dash-card,
.profile-card,
.panel,
.filters {
  background: var(--wdc-surface);
  border: 1px solid var(--wdc-border);
  border-radius: var(--wdc-radius-md);
  box-shadow: var(--wdc-shadow-soft);
}

.dash-card {
  padding: 20px;
  transition: 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.dash-card:hover,
.profile-card:hover,
.panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--wdc-shadow);
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.dash-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: var(--wdc-surface-2);
}

.dash-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  background: var(--wdc-accent);
}

.dash-badge.blue {
  background: var(--wdc-primary);
}

.dash-badge.green {
  background: var(--wdc-success);
}

.dash-badge.orange {
  background: var(--wdc-warning);
}

.dash-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.dash-card p {
  margin: 0;
  color: var(--wdc-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ===== Generic layout ===== */

.main-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.95fr);
  gap: 22px;
  align-items: start;
}

.panel {
  padding: 20px;
}

.panel h3 {
  margin: 0 0 14px;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-box {
  padding: 14px;
  border-radius: 16px;
  background: var(--wdc-surface-2);
  border: 1px solid var(--wdc-border);
}

.stat-box .num {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.stat-box .txt {
  color: var(--wdc-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-note {
  margin-top: 20px;
  color: var(--wdc-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.dash-card-copy {
  margin: 0;
  color: var(--wdc-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ===== Filters / search ===== */

.filters {
  padding: 18px;
  position: sticky;
  top: 96px;
}

.filters-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.filters-title h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.reset-link {
  color: var(--wdc-primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.filter-group {
  margin-top: 16px;
}

.filter-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--wdc-text);
}

.input,
.select {
  width: 100%;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--wdc-border);
  background: var(--wdc-surface-2);
  padding: 0 14px;
  color: var(--wdc-text);
  font: inherit;
}

.range-row,
.wdc-filter-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--wdc-surface-2);
  border: 1px solid var(--wdc-border);
  color: var(--wdc-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.chip.active {
  background: rgba(37, 99, 235, 0.10);
  border-color: rgba(37, 99, 235, 0.14);
  color: var(--wdc-primary);
}

.profiles-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.results-meta {
  color: var(--wdc-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.sort-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--wdc-surface);
  border: 1px solid var(--wdc-border);
  color: var(--wdc-text);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--wdc-shadow-soft);
}

.wdc-search-layout {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.wdc-filter-form {
  display: grid;
  gap: 16px;
}

.wdc-filter-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.wdc-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--wdc-surface-2);
  border: 1px solid var(--wdc-border);
  color: var(--wdc-text);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.wdc-city-wrap {
  position: relative;
}

.wdc-city-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--wdc-border);
  border-radius: 14px;
  margin-top: 6px;
  max-height: 220px;
  overflow: auto;
  box-shadow: var(--wdc-shadow);
  z-index: 50;
}

.wdc-city-item {
  padding: 10px 12px;
  cursor: pointer;
  border-top: 1px solid #f1f5f9;
  font-size: 0.92rem;
}

.wdc-city-item:first-child {
  border-top: none;
}

.wdc-city-item:hover {
  background: var(--wdc-surface-2);
}

.wdc-help {
  display: block;
  color: var(--wdc-muted);
  margin-top: 6px;
  font-size: 0.82rem;
}

.wdc-results-header {
  margin-bottom: 16px;
}

.wdc-pagination {
  margin: 22px 0 0;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.wdc-page-link,
.wdc-page-current,
.wdc-page-disabled,
.wdc-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
}

.wdc-page-link {
  text-decoration: none;
  color: var(--wdc-text);
  background: var(--wdc-surface);
  border: 1px solid var(--wdc-border);
  box-shadow: var(--wdc-shadow-soft);
}

.wdc-page-current {
  color: #fff;
  background: var(--wdc-primary);
  border: 1px solid var(--wdc-primary);
}

.wdc-page-disabled {
  color: #9ca3af;
  background: var(--wdc-surface-2);
  border: 1px solid var(--wdc-border);
}

.wdc-page-ellipsis {
  color: var(--wdc-muted);
}
/* ==== Ads ==== */
.wdc-ad-slot{
    width:100%;
}

.wdc-ad-caption{
    padding:12px 14px;
    font-size:14px;
    font-weight:700;
    color:#162033;
}

.wdc-ad-placeholder{
    border:1px dashed #cbd5e1;
    background:#f8fafc;
    border-radius:18px;
    padding:18px;
    text-align:center;
}

.wdc-ad-label{
    font-size:11px;
    font-weight:800;
    color:#64748b;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:8px;
}

.wdc-ad-empty{
    font-size:14px;
    color:#6b7280;
}

.wdc-ad-slot.header_banner{
    margin:18px 0;
}

.wdc-ad-slot.after_hero{
    margin:0 0 20px;
}

.wdc-ad-slot.sidebar_box{
    margin-top:18px;
}

.wdc-ad-slot.footer_banner{
    margin-top:24px;
}
.wdc-page-ad-wrap{
    max-width:1180px;
    margin:18px auto 0;
    padding:0 16px;
}

/* ===== Profile cards ===== */

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.profile-card {
  overflow: hidden;
  transition: 0.2s ease;
}

.profile-media {
  position: relative;
  height: 250px;
  background: linear-gradient(135deg, #dbeafe, #e0e7ff 55%, #ffe4e6);
  overflow: hidden;
}

.profile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.36), transparent 40%);
}

.profile-flag,
.profile-status,
.profile-like {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.profile-flag {
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.88);
  color: var(--wdc-text);
}

.profile-status {
  right: 14px;
  top: 14px;
  padding: 8px 12px;
  background: rgba(16,185,129,0.14);
  color: #065f46;
  border: 1px solid rgba(16,185,129,0.14);
}

.profile-like {
  right: 14px;
  bottom: 14px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.92);
  color: var(--wdc-accent);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.profile-silhouette {
  position: absolute;
  inset: auto 50% 0 auto;
  width: 210px;
  height: 250px;
  transform: translateX(50%);
  opacity: 0.88;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,255,255,0.95) 0 26px, transparent 28px),
    linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(255,255,255,0.86));
  clip-path: path('M105 55 C74 55 50 80 50 110 L50 130 C50 140 44 149 34 154 C18 162 8 177 8 195 L8 250 L202 250 L202 195 C202 177 192 162 176 154 C166 149 160 140 160 130 L160 110 C160 80 136 55 105 55 Z');
  filter: drop-shadow(0 22px 24px rgba(30,41,59,0.10));
}

.profile-body {
  padding: 18px;
}

.profile-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 10px;
}

.profile-head h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.profile-age {
  color: var(--wdc-muted);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.meta-pill {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--wdc-surface-2);
  color: var(--wdc-muted);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--wdc-border);
}

.profile-bio {
  margin: 0;
  color: var(--wdc-muted);
  font-size: 0.93rem;
  line-height: 1.65;
  min-height: 72px;
}

.profile-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 16px;
}

/* ===== Auth ===== */

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(244, 63, 94, 0.08), transparent 22%),
    var(--wdc-bg);
}

.auth-shell {
  width: min(100%, 1080px);
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 460px);
  background: var(--wdc-surface);
  border: 1px solid var(--wdc-border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.auth-hero {
  position: relative;
  padding: 42px;
  color: #fff;
  background: linear-gradient(135deg, rgba(37,99,235,0.96), rgba(79,70,229,0.92) 58%, rgba(244,63,94,0.90));
  overflow: hidden;
}

.auth-hero::before,
.auth-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
}

.auth-hero::before {
  width: 260px;
  height: 260px;
  top: -120px;
  right: -70px;
}

.auth-hero::after {
  width: 180px;
  height: 180px;
  bottom: -70px;
  left: 18%;
}

.auth-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.08rem;
  margin-bottom: 28px;
}

.auth-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
}

.auth-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.auth-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.auth-hero p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
}

.auth-points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.auth-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
}

.auth-point-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.14);
  flex: 0 0 auto;
}

.auth-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--wdc-surface);
}

.auth-card h2 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.auth-card p {
  margin: 0 0 24px;
  color: var(--wdc-muted);
  line-height: 1.65;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--wdc-text);
}

.auth-field input,
.auth-field select,
.auth-field textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--wdc-border);
  background: var(--wdc-surface-2);
  padding: 0 14px;
  font: inherit;
  color: var(--wdc-text);
}

.auth-field textarea {
  min-height: 110px;
  padding: 12px 14px;
  resize: vertical;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
  outline: none;
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
  background: #fff;
}

.auth-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  background: var(--wdc-primary);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(37,99,235,0.18);
}

.auth-submit:hover {
  background: var(--wdc-primary-hover);
}

.auth-alt {
  margin-top: 18px;
  text-align: center;
  color: var(--wdc-muted);
  font-size: 0.92rem;
}

.auth-alt a {
  color: var(--wdc-primary);
  font-weight: 700;
  text-decoration: none;
}

.auth-alert,
.auth-success {
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 18px;
}

.auth-alert {
  background: var(--wdc-danger-bg);
  color: var(--wdc-danger);
  border: 1px solid #fecaca;
}

.auth-success {
  background: var(--wdc-success-bg);
  color: var(--wdc-success);
  border: 1px solid #bbf7d0;
}

.auth-small {
  color: var(--wdc-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: 6px;
}

/* ===== Shared page layouts ===== */

.wdc-simple-page {
  max-width: 1100px;
  margin: 0 auto;
}

.wdc-simple-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.wdc-simple-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wdc-empty {
  background: var(--wdc-surface);
  border: 1px solid var(--wdc-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--wdc-shadow-soft);
  color: var(--wdc-muted);
}

.wdc-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--wdc-shadow-soft);
  margin-bottom: 18px;
}

.wdc-alert {
  margin: 16px 0 0;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--wdc-shadow-soft);
}

.wdc-flash {
  background: var(--wdc-surface);
  border: 1px solid var(--wdc-border);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--wdc-shadow-soft);
  margin-bottom: 18px;
}

/* ===== Public profile ===== */

.wdc-profile-page {
  max-width: 980px;
  margin: 0 auto;
}

.wdc-profile-hero {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(37,99,235,0.96), rgba(79,70,229,0.92) 58%, rgba(244,63,94,0.90));
  color: #fff;
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.22);
  margin-bottom: 22px;
}

.wdc-profile-hero-inner {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.wdc-profile-media {
  min-height: 360px;
  position: relative;
  background:
    radial-gradient(circle at 50% 25%, rgba(255,255,255,0.18), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
}

.wdc-profile-silhouette {
  width: 220px;
  height: 280px;
  margin-bottom: 24px;
  opacity: 0.95;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.96) 0 30px, transparent 31px),
    linear-gradient(to bottom, rgba(255,255,255,0.96), rgba(255,255,255,0.88));
  clip-path: path('M110 60 C78 60 52 84 52 115 L52 136 C52 147 46 157 35 163 C18 172 8 188 8 207 L8 280 L212 280 L212 207 C212 188 202 172 185 163 C174 157 168 147 168 136 L168 115 C168 84 142 60 110 60 Z');
  filter: drop-shadow(0 20px 26px rgba(15, 23, 42, 0.16));
}

.wdc-profile-gallery {
  display: grid;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 10px;
}

.wdc-profile-gallery.one {
  grid-template-columns: 1fr;
}

.wdc-profile-gallery.two {
  grid-template-columns: 1fr 1fr;
}

.wdc-profile-gallery-item {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  min-height: 220px;
}

.wdc-profile-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wdc-profile-content {
  padding: 30px;
}

.wdc-profile-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  margin-bottom: 14px;
}

.wdc-profile-title {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.wdc-profile-title h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.wdc-profile-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  font-size: 0.92rem;
  font-weight: 800;
}

.wdc-profile-sub {
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0 0 16px;
}

.wdc-profile-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wdc-profile-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  font-size: 0.88rem;
  font-weight: 700;
}

.wdc-stack {
  display: grid;
  gap: 18px;
}

.wdc-panel {
  background: var(--wdc-surface);
  border: 1px solid var(--wdc-border);
  border-radius: 18px;
  box-shadow: var(--wdc-shadow-soft);
  padding: 22px;
}

.wdc-panel h3 {
  margin: 0 0 14px;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.wdc-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wdc-info-item {
  background: var(--wdc-surface-2);
  border: 1px solid var(--wdc-border);
  border-radius: 16px;
  padding: 14px;
}

.wdc-info-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--wdc-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.wdc-info-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--wdc-text);
}

.wdc-bio {
  color: var(--wdc-text);
  line-height: 1.75;
  font-size: 0.98rem;
  white-space: normal;
}

.wdc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.wdc-action-btn {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--wdc-border);
  background: var(--wdc-surface-2);
  color: var(--wdc-text);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.wdc-action-btn.primary {
  background: var(--wdc-primary);
  border-color: var(--wdc-primary);
  color: #fff;
}

.wdc-action-btn.danger {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.wdc-act-msg {
  color: var(--wdc-muted);
  font-size: 0.92rem;
  min-height: 22px;
}

.wdc-report-form {
  display: grid;
  gap: 14px;
  max-width: 620px;
}

.wdc-field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.wdc-field input,
.wdc-field select,
.wdc-field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--wdc-border);
  background: var(--wdc-surface-2);
  padding: 0 14px;
  font: inherit;
  color: var(--wdc-text);
}

.wdc-field input,
.wdc-field select {
  height: 46px;
}

.wdc-field textarea {
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.wdc-note {
  color: var(--wdc-muted);
  line-height: 1.6;
}

/* ===== Activity / misc ===== */

.activity-list {
  display: grid;
  gap: 12px;
}

.activity-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: var(--wdc-surface-2);
  border: 1px solid var(--wdc-border);
}

.activity-item .avatar {
  width: 42px;
  height: 42px;
}

.activity-copy strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.activity-copy span {
  color: var(--wdc-muted);
  font-size: 0.84rem;
}

.activity-tag {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  background: var(--wdc-accent-soft);
  color: var(--wdc-accent);
}

.activity-tag.match {
  background: #ede9fe;
  color: #6d28d9;
}

.activity-tag.message {
  background: var(--wdc-success-bg);
  color: #047857;
}

/* ===== Responsive ===== */

@media (max-width: 1100px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .main-grid {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }
}

@media (max-width: 980px) {
  .wdc-search-layout {
    grid-template-columns: 1fr;
  }

  .wdc-filter-row-2 {
    grid-template-columns: 1fr;
  }

  .wdc-simple-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-hero {
    padding: 30px 24px;
  }

  .auth-card {
    padding: 28px 22px;
  }
}

@media (max-width: 860px) {
  .wdc-profile-hero-inner {
    grid-template-columns: 1fr;
  }

  .wdc-profile-media {
    min-height: 260px;
  }

  .wdc-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
  }

  .hero-card {
    padding: 24px;
    border-radius: 24px;
  }

  .dashboard-grid,
  .profiles-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .profile-media {
    height: 230px;
  }
}

@media (max-width: 680px) {
  .wdc-simple-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .auth-row-2 {
    grid-template-columns: 1fr;
  }

  .auth-page {
    padding: 18px 12px;
  }
}
/* ===== Topbar polish ===== */

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  white-space: nowrap;
}

.nav .dash-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  font-size: 0.72rem;
  line-height: 1;
  box-shadow: none;
}

.nav a.active {
  color: var(--wdc-primary);
  background: rgba(37, 99, 235, 0.10);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.icon-btn,
.profile-chip,
.nav a {
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.icon-btn:hover,
.profile-chip:hover {
  transform: translateY(-1px);
  box-shadow: var(--wdc-shadow);
}

.icon-btn:hover {
  color: var(--wdc-primary);
  border-color: rgba(37, 99, 235, 0.18);
}

.profile-chip:hover {
  border-color: rgba(37, 99, 235, 0.18);
}

.topbar-actions a {
  text-decoration: none;
}

@media (max-width: 760px) {
  .nav {
    gap: 8px;
  }

  .nav a {
    padding: 9px 12px;
    font-size: 0.88rem;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
/* ===== TWO-COLUMN PAGE LAYOUT FOR ADS ===== */

.wdc-layout {
    width: min(calc(100% - 32px), 1240px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 24px;
    align-items: start;
}

.wdc-sidebar {
    width: 240px;
    min-width: 240px;
    max-width: 240px;
}

.wdc-sidebar-sticky {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 18px;
}

.wdc-sidebar-card {
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(219,227,240,.95);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
    padding: 18px;
}

.wdc-sidebar-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -.02em;
    color: #162033;
}

.wdc-sidebar-copy {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 980px) {
    .wdc-layout {
        grid-template-columns: 1fr;
    }

    .wdc-sidebar-sticky {
        position: static;
    }
}
/* ===== VERTICAL SIDEBAR AD ===== */

.wdc-sidebar-ad-wrap {
    width: 100%;
}

.wdc-ad-slot.sidebar-slot {
    margin: 0;
}

.wdc-ad-slot.sidebar-slot .wdc-ad-card,
.wdc-ad-slot.sidebar-slot .wdc-ad-body,
.wdc-ad-slot.sidebar-slot .wdc-ad-placeholder {
    min-height: 600px;
    height: 600px;
    border-radius: 20px;
}

.wdc-ad-slot.sidebar-slot .wdc-ad-body {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 18px;
}

.wdc-ad-slot.sidebar-slot .wdc-ad-body > * {
    width: 100%;
}
.wdc-ad-slot.sidebar-slot .wdc-ad-card {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.wdc-ad-slot.sidebar-slot .wdc-ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wdc-ad-slot.sidebar-slot .wdc-ad-caption {
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
}

.wdc-ad-slot.sidebar-slot .wdc-ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 18px;
    border: 2px dashed #cbd5e1;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.96));
}

.wdc-ad-slot.sidebar-slot .wdc-ad-placeholder-title {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 10px;
}

.wdc-ad-slot.sidebar-slot .wdc-ad-placeholder-copy {
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
    max-width: 16ch;
}

@media (max-width: 980px) {
    .wdc-ad-slot.sidebar-slot .wdc-ad-card,
    .wdc-ad-slot.sidebar-slot .wdc-ad-body,
    .wdc-ad-slot.sidebar-slot .wdc-ad-placeholder {
        min-height: 220px;
        height: auto;
    }
}
/* ===== GLOBAL TOPBAR ===== */

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: rgba(244, 246, 251, 0.82);
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
}

.topbar-inner {
    width: min(calc(100% - 32px), 1240px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 78px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.12rem;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #4f46e5 60%, #f43f5e);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 999px;
    transition: 0.2s ease;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.nav a.active,
.nav a:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.10);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn,
.profile-chip {
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    text-decoration: none;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
}

.profile-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px 8px 8px;
    border-radius: 999px;
    font-weight: 600;
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c7d2fe, #bfdbfe);
    display: grid;
    place-items: center;
    color: #1e3a8a;
    font-weight: 800;
}

.nav .dash-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    background: #f43f5e;
}

.nav .dash-badge.blue { background: #2563eb; }
.nav .dash-badge.green { background: #10b981; }
.nav .dash-badge.orange { background: #f59e0b; }

@media (max-width: 760px) {
    .topbar-inner {
        flex-wrap: wrap;
    }

    .nav {
        width: 100%;
    }
}
/* ===== TOP BANNER ROTATOR ===== */

.wdc-ad-rotator {
    position: relative;
    overflow: hidden;
    min-height: 160px;
}

.wdc-ad-rotator-item {
    display: none;
    animation: wdcAdFadeIn .45s ease;
}

.wdc-ad-rotator-item.is-active {
    display: block;
}

@keyframes wdcAdFadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* optional: make top banner more banner-like */
.wdc-ad-slot.home-top .wdc-ad-card,
.wdc-ad-slot.home_top .wdc-ad-card,
.wdc-ad-slot.header_banner .wdc-ad-card,
.wdc-ad-slot.home-top .wdc-ad-body,
.wdc-ad-slot.home_top .wdc-ad-body,
.wdc-ad-slot.header_banner .wdc-ad-body,
.wdc-ad-slot.home-top .wdc-ad-placeholder,
.wdc-ad-slot.home_top .wdc-ad-placeholder,
.wdc-ad-slot.header_banner .wdc-ad-placeholder {
    min-height: 160px;
    border-radius: 20px;
    overflow: hidden;
}

.wdc-ad-slot.home-top .wdc-ad-image,
.wdc-ad-slot.home_top .wdc-ad-image,
.wdc-ad-slot.header_banner .wdc-ad-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.wdc-ad-slot.home-top .wdc-ad-body,
.wdc-ad-slot.home_top .wdc-ad-body,
.wdc-ad-slot.header_banner .wdc-ad-body {
    min-height: 160px;
}

@media (max-width: 760px) {
    .wdc-ad-rotator {
        min-height: 120px;
    }

    .wdc-ad-slot.home-top .wdc-ad-card,
    .wdc-ad-slot.home_top .wdc-ad-card,
    .wdc-ad-slot.header_banner .wdc-ad-card,
    .wdc-ad-slot.home-top .wdc-ad-body,
    .wdc-ad-slot.home_top .wdc-ad-body,
    .wdc-ad-slot.header_banner .wdc-ad-body,
    .wdc-ad-slot.home-top .wdc-ad-placeholder,
    .wdc-ad-slot.home_top .wdc-ad-placeholder,
    .wdc-ad-slot.header_banner .wdc-ad-placeholder {
        min-height: 120px;
    }

    .wdc-ad-slot.home-top .wdc-ad-image,
    .wdc-ad-slot.home_top .wdc-ad-image,
    .wdc-ad-slot.header_banner .wdc-ad-image {
        height: 120px;
    }
}