/* === Page-Specific Styles === */

/* Auth page */
.auth-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--space-xl);
}

.auth-page__logo {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.auth-page__title {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.auth-page__subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-2xl);
}

.auth-form { width: 100%; max-width: 360px; }

.auth-form__toggle {
  text-align: center;
  margin-top: var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.auth-form__toggle a {
  color: var(--primary);
  font-weight: 600;
}

.auth-form__divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

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

.btn--google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  font-weight: 600;
}

.btn--google:hover {
  background: var(--surface-hover);
}

.btn--google__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-weight: 800;
  font-size: 0.75rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.auth-form__hint {
  margin-top: var(--space-md);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Balance summary card */
.balance-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-md);
  color: white;
  position: relative;
  overflow: hidden;
}

.balance-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.balance-card__label {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: var(--space-xs);
}

.balance-card__amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.balance-card__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
}

.balance-card__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
}

.balance-card__icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.balance-card__icon--income { background: rgba(16, 185, 129, 0.3); }
.balance-card__icon--expense { background: rgba(244, 63, 94, 0.3); }
