/* ============================================================
   PerfumerySHK — Account & Auth Page Styles
   ============================================================ */

/* ── Auth Form ────────────────────────────────────────────── */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-8);
}

.auth-logo img {
  height: var(--logo-desktop);
  transition: var(--transition-base);
}

@media (max-width: 768px) {
  .auth-logo img {
    height: var(--logo-tablet);
  }
}

@media (max-width: 480px) {
  .auth-logo img {
    height: var(--logo-mobile);
  }
}

.auth-form__logo {
  height: var(--logo-desktop);
  margin-bottom: var(--space-4);
}

.auth-form__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-1);
}

.auth-form__subtitle {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.auth-form__divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--text-tertiary);
  font-size: var(--text-xs);
}

.auth-form__divider::before,
.auth-form__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.auth-form__footer {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-4);
}

.auth-form__footer a {
  color: var(--color-gold);
  font-weight: var(--weight-semibold);
}

.auth-visual__content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.auth-visual__tagline {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-ivory);
  margin-bottom: var(--space-4);
}

.auth-visual__text {
  font-size: var(--text-base);
  color: var(--color-gray-400);
  max-width: 400px;
  margin: 0 auto;
}

/* Password Strength */
.password-strength {
  display: flex;
  gap: var(--space-1);
  margin-top: var(--space-2);
}

.password-strength__bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

.password-strength--weak .password-strength__bar:nth-child(1) {
  background: var(--color-danger);
}

.password-strength--fair .password-strength__bar:nth-child(-n+2) {
  background: var(--color-warning);
}

.password-strength--good .password-strength__bar:nth-child(-n+3) {
  background: var(--color-gold);
}

.password-strength--strong .password-strength__bar {
  background: var(--color-success);
}

.password-strength__text {
  font-size: var(--text-xs);
  margin-top: var(--space-1);
}

/* ── Account Dashboard ────────────────────────────────────── */
.account-header {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-8) 0;
  margin-bottom: var(--space-8);
  border-bottom: var(--border-subtle);
}

.account-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  border: 2px solid rgba(212, 175, 55, 0.2);
  flex-shrink: 0;
}

.account-info__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-1);
}

.account-info__email {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.account-info__member {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-1);
}

/* ── Orders ───────────────────────────────────────────────── */
.order-card {
  background: var(--bg-secondary);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.order-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  background: var(--bg-surface);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.order-card__id {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.order-card__date {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.order-card__body {
  padding: var(--space-5);
}

.order-card__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.order-card__item {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.order-card__item-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.order-card__item-name {
  font-size: var(--text-sm);
  flex: 1;
}

.order-card__item-qty {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.order-card__item-price {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.order-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-top: var(--border-subtle);
}

.order-card__total {
  font-weight: var(--weight-bold);
}

/* ── Address Cards ────────────────────────────────────────── */
.address-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (max-width: 480px) {
  .address-grid {
    grid-template-columns: 1fr;
  }
}

.address-card {
  padding: var(--space-5);
  background: var(--bg-secondary);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  position: relative;
}

.address-card--default {
  border-color: rgba(212, 175, 55, 0.3);
}

.address-card__default-badge {
  font-size: 10px;
  font-weight: var(--weight-bold);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-2);
}

.address-card__name {
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-1);
}

.address-card__details {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.address-card__actions {
  display: flex;
  gap: var(--space-3);
}

.address-card__action {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: var(--transition-color);
}

.address-card__action:hover {
  color: var(--color-gold);
}

.address-card__action--delete:hover {
  color: var(--color-danger);
}

/* Add New Address Card */
.address-card--add {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 180px;
  border-style: dashed;
  cursor: pointer;
  transition: var(--transition-base);
}

.address-card--add:hover {
  border-color: var(--color-gold);
  background: rgba(212, 175, 55, 0.05);
}

.address-card--add svg {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
}

.address-card--add span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ── Profile Form ─────────────────────────────────────────── */
.profile-form {
  max-width: 500px;
}

.profile-form .form-group {
  margin-bottom: var(--space-5);
}
