/*
 * ============================================================================
 * Copyright (c) 2026 ATH SOLUTIONS (PTY) LTD. All rights reserved.
 * KwaZulu-Natal, Republic of South Africa.
 * ============================================================================
 *
 * @BEGIN Developer Log Header Block
 * @FILENAME: auth.css
 * @TITLE: PATHWRITE
 * @DESCRIPTION: Auth pages view (login/register/reset/verify) - auth card, logo, section titles, divider.
 * @AUTHOR: Ary van der Pijl
 * @COMPANY: ATH SOLUTIONS (PTY) LTD
 * @WEBSITE: https://www.ath.solutions/
 * @EMAIL: info@ath.solutions
 * @COPYRIGHT: All Rights Reserved
 * @LICENSE: ATH SOLUTIONS - PROPRIETARY SOFTWARE LICENCE AGREEMENT (https://www.ath.solutions/documents/ath_solutions_software_licence_agreement.pdf)
 *
 * BEGIN CHANGELOG
 * @IMPORTANT NOTICE: Developers working on these files MUST update and maintain the Developers Change Log, failure to do is not an option:
 * !==================================================================================================================================================================
 * VERSION 1.0.4
 * - File Modified | Ary van der Pijl | 2026-08-18 | Gap Analysis follow-up (REQ-GAP-001 Section 12, accessibility spot-check): .auth-divider repointed from --color-text-subtle to --color-text-muted - the subtle token fails 4.5:1 text contrast on the surface colour and this class renders real readable text ("or continue with"), not a decorative icon. |
 * VERSION 1.0.3
 * - File Modified | Ary van der Pijl | 2026-08-15 | Added .auth-result-icon--lg (64px) - replaces activate.php's inline style="font-size:64px" (hard-constraint violation), fixed while retrofitting that page for multi-language support. |
 * VERSION 1.0.2
 * - File Modified | Ary van der Pijl | 2026-08-15 | Added .auth-legal-text - replaces register.php's inline style="font-size:12px" (zero-inline-styles hard-constraint violation), fixed while retrofitting the page for multi-language support. |
 * VERSION 1.0.1
 * - File Modified | Ary van der Pijl | 2026-08-06 | PATHWRITE brand style guide rollout: .auth-logo-mark now sizes/crops the real logo mark image (was a solid-colour box with a placeholder icon). |
 * VERSION 1.0.0
 * + File Created | Ary van der Pijl | 2026-08-06 | Extracted from main.css as part of the Phase 17 CSS architecture split (9-file hierarchy per STD-E). |
 * ==================================================================================================================================================================!
 * END CHANGELOG
 */

/* ─── Auth Pages ─────────────────────────────────────────────────────────── */

.auth-page {
  min-height: 100vh;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.auth-container {
  width: 100%;
  max-width: 440px;
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  text-decoration: none;
}

.auth-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.auth-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-logo-name {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text);
}

.auth-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}

.auth-card-wide {
  max-width: 560px;
}

.maintenance-icon {
  font-size: 72px;
}

.maintenance-text {
  max-width: 460px;
}

.auth-section-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-3);
}

.auth-heading {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  margin: 0 0 var(--space-2);
}

.auth-subtext {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-6);
}

.auth-legal-text {
  font-size: var(--text-xs);
}

.auth-result-icon {
  font-size: 48px;
}

.auth-result-icon--lg {
  font-size: 64px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-5) 0;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

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

