/* ============================================
   Identity & Account Management Styles
   ============================================
   
   This file contains all authentication and account management styles.
   Designed for easy whitelabeling and customization per customer.
   
   Future: Convert to SCSS with theme variables:
   - $auth-primary-color
   - $auth-card-shadow
   - $auth-card-radius
   - $auth-spacing-unit
   ============================================ */

/* Authentication Pages (Login, Register, etc.) */

.auth-card {
  border-radius: 0.5rem;
  background-color: #fff;
}

.auth-card__icon {
  font-size: 3rem;
  line-height: 1;
}

.auth-card__icon i {
  display: inline-block;
}

.auth-card__title {
  font-weight: 600;
  color: #212529;
}

.auth-card__subtitle {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.auth-card__link {
  color: #0d6efd;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.auth-card__link:hover {
  color: #0a58ca;
  text-decoration: underline !important;
}

.auth-card__footer {
  padding-top: 0.5rem;
  border-top: 1px solid #e9ecef;
  margin-top: 0.5rem;
}

.auth-card__footer .auth-card__link {
  font-size: 0.85rem;
}

/* Account Management Pages */

.manage-account__header {
  text-align: center;
}

.manage-account__title {
  font-weight: 600;
  color: #212529;
}

.manage-account__subtitle {
  font-size: 0.95rem;
}

.manage-account__page-title {
  font-weight: 600;
  color: #212529;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e9ecef;
}

.manage-account__nav {
  position: sticky;
  top: 1rem;
}

.manage-account__nav-link {
  border-radius: 0.375rem;
  font-size: 0.95rem;
  padding: 0.625rem 1rem;
  color: #495057;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.manage-account__nav-link:hover {
  background-color: #f8f9fa;
  color: #212529;
}

.manage-account__nav-link.active {
  background-color: #0d6efd;
  color: #fff;
}

.manage-account__nav-link i {
  width: 1.25rem;
  text-align: center;
}

/* Personal Data Actions */

.manage-account__action-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.manage-account__action-group .btn {
  width: 100%;
}

@media (min-width: 576px) {
  .manage-account__action-group {
    flex-direction: row;
  }
  
  .manage-account__action-group .btn {
    width: auto;
    min-width: 140px;
  }
}

/* Alert Visibility Fix */

.alert.validation-summary-valid {
  display: none;
}
