/* ===== ACCOUNT PAGES — Matches Homepage Design System ===== */

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

:root {
  --clr-cream: #fdf2e8;
  --clr-white: #ffffff;
  --clr-navy: #1F1C18;
  --clr-navy-lt: #38312A;
  --clr-blue: #E1C16E;
  --clr-blue-lt: #d6eaf0;
  --clr-pink: #D4AF37;
  --clr-pink-lt: #daf0ff;
  --clr-text: #2c3e50;
  --clr-muted: #6b7280;
  --clr-danger: #e74c3c;
  --clr-success: #27ae60;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(31, 28, 24, .08);
  --shadow-md: 0 8px 32px rgba(31, 28, 24, .12);
  --shadow-lg: 0 20px 60px rgba(31, 28, 24, .16);
  --transition: all .35s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--clr-cream);
  color: var(--clr-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* ===== ACCOUNT WRAPPER (Split Layout) ===== */
.acct-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

@media (max-width: 900px) {
  .acct-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ===== LEFT PANEL â€” Decorative ===== */
.acct-brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-lt) 60%, #3a6073 100%);
}

@media (max-width: 900px) {
  .acct-brand-panel {
    display: none;
  }
}

.acct-brand-panel::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(212, 175, 55, .1);
  filter: blur(80px);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.acct-brand-panel::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(225, 193, 110, .12);
  filter: blur(60px);
  bottom: -80px;
  left: -80px;
  pointer-events: none;
}

.acct-brand-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.acct-brand-logo span {
  color: var(--clr-pink);
}

.acct-brand-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: white;
  line-height: 1.2;
  text-align: center;
  max-width: 360px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.acct-brand-quote em {
  font-style: italic;
  color: var(--clr-pink);
}

.acct-brand-sub {
  font-size: .9rem;
  color: rgba(255, 255, 255, .55);
  text-align: center;
  max-width: 300px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.acct-brand-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 2;
}

.acct-brand-feature {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255, 255, 255, .7);
  font-size: .82rem;
  font-weight: 500;
}

.acct-brand-feature .material-symbols-outlined {
  font-size: 20px !important;
  color: var(--clr-pink);
}

/* ===== RIGHT PANEL â€” Form ===== */
.acct-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
  overflow-y: auto;
  position: relative;
}

.acct-form-container {
  width: 100%;
  max-width: 440px;
}

/* Register needs wider */
.acct-form-container.wide {
  max-width: 520px;
}

/* Mobile brand */
.acct-mobile-brand {
  display: none;
  text-align: center;
  margin-bottom: 2rem;
}

.acct-mobile-brand a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--clr-navy);
  text-transform: uppercase;
  text-decoration: none;
}

.acct-mobile-brand a span {
  color: var(--clr-pink);
}

@media (max-width: 900px) {
  .acct-mobile-brand {
    display: block;
  }
}

/* Back link */
.acct-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--clr-muted);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.acct-back .material-symbols-outlined {
  font-size: 18px !important;
}

.acct-back:hover {
  color: var(--clr-pink);
  gap: .6rem;
}

/* ===== FORM HEADER ===== */
.acct-header {
  margin-bottom: 2rem;
}

.acct-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--clr-navy);
  line-height: 1.2;
  margin-bottom: .5rem;
}

.acct-header h1 em {
  font-style: italic;
  color: var(--clr-pink);
}

.acct-header p {
  font-size: .9rem;
  color: var(--clr-muted);
  line-height: 1.6;
}

/* ===== ALERTS ===== */
.acct-alert {
  padding: .85rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  line-height: 1.5;
}

.acct-alert .material-symbols-outlined {
  font-size: 18px !important;
  flex-shrink: 0;
  margin-top: 1px;
}

.acct-alert.success {
  background: rgba(39, 174, 96, .08);
  border: 1px solid rgba(39, 174, 96, .2);
  color: #1e8449;
}

.acct-alert.error {
  background: rgba(231, 76, 60, .08);
  border: 1px solid rgba(231, 76, 60, .2);
  color: #c0392b;
}

.acct-alert a {
  color: inherit;
  font-weight: 600;
  word-break: break-all;
}

/* ===== FORM STYLES ===== */
.acct-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.acct-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.acct-field-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--clr-navy);
}

.acct-field input[type="text"],
.acct-field input[type="email"],
.acct-field input[type="password"],
.acct-field input[type="tel"],
.acct-field select {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(225, 193, 110, .2);
  background: var(--clr-white);
  color: var(--clr-text);
  font-size: .9rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: var(--transition);
}

.acct-field input:focus,
.acct-field select:focus {
  border-color: var(--clr-pink);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .1);
}

.acct-field input::placeholder {
  color: var(--clr-muted);
  font-weight: 400;
}

.acct-field .field-validation-error,
.acct-field .validation-summary-errors {
  font-size: .78rem;
  color: var(--clr-danger);
  margin-top: .15rem;
}

