/* =====================================================
   Auth Page Styles - Clean Monochrome Login & Register
   ===================================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

/* Subtle geometric background pattern */
.auth-page::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--gray-200) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    opacity: 0.5;
}

.auth-page::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gray-200) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    opacity: 0.4;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

/* Auth Card */
.auth-card {
    background: var(--surface-card);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.08);
    animation: scaleIn 0.3s ease-out;
}

/* Logo Section */
.auth-logo {
    text-align: center;
    margin-bottom: var(--space-8);
}

.auth-logo-icon {
    width: 72px;
    height: 72px;
    background: var(--gray-950);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-spring);
}

.auth-logo-icon:hover {
    transform: scale(1.05) rotate(-3deg);
}

.auth-logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.auth-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: var(--space-4);
    border-radius: 10%;
}

.auth-subtitle {
    color: var(--text-tertiary);
    font-size: 0.9375rem;
    margin-top: var(--space-2);
}

/* Auth Title */
.auth-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-6);
}

/* Auth Form */
.auth-form {
    margin-bottom: var(--space-6);
}

/* Social Login */
.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin: var(--space-6) 0;
}

.auth-divider-line {
    flex: 1;
    height: 1px;
    background: var(--surface-border);
}

.auth-divider-text {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.9375rem;
}

.auth-footer a {
    color: var(--text-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-footer a:hover {
    color: var(--text-secondary);
}

/* Organization Options */
.organization-options {
    margin-top: var(--space-4);
    padding: var(--space-5);
    background: var(--gray-50);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
}

.organization-options.hidden {
    display: none;
}

.organization-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.type-option {
    position: relative;
}

.type-option input {
    position: absolute;
    opacity: 0;
}

.type-option-label {
    display: block;
    padding: var(--space-4);
    text-align: center;
    background: var(--surface-card);
    border: 2px solid var(--surface-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.type-option-label:hover {
    border-color: var(--gray-400);
}

.type-option input:checked+.type-option-label {
    border-color: var(--gray-900);
    background: var(--gray-50);
    box-shadow: 0 0 0 1px var(--gray-900);
}

.type-option-icon {
    font-size: 2rem;
    margin-bottom: var(--space-2);
}

.type-option-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9375rem;
}