﻿.account-topbar {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dashboard-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 60px;
  display: grid;
  gap: 20px;
}

.account-topbar .top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.menu-toggle-btn {
  min-width: 54px;
}

.profile-hero-grid {
  margin-bottom: 24px;
}

.profile-avatar-circle {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.15);
}

.avatar-uploader {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.avatar-choice-grid {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.avatar-choice {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  overflow: hidden;
}

.avatar-choice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-pill {
  position: relative;
  overflow: hidden;
}

.document-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.document-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.document-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.listing-card {
  display: block;
  padding: 0;
  overflow: hidden;
}

.listing-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.listing-card-body {
  padding: 16px;
}

.inline-home-form {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  margin: 10px auto 18px;
}

.inline-home-form input {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(203, 213, 225, 0.7);
  background: rgba(255, 255, 255, 0.7);
  font: inherit;
}

.center-panel {
  text-align: center;
}

.illustration-badge {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 8px;
}

.settings-grid {
  display: grid;
  gap: 14px;
}

.settings-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(86, 95, 114, 0.9), rgba(61, 70, 88, 0.84));
  border: 1px solid rgba(210, 220, 236, 0.2);
  box-shadow: 0 20px 48px rgba(10, 16, 32, 0.18);
  color: inherit;
  text-decoration: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.settings-card p {
  margin-bottom: 0;
}

.settings-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 56px rgba(10, 16, 32, 0.24);
  border-color: rgba(226, 234, 248, 0.28);
}

.tab-strip {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.tab-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.46);
}

.tab-pill.active {
  background: rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
}

.top-profile-menu {
  position: relative;
}

.profile-trigger {
  justify-content: flex-start;
}

.profile-trigger small {
  color: #64748b;
}

.top-profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: min(300px, 80vw);
  display: none;
  gap: 10px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
  z-index: 1300;
}

.top-profile-dropdown.open {
  display: grid;
}

.inline-chip {
  width: 100%;
}

.account-side-menu {
  position: fixed;
  top: 0;
  left: -320px;
  right: auto;
  width: 320px;
  height: 100vh;
  padding: 22px;
  background: rgba(255, 255, 255, 0.48);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.18);
  transition: left 0.28s ease;
  z-index: 1400;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.8) transparent;
}

.account-side-menu.open {
  left: 0;
}

.account-side-menu nav {
  display: grid;
  gap: 8px;
  padding-bottom: 18px;
}

.account-side-menu nav > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 16px;
  border-radius: 18px;
  color: #0f172a;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(16px);
}

.account-side-menu nav > a:hover {
  background: rgba(255, 255, 255, 0.42);
}

.account-side-menu::-webkit-scrollbar {
  width: 10px;
}

.account-side-menu::-webkit-scrollbar-track {
  background: transparent;
}

.account-side-menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.72);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.close-btn {
  border: none;
  background: none;
  color: #0f172a;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 12px;
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(4px);
  z-index: 1300;
}

.overlay.show {
  display: block;
}

@media (max-width: 720px) {
  .inline-home-form {
    grid-template-columns: 1fr;
  }

  .account-topbar {
    justify-content: center;
  }
}

.auth-wide-panel,
.profile-full-shell,
.settings-shell {
  padding: 30px;
}

.verification-panel,
.account-block {
  margin-top: 18px;
  padding: 24px 26px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(87, 96, 115, 0.88), rgba(63, 72, 90, 0.82));
  border: 1px solid rgba(210, 220, 236, 0.2);
  box-shadow: 0 20px 48px rgba(10, 16, 32, 0.18);
}

.profile-panel,
.auth-wide-panel,
.profile-full-shell,
.settings-shell {
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(87, 96, 115, 0.9), rgba(60, 69, 87, 0.84));
  border: 1px solid rgba(210, 220, 236, 0.2);
  box-shadow: 0 24px 60px rgba(10, 16, 32, 0.2);
}

.profile-panel h1,
.settings-shell h2,
.settings-shell h3,
.account-block h2,
.account-block h3,
.verification-panel h2,
.verification-panel h3,
.settings-card strong {
  color: #f8fbff;
}

.profile-panel p,
.account-block p,
.verification-panel p,
.settings-card p,
.panel-muted,
.notify-links,
.settings-detail-item,
.doc-pref-card,
.notify-summary-card,
.notify-toggle-card {
  color: rgba(232, 239, 251, 0.82);
}

.section-head,
.account-row-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.verification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-weight: 700;
}

.verification-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.verification-upload-single {
  grid-template-columns: 1fr;
}

.verify-upload-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.52);
  cursor: pointer;
}

.verify-upload-card.filled {
  background: rgba(220, 252, 231, 0.5);
}

