:root {
  --account-bg: #f5f7fb;
  --account-card-bg: #ffffff;
  --account-border: #e3e8f0;
}

/* The body now uses a class from the template for more specific styling */
.account-page {
  background: linear-gradient(135deg, rgba(58, 165, 122, 0.08), rgba(11, 95, 136, 0.1));
  min-height: 100vh;
}

/*
  REMOVED: The rules forcing the header to be transparent have been deleted
  to allow the default scroll behavior from header.css to apply.
*/

.account-hero {
  /* Adjusted margin-top to account for the standard header height */
  padding: 10rem 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.account-hero__content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.account-hero__content h1 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin-bottom: 1rem;
  color: var(--text-dark); /* Ensure high contrast */
}

.account-hero__content p {
  font-size: 1.1rem;
  color: var(--text-medium); /* Use consistent color variables */
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-green); /* Use consistent color variables */
}

.account-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.account-btn {
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
  min-width: 190px;
  text-align: center;
}

.account-btn.primary {
  background-color: var(--primary-blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.account-btn.outline {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
}

.account-btn.ghost {
  background: rgba(11, 95, 136, 0.1);
  color: var(--primary-blue);
}

.account-btn:hover,
.account-btn:focus {
  transform: translateY(-2px);
}

.account-btn.primary:hover,
.account-btn.primary:focus {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  .account-btn {
    width: 100%;
  }
}