/* =========================================================
   DASHBOARD BANNERS
   Status and alert banner styling

   Migrated from gf-dashboard-pages.css (Phase 11A-1)
   Lines: 81–154, 162–366, 994–1199
========================================================= */

/* =========================================================
   RESTRICTED ACCOUNT BANNER
========================================================= */

.gf-restricted-account-banner {
  width: min(1120px, calc(100% - 32px));
  margin: 4px auto 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #3a1b1b;
  box-shadow: 0 10px 28px rgba(40, 25, 80, 0.08);
}

.gf-restricted-account-banner strong {
  display: block;
  margin: 0 0 3px;
  font-size: 14px;
  line-height: 1.25;
  color: #7f1d1d;
}

.gf-restricted-account-banner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
}

.gf-restricted-account-banner__reason {
  margin-top: 6px !important;
}

.gf-restricted-account-banner__reason span {
  font-weight: 700;
  color: #7f1d1d;
}

.gf-restricted-account-banner__support {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: #7b5cff;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.gf-restricted-account-banner__support:hover,
.gf-restricted-account-banner__support:focus {
  color: #fff;
  background: #6747ec;
}

@media (max-width: 720px) {
  .gf-restricted-account-banner {
    width: min(100% - 20px, 1120px);
    margin-top: 10px;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .gf-restricted-account-banner__support {
    width: 100%;
  }
}

/* =========================================================
   2FA SETUP BANNER
========================================================= */

.gf-2fa-status-banner {
  width: min(1120px, calc(100% - 32px));
  margin: 4px auto 0;
  padding: 0;
  border: 1px solid #e9e0ff;
  border-radius: 8px;
  background: #f8f6ff;
  box-shadow: 0 10px 28px rgba(40, 25, 80, 0.06);
}

.gf-2fa-status-banner summary {
  padding: 8px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
  list-style: none;
}

.gf-2fa-status-banner summary::-webkit-details-marker {
  display: none;
}

.gf-2fa-status-banner summary span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #6d28d9;
  line-height: 1.2;
  flex: 1;
}

.gf-2fa-status-banner summary small {
  font-size: 12px;
  color: #7c3aed;
  flex: 0 0 auto;
  font-weight: 500;
}

.gf-2fa-status-body {
  display: none;
  padding: 0 16px 12px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}

.gf-2fa-status-banner[open] .gf-2fa-status-body {
  display: block;
}

.gf-2fa-status-body.is-open {
  display: block;
}

.gf-2fa-status-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  background: #7c3aed;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.gf-2fa-status-btn:hover {
  background: #6d28d9;
  color: #6d28d9;
}

/* =========================================================
   SECURITY QUESTIONS REMINDER BANNER
   Reuses .gf-2fa-status-banner / .gf-2fa-status-btn — only the
   two-button action row and secondary button variant are new.
========================================================= */

.gf-security-q-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.gf-2fa-status-btn--secondary {
  background: transparent;
  color: #6d28d9;
  border: 1px solid #e9e0ff;
  cursor: pointer;
}

.gf-2fa-status-btn--secondary:hover {
  background: #f3effe;
}

/* =========================================================
   PRIVACY STATUS BANNER
========================================================= */

.gf-privacy-status-banner {
  width: min(1120px, calc(100% - 32px));
  margin: 4px auto 0;
  padding: 0;
  border: 1px solid #e9e0ff;
  border-radius: 8px;
  background: #f8f6ff;
  box-shadow: 0 10px 28px rgba(40, 25, 80, 0.06);
}

.gf-privacy-status-banner summary {
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
  list-style: none;
}

.gf-privacy-status-banner summary::-webkit-details-marker {
  display: none;
}

.gf-privacy-status-banner summary span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #6d28d9;
  line-height: 1.2;
  flex: 1;
}

.gf-privacy-status-banner summary small {
  font-size: 12px;
  color: #7c3aed;
  flex: 0 0 auto;
  font-weight: 500;
}

.gf-privacy-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e9e0ff;
}

.gf-privacy-status-header strong {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #6d28d9;
  line-height: 1.2;
}

.gf-privacy-status-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.gf-privacy-status-toggle {
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  color: #6d28d9;
  font-size: 18px;
  line-height: 1;
}

.gf-privacy-status-toggle:hover {
  opacity: 0.8;
}

.gf-privacy-status-body {
  display: none;
  padding: 0 16px 12px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}

.gf-privacy-status-banner[open] .gf-privacy-status-body {
  display: block;
}

.gf-privacy-status-body.is-open {
  display: block;
}

.gf-privacy-status-line {
  margin: 8px 0;
}

.gf-privacy-status-line strong {
  font-weight: 700;
  color: #6d28d9;
}

@media (max-width: 720px) {
  .gf-restricted-account-banner,
  .gf-2fa-status-banner,
  .gf-privacy-status-banner {
    width: min(100% - 20px, 1120px);
    margin-top: 10px;
  }

  .gf-2fa-status-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .gf-2fa-status-btn {
    width: 100%;
  }
}
