/* Authentication Pages Stylesheet */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 250px);
    padding: 4rem 1.5rem;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    padding: 3rem 2.5rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-title {
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

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

/* Alert Boxes */
.auth-alert {
    background: rgba(255, 0, 60, 0.07);
    border: 1px solid var(--accent-red);
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.1);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-error {
    border-color: var(--accent-red);
}

/* Forms */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    color: #ffffff;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.input-wrapper input {
    width: 100%;
    background: rgba(2, 3, 6, 0.6);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    color: #ffffff;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

/* Focus State Hooks controlled by global.js inputs loop */
.form-group.focused .input-icon {
    color: var(--accent-cyan);
}

.input-wrapper input:focus {
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    background: rgba(0, 229, 255, 0.02);
}

.auth-submit-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.85rem;
}

.auth-footer-links {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer-links a {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .auth-container {
        padding: 2rem 1rem;
    }
    .auth-card {
        padding: 2rem 1.5rem;
    }
}
