/* Simple member portal: hide sidebar, top-right logout only */
body.no-sidebar .sidebar,
body.no-sidebar .sidebar-backdrop {
  display: none !important;
}
body.no-sidebar .portal {
  display: block;
}
body.no-sidebar .portal-main {
  margin-left: 0;
}
body.no-sidebar .topbar-left {
  display: none;
}

.member-topbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid var(--border, #eceef2);
  position: sticky;
  top: 0;
  z-index: 20;
}
.member-topbar .mt-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.member-topbar .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--maroon, #6d0f1a), var(--red, #a3161f));
  color: #fff;
  font-weight: 800;
}

.member-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.member-status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gold-soft, #f7edd0);
  border: 1px solid #e8d29a;
  color: #7a5c00;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-weight: 600;
}
.member-status-banner i {
  font-size: 20px;
}
.member-status-banner.warn {
  background: #fdeeee;
  border-color: #f0c2c4;
  color: var(--red, #a3161f);
}
.member-status-banner.ok {
  background: #eef6ee;
  border-color: #c3e0c3;
  color: #1c7a43;
}

.member-payment {
  margin-top: 26px;
}
.member-payment .card {
  border-radius: 16px;
}

.document-action-panel {
  border: 1px solid rgba(180, 35, 24, .20);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 247, 242, .90)),
    radial-gradient(circle at 100% 0, rgba(201, 162, 39, .18), transparent 18rem);
  box-shadow: 0 18px 44px rgba(74, 10, 18, .10);
}

.document-action-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-document-form {
  display: block;
}

.dashboard-document-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.dashboard-document-card {
  border-color: rgba(180, 35, 24, .32);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 28px rgba(74, 10, 18, .08);
}

.dashboard-document-card .upload-head {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .document-action-head {
    flex-direction: column;
  }

  .document-action-head .btn {
    width: 100%;
  }
}

/* Locked card: blur photo + hide sensitive details until approval */
.mcard.locked .mcard-photo img {
  filter: blur(10px);
}
.mcard.locked .mcard-hidden {
  filter: blur(6px);
  user-select: none;
}
.mcard .badge.muted {
  background: #eef0f4;
  color: #8a93a6;
}

.card-center {
  text-align: center;
  padding: 48px 24px;
  border-radius: 16px;
}
.card-center .btn {
  margin-top: 18px;
}

/* Real liquor logo replacing the dummy "W" mark */
.brand-logo-img {
  height: 64px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  border-radius: 6px;
  object-fit: contain;
}
.mcard-logo .brand-logo-img {
  height: 72px;
}
.brand .brand-logo-img {
  height: 64px;
}
.admin-brand__mark .brand-logo-img {
  height: 64px;
  width: auto;
}
