/* AfriTrade — sleek glass UI */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-deep: #0a1210;
  --bg-mid: #12201b;
  --green: #1b5e20;
  --green-bright: #2e7d32;
  --gold: #c88415;
  --gold-soft: #e0a83a;
  --cream: #f4efe6;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.18);
  --text: #f4efe6;
  --text-muted: rgba(244, 239, 230, 0.62);
  --danger: #e57373;
  --success: #81c784;
  --warning: #ffb74d;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font: 'Outfit', system-ui, sans-serif;
  --display: 'Cormorant Garamond', Georgia, serif;
  --sidebar: 260px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.auth-body,
body.landing-body {
  background:
    radial-gradient(ellipse 80% 60% at 10% 10%, rgba(46, 125, 50, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(200, 132, 21, 0.22), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(18, 40, 32, 0.9), transparent),
    var(--bg-deep);
  background-attachment: fixed;
}

a { color: var(--gold-soft); text-decoration: none; transition: color 0.2s; }
a:hover { color: #ffd27a; }

img { max-width: 100%; display: block; }

/* ——— Landing ——— */
.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5%;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green-bright), var(--gold));
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.4);
}

.nav-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 5% 5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.hero-copy h1 span {
  background: linear-gradient(90deg, var(--gold-soft), #ffe0a0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 34rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-panel {
  position: relative;
  min-height: 360px;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-float {
  padding: 1.75rem;
  position: absolute;
  width: 85%;
  animation: float 7s ease-in-out infinite;
}

.hero-float:nth-child(1) { top: 8%; left: 0; z-index: 2; }
.hero-float:nth-child(2) {
  bottom: 6%;
  right: 0;
  width: 72%;
  animation-delay: -3s;
  z-index: 1;
  opacity: 0.95;
}

.hero-float .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
  margin-bottom: 0.5rem;
}

.hero-float .title { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.35rem; }
.hero-float .meta { color: var(--text-muted); font-size: 0.88rem; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.landing-footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--glass-border);
}

/* ——— Landing sections ——— */
.landing-section {
  padding: 5rem 5%;
  position: relative;
}

.landing-section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%, rgba(255, 255, 255, 0.02));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.75rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.02rem;
  font-weight: 300;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step-card {
  padding: 1.75rem 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 132, 21, 0.4);
}

.step-num {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--gold-soft);
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
}

.step-card h3,
.role-card h3,
.trust-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.step-card p,
.role-card p,
.trust-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.6;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.role-card {
  padding: 1.75rem 1.6rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.role-card:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 125, 50, 0.45);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  text-align: center;
  padding: 0.5rem;
}

.trust-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.45), rgba(200, 132, 21, 0.35));
  border: 1px solid var(--glass-border);
  color: var(--cream);
}

.commodity-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.commodity-chip {
  padding: 0.85rem 1.4rem;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.commodity-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 132, 21, 0.5);
}

.landing-cta {
  padding: 2rem 5% 5rem;
}

.cta-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(145deg, rgba(46, 125, 50, 0.22), rgba(200, 132, 21, 0.12));
}

.cta-card h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.cta-card p {
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 1.75rem;
  font-weight: 300;
}

.landing-footer-rich {
  text-align: left;
  padding: 3rem 5% 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto 2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand {
  margin-bottom: 0.85rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: flex-start;
  padding-top: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-copy {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 560;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, opacity 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-primary {
  background: linear-gradient(135deg, var(--green-bright), #1b5e20);
  color: #fff;
  box-shadow: 0 10px 28px rgba(46, 125, 50, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 36px rgba(46, 125, 50, 0.5); color: #fff; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #a66a0e);
  color: #1a1205;
  box-shadow: 0 10px 28px rgba(200, 132, 21, 0.35);
}
.btn-gold:hover { color: #1a1205; }

.btn-ghost {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--cream);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--glass-strong); color: #fff; }

.btn-block { width: 100%; }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* ——— Auth pages ——— */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 2.25rem 2rem;
}

.auth-card .brand { justify-content: center; margin-bottom: 1.75rem; }

.auth-card h1 {
  font-family: var(--display);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.35rem;
}

.auth-card .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: rgba(200, 132, 21, 0.65);
  box-shadow: 0 0 0 3px rgba(200, 132, 21, 0.18);
}

.form-control::placeholder { color: rgba(244, 239, 230, 0.35); }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c88415' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.35rem; }

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.alert-error {
  background: rgba(229, 115, 115, 0.12);
  border-color: rgba(229, 115, 115, 0.35);
  color: #ffcdd2;
}

.alert-success {
  background: rgba(129, 199, 132, 0.12);
  border-color: rgba(129, 199, 132, 0.35);
  color: #c8e6c9;
}

.alert-warn {
  background: rgba(255, 183, 77, 0.12);
  border-color: rgba(255, 183, 77, 0.35);
  color: #ffe0b2;
}

/* ——— Dashboard shell ——— */
.app-body {
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(46, 125, 50, 0.2), transparent 50%),
    radial-gradient(ellipse 50% 35% at 100% 100%, rgba(200, 132, 21, 0.12), transparent 45%),
    var(--bg-deep);
  min-height: 100vh;
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar);
  flex-shrink: 0;
  background: rgba(8, 14, 12, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0.9rem;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 40;
  transition: transform 0.3s ease;
}

.sidebar-brand {
  padding: 0.5rem 0.75rem 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 1rem;
}

.sidebar-brand .brand { font-size: 1.45rem; }

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 450;
  transition: background 0.2s, color 0.2s;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
}

.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.8; }

.nav-item:hover:not(.coming-soon):not(.active) {
  background: var(--glass);
  color: var(--cream);
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.45), rgba(200, 132, 21, 0.2));
  color: #fff;
  border: 1px solid rgba(200, 132, 21, 0.25);
}

.nav-item.coming-soon {
  opacity: 0.45;
  cursor: not-allowed;
  position: relative;
}

.nav-item .soon-tag {
  margin-left: auto;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.sidebar-foot {
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

.main {
  flex: 1;
  margin-left: var(--sidebar);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.75rem;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(10, 18, 16, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.menu-toggle {
  display: none;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--cream);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.search-aesthetic {
  flex: 1;
  max-width: 420px;
  position: relative;
}

.search-aesthetic input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
}

.search-aesthetic input:focus {
  border-color: rgba(200, 132, 21, 0.5);
}

.search-aesthetic .icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
  pointer-events: none;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-bright), var(--gold));
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}

.topbar-user .meta { text-align: right; }
.topbar-user .name { font-size: 0.88rem; font-weight: 560; }
.topbar-user .role { font-size: 0.72rem; color: var(--text-muted); text-transform: capitalize; }

.content {
  padding: 1.75rem;
  flex: 1;
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.page-head h1 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
}

.page-head p { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.25rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 560;
  letter-spacing: 0.02em;
}

.badge-pending {
  background: rgba(255, 183, 77, 0.15);
  color: var(--warning);
  border: 1px solid rgba(255, 183, 77, 0.35);
}

.badge-none {
  background: rgba(229, 115, 115, 0.12);
  color: var(--danger);
  border: 1px solid rgba(229, 115, 115, 0.3);
}

.grid-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  padding: 1.35rem 1.4rem;
}

.stat-card .stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.stat-card .stat-value {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 600;
}

.stat-card .stat-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.3rem; }

.panel {
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.panel h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.panel .panel-sub {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.table-wrap { overflow-x: auto; }

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

table.data th {
  text-align: left;
  padding: 0.75rem 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--glass-border);
}

table.data td {
  padding: 0.9rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

table.data tr:last-child td { border-bottom: none; }

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
}

.doc-name-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.doc-thumb-link {
  flex-shrink: 0;
}

.doc-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.3);
}

.doc-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.profile-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.profile-avatar-lg {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--green-bright), var(--gold));
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  font-weight: 600;
  font-family: var(--display);
}

.profile-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-block {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--glass-border);
}

.field-block .flabel {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.field-block .fval { font-weight: 500; }

/* ——— KYC Modal (compulsory) ——— */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 6, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  padding: 2rem 1.75rem;
  position: relative;
}

.modal-card h2 {
  font-family: var(--display);
  font-size: 1.85rem;
  margin-bottom: 0.4rem;
}

.modal-card .lead {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.upload-zone {
  border: 1.5px dashed rgba(200, 132, 21, 0.45);
  border-radius: 14px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 1.25rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--gold);
  background: rgba(200, 132, 21, 0.08);
}

.upload-zone strong { display: block; margin-bottom: 0.3rem; }
.upload-zone span { font-size: 0.82rem; color: var(--text-muted); }

.file-list {
  list-style: none;
  margin-bottom: 1.25rem;
}

.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 35;
}

.sidebar-overlay.open { display: block; }

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2rem; }
  .hero-panel { min-height: 280px; max-width: 420px; margin: 0 auto; width: 100%; }
  .grid-stats { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .profile-fields { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.25rem; }
  .landing-section { padding: 3.5rem 5%; }
  .cta-card { padding: 2.25rem 1.5rem; }
}

@media (max-width: 800px) {
  .menu-toggle { display: inline-flex; }
  .sidebar { transform: translateX(-105%); }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; }
  .topbar-user .meta { display: none; }
  .content { padding: 1.25rem; }
  .search-aesthetic { max-width: none; }
}

@media (max-width: 480px) {
  .auth-card { padding: 1.75rem 1.25rem; }
  .landing-nav { padding: 1rem 4%; }
  .hero-copy h1 { font-size: 2.3rem; }
  .page-head h1 { font-size: 1.65rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
