html,
body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1rem;
  border-radius: .75rem;
  font-weight: 600;
}

.btn-ghost {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #111827;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-ghost:hover { background: #f9fafb; }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-menu ul {
  list-style-type: none;
  padding: 0;
  width: 100%;
}

.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,0.1); }

.mobile-menu a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 1.2rem 2rem;
  text-align: center;
  transition: background-color 0.2s ease;
}

.mobile-menu a:hover { background-color: rgba(255,255,255,0.1); }

#hero-spacer { height: 4rem; }

.auth-card,
.account-card,
.profile-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  box-shadow: 0 18px 50px rgba(0, 24, 48, 0.08);
}

.auth-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 1.5rem;
}

.auth-icon {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: #fff7ed;
  color: #da6f0d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.auth-title {
  color: #001830;
  font-size: 1.65rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: #6b7280;
  text-align: center;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-field {
  display: grid;
  gap: 0.4rem;
}

.auth-label {
  color: #374151;
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-input {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font: inherit;
  color: #111827;
  background: #f9fafb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-input:focus {
  outline: none;
  border-color: #da6f0d;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(218,111,13,0.14);
}

.auth-submit {
  width: 100%;
  border: none;
  border-radius: 0.9rem;
  background: #da6f0d;
  color: white;
  padding: 0.9rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.12s ease;
}

.auth-submit:hover { filter: brightness(0.95); }
.auth-submit:active { transform: translateY(1px); }
.auth-submit:disabled { opacity: 0.65; cursor: not-allowed; }

.auth-link {
  color: #da6f0d;
  font-weight: 700;
  text-decoration: none;
}

.auth-link:hover { text-decoration: underline; }

.auth-footer-text {
  color: #6b7280;
  text-align: center;
  margin-top: 1.1rem;
  font-size: 0.92rem;
}

.auth-alert {
  border-radius: 0.85rem;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  border: 1px solid transparent;
}

.auth-alert.success {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.auth-alert.error {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.profile-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, #da6f0d, #f59e0b);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(218,111,13,0.24);
}

.profile-name {
  color: #001830;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.profile-email {
  color: #6b7280;
  font-size: 0.95rem;
  margin: 0.2rem 0 0;
  word-break: break-word;
}

.profile-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  background: #fff7ed;
  color: #c2410c;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-status-badge.verified {
  background: #ecfdf5;
  color: #047857;
}

.profile-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .profile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .auth-card { padding: 2rem; }
}

.profile-stat {
  background: #f9fafb;
  border: 1px solid #eef2f7;
  border-radius: 1rem;
  padding: 1rem;
}

.profile-stat-label {
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.profile-stat-value {
  color: #111827;
  font-size: 0.92rem;
  font-weight: 700;
  word-break: break-word;
}

.profile-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.profile-secondary-btn,
.profile-danger-btn {
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  padding: 0.75rem 1rem;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
}

.profile-secondary-btn { color: #001830; }
.profile-secondary-btn:hover { border-color: #da6f0d; color: #da6f0d; }
.profile-danger-btn { color: #dc2626; }
.profile-danger-btn:hover { background: #fef2f2; border-color: #fecaca; }

.profile-section-title {
  color: #001830;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.profile-form-card {
  border: 1px solid #eef2f7;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem;
}

.profile-form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .profile-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hidden { display: none !important; }
