/* Umrah Desk visual refresh based on the supplied enterprise workspace concept.
   Existing markup, form behavior, profile storage, and API flows remain unchanged. */
:root {
  color-scheme: dark;
  --muted: #a7b5c9;
  --muted2: #8292aa;
  --line: rgba(148, 163, 184, .15);
  --panel: #111c30;
  --panel2: #0b1527;
  --accent: #10b981;
  --mint: #62e0bd;
  --danger: #fb7185;
  --shadow: 0 14px 34px rgba(0, 0, 0, .24);
}

html { background: #080d19; }
body {
  color: #eff6ff;
  background-color: #080d19;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(16, 185, 129, .09), transparent 32%),
    radial-gradient(circle at 88% 4%, rgba(245, 158, 11, .045), transparent 28%),
    linear-gradient(rgba(148, 163, 184, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .025) 1px, transparent 1px),
    linear-gradient(155deg, #0b1426, #070d18 68%);
  background-size: auto, auto, 32px 32px, 32px 32px, auto;
}
.ambient { opacity: .05; }
.topbar {
  min-height: 66px;
  border-bottom-color: rgba(148, 163, 184, .16);
  background: rgba(8, 13, 26, .86);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .025);
}
.brand { gap: 12px; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  color: #f0fdf4;
  background: linear-gradient(145deg, #10b981, #0f766e 68%, #12243a);
  border: 1px solid rgba(110, 231, 183, .34);
  box-shadow: 0 7px 22px rgba(16, 185, 129, .2), inset 0 1px rgba(255, 255, 255, .16);
}
.brand b { font-size: 14px; color: #f8fafc; }
.brand small { color: #9aacc2; }
.account {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(17, 28, 48, .76);
  color: #d3deec;
}
.shell { max-width: 1640px; padding-top: clamp(30px, 4vw, 52px); }
.welcome { margin-bottom: 23px; }
.eyebrow { color: #54d6ad; letter-spacing: .16em; }
.welcome h1 {
  color: #f8fafc;
  font-size: clamp(30px, 3vw, 40px);
  letter-spacing: -.045em;
}
.welcome p { color: #a7b5c9; }
.privacy-note {
  max-width: none;
  border-color: rgba(16, 185, 129, .18);
  border-radius: 13px;
  background: linear-gradient(100deg, rgba(16, 185, 129, .08), rgba(17, 28, 48, .54));
  color: #c8d8e7;
}
.panel {
  border-color: rgba(148, 163, 184, .15);
  border-radius: 19px;
  background: linear-gradient(180deg, rgba(18, 29, 49, .96), rgba(11, 20, 36, .98));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .035);
  backdrop-filter: blur(18px);
}
.section-head { margin-bottom: 17px; }
.section-head h2 { color: #f1f5f9; font-size: 17px; }
.step, .field label { color: #a9b8cc; }
.dropzone {
  border-color: rgba(16, 185, 129, .34);
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(16, 185, 129, .1), transparent 72%),
    rgba(5, 13, 25, .35);
}
.dropzone:hover, .dropzone.dragover {
  border-color: #34d399;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(16, 185, 129, .18), transparent 72%),
    rgba(5, 13, 25, .48);
}
.upload-icon { color: #62e0bd; }
.dropzone small { max-width: 34rem; line-height: 1.6; }
.primary {
  color: #042c22;
  background: linear-gradient(110deg, #34d399, #10b981 58%, #0f9b83);
  box-shadow: 0 8px 22px rgba(16, 185, 129, .18);
}
.secondary {
  color: #b8f5df;
  border-color: rgba(52, 211, 153, .26);
  background: rgba(16, 185, 129, .09);
}
.quiet { border-radius: 10px; }
.auth-card .primary, .scan-card > .primary { color: #042c22; }
.auth-card input, .api-key-label input, .field input, .field select, .search {
  color: #edf5ff;
  border-color: rgba(148, 163, 184, .19);
  border-radius: 10px;
  background: #091426;
}
.auth-card input:focus, .field input:focus, .field select:focus, .search:focus {
  border-color: #34d399;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .14);
  background: #0a192b;
}
.form-section {
  border-color: rgba(148, 163, 184, .13);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
}
.form-section h3 { color: #72dfbd; }
.profile-row { border-radius: 12px; }
.profile-row:hover { border-color: rgba(52, 211, 153, .35); }
.profile-row.selected {
  border-color: rgba(52, 211, 153, .65);
  background: linear-gradient(110deg, rgba(16, 185, 129, .14), rgba(20, 184, 166, .055));
}
.count {
  color: #b8f5df;
  background: rgba(16, 185, 129, .13);
  border: 1px solid rgba(52, 211, 153, .18);
}
.file-chip {
  color: #a7f3d0;
  background: rgba(16, 185, 129, .1);
  border-color: rgba(52, 211, 153, .2);
}
.file-edit:focus-within { border-color: rgba(52, 211, 153, .42); background: rgba(16, 185, 129, .04); }
.attachment-view {
  border-color: rgba(52, 211, 153, .24);
  color: #b8f5df;
  background: rgba(16, 185, 129, .1);
}
.attachment-view:hover { border-color: rgba(52, 211, 153, .55); background: rgba(16, 185, 129, .17); }
.attachment-dialog {
  border-color: rgba(148, 163, 184, .2);
  background: linear-gradient(145deg, #17243a, #0b1527);
}
footer { color: #8798b0; }

@media (max-width: 680px) {
  .topbar { min-height: 60px; }
  .account { padding-inline: 10px; border-radius: 10px; }
  .panel { box-shadow: 0 9px 24px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .035); }
}