/* Validation summary */
.acct-validation-summary .validation-summary-errors ul {
  list-style: none;
  padding: 0;
}

.acct-validation-summary .validation-summary-errors ul li {
  font-size: .82rem;
  color: var(--clr-danger);
  padding: .4rem 0;
}

.acct-validation-summary .validation-summary-valid {
  display: none;
}

/* Grid for side-by-side fields */
.acct-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 500px) {
  .acct-field-row {
    grid-template-columns: 1fr;
  }
}

/* Checkbox */
.acct-check {
  display: flex;
  align-items: center;
  gap: .6rem;
  cursor: pointer;
}

.acct-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(225, 193, 110, .3);
  accent-color: var(--clr-pink);
  cursor: pointer;
}

.acct-check span {
  font-size: .85rem;
  color: var(--clr-text);
  font-weight: 500;
}

/* Submit Button */
.acct-submit {
  width: 100%;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--clr-navy);
  color: white;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(31, 28, 24, .2);
  margin-top: .5rem;
}

.acct-submit:hover {
  background: var(--clr-pink);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(212, 175, 55, .35);
}

.acct-external-form {
  margin-bottom: 1rem;
}

.acct-google-submit {
  width: 100%;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid rgba(225, 193, 110, .22);
  background: var(--clr-white);
  color: var(--clr-navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.acct-google-submit:hover {
  border-color: var(--clr-pink);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.acct-google-mark {
  align-items: center;
  border: 1px solid rgba(225, 193, 110, .18);
  border-radius: 50%;
  color: #4285f4;
  display: inline-flex;
  font-size: .95rem;
  font-weight: 700;
  height: 24px;
  justify-content: center;
  width: 24px;
}

/* ===== FOOTER LINKS ===== */
.acct-footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(225, 193, 110, .1);
}

.acct-footer-links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--clr-muted);
  text-decoration: none;
  transition: var(--transition);
}

.acct-footer-links a:hover {
  color: var(--clr-pink);
}

.acct-footer-links .acct-link-primary {
  color: var(--clr-navy);
  font-weight: 600;
}

.acct-footer-links .acct-link-primary:hover {
  color: var(--clr-pink);
}

/* ===== DIVIDER ===== */
.acct-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: .5rem 0;
}

.acct-divider::before,
.acct-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(225, 193, 110, .15);
}

.acct-divider span {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-muted);
  font-weight: 500;
}

/* ===== PROFILE PAGE ===== */
.acct-profile-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(225, 193, 110, .08);
}

.acct-profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(225, 193, 110, .1);
}

.acct-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-navy), var(--clr-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.acct-profile-avatar .material-symbols-outlined {
  font-size: 32px !important;
  color: white;
}

.acct-profile-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--clr-navy);
  margin-bottom: .25rem;
}

.acct-profile-role {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-pink);
}

.acct-profile-details {
  display: grid;
  gap: 1.25rem;
}

.acct-profile-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1rem;
  background: var(--clr-cream);
  border-radius: var(--radius-sm);
}

.acct-profile-item .material-symbols-outlined {
  font-size: 20px !important;
  color: var(--clr-blue);
  flex-shrink: 0;
}

.acct-profile-item-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: .15rem;
}

.acct-profile-item-value {
  font-size: .9rem;
  color: var(--clr-navy);
  font-weight: 500;
}

.acct-profile-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(225, 193, 110, .1);
}

.acct-profile-actions form {
  flex: 1;
}

.acct-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--clr-navy);
  background: transparent;
  color: var(--clr-navy);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  transition: var(--transition);
}

.acct-btn-outline:hover {
  background: var(--clr-navy);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.acct-btn-danger {
  border-color: var(--clr-danger);
  color: var(--clr-danger);
}

.acct-btn-danger:hover {
  background: var(--clr-danger);
  border-color: var(--clr-danger);
  color: white;
}

/* ===== ACCESS DENIED ===== */
.acct-denied {
  text-align: center;
  padding: 2rem 0;
}

.acct-denied-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(231, 76, 60, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.acct-denied-icon .material-symbols-outlined {
  font-size: 36px !important;
  color: var(--clr-danger);
}

.acct-denied h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--clr-navy);
  margin-bottom: .75rem;
}

.acct-denied p {
  font-size: .9rem;
  color: var(--clr-muted);
  line-height: 1.7;
  max-width: 360px;
  margin: 0 auto 1.5rem;
}

/* ===== STATUS BADGE ===== */
.acct-status-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.acct-status-badge.active {
  background: rgba(39, 174, 96, .1);
  color: #1e8449;
}

.acct-status-badge.locked {
  background: rgba(231, 76, 60, .1);
  color: #c0392b;
}

.acct-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ===== ANIMATION ===== */
@keyframes acctFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.acct-animate {
  animation: acctFadeUp .5s ease forwards;
}