.upload-filename {
  font-weight: 700;
  color: #1e293b;
}

.profile-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 20px;
}

.profile-main-column,
.profile-side-column,
.verification-stack {
  display: grid;
  gap: 18px;
}

.profile-headline-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}

.profile-headline-body {
  display: grid;
  gap: 14px;
}

.profile-inline-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(16, 24, 39, 0.22);
  border: 1px solid rgba(220, 229, 242, 0.12);
}

.settings-overview-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.settings-card-button {
  width: 100%;
  border: none;
  cursor: pointer;
  text-align: inherit;
}

.settings-card-button.active {
  border-color: rgba(226, 234, 248, 0.32);
  box-shadow: 0 26px 56px rgba(10, 16, 32, 0.24);
}

.settings-arrow {
  font-size: 2rem;
  line-height: 1;
  color: #f2f6ff;
  transition: transform 0.24s ease;
}

.settings-card-button.active .settings-arrow {
  transform: rotate(90deg);
}

.account-block.account-accordion {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  box-shadow: none;
  transition:
    max-height 0.34s ease,
    opacity 0.28s ease,
    transform 0.28s ease,
    margin-top 0.28s ease,
    padding-top 0.28s ease,
    padding-bottom 0.28s ease,
    border-width 0.28s ease;
}

.account-block.account-accordion.open {
  max-height: 1400px;
  opacity: 1;
  overflow: hidden;
  transform: translateY(0);
  margin-top: 18px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-width: 1px;
}

.settings-detail-grid,
.doc-preferences-grid,
.notify-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.settings-detail-item,
.doc-pref-card,
.notify-summary-card,
.notify-toggle-card,
.notify-links {
  padding: 18px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(220, 229, 242, 0.14);
}

.notify-side,
.notify-main {
  display: grid;
  gap: 14px;
}

.inline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.upload-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(226, 234, 248, 0.18);
  color: #f8fbff;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.upload-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 28px rgba(10, 16, 32, 0.16);
}

#settingsDocumentsList {
  margin-top: 16px;
}

#settingsDocumentsStatus {
  margin-top: 12px;
}

.notify-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.notify-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
}

.manage-account-block {
  display: grid;
  gap: 14px;
}

.manage-account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.manage-account-row:first-child {
  border-top: none;
  padding-top: 0;
}

.muted-link {
  background: rgba(239, 245, 255, 0.12);
  color: #f8fbff;
}

@media (max-width: 980px) {
  .profile-main-grid,
  .profile-headline-card,
  .verification-upload-grid,
  .settings-detail-grid,
  .doc-preferences-grid,
  .notify-grid {
    grid-template-columns: 1fr;
  }
}

.live-dashboard {
  display: grid;
  gap: 20px;
}

.live-hero-card,
.live-panel,
.timeline-card,
.match-card {
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(88, 98, 118, 0.92), rgba(59, 68, 86, 0.88));
  border: 1px solid rgba(210, 220, 236, 0.2);
  box-shadow: 0 20px 48px rgba(10, 16, 32, 0.18);
}

.live-hero-card,
.live-panel {
  padding: 24px 26px;
}

.live-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
}

.live-hero-card h2,
.live-panel h3,
.timeline-card h4,
.match-card h4 {
  margin-top: 0;
}

.live-meta-grid,
.match-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.live-metric {
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.live-metric strong {
  display: block;
  font-size: 1.8rem;
  margin-top: 10px;
}

.dashboard-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.stack-feed {
  display: grid;
  gap: 12px;
}

.feed-card,
.timeline-step {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.feed-card p,
.timeline-step p,
.live-panel p,
.match-card p,
.soft-copy {
  color: rgba(226, 232, 240, 0.82);
}

.tiny-pills,
.hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.tiny-pills span,
.hero-pills span {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.84rem;
}

.match-grid {
  margin-top: 14px;
}

.match-card {
  padding: 18px;
}

.match-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 12px;
}

.score-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 72px;
  border-radius: 50%;
  font-weight: 700;
  background: radial-gradient(circle at top, rgba(250, 204, 21, 0.4), rgba(34, 197, 94, 0.14));
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.timeline-card {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.timeline-step.done {
  border-color: rgba(134, 239, 172, 0.22);
  background: rgba(34, 197, 94, 0.08);
}

.vault-list {
  display: grid;
  gap: 10px;
}

.vault-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-tone {
  color: #fde68a;
}

.status-good {
  color: #86efac;
}

.status-risk {
  color: #fdba74;
}

@media (max-width: 960px) {
  .live-hero-card,
  .dashboard-grid-2,
  .live-meta-grid,
  .match-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
}




