/* Authentication Pages Styling */

/* LoL Canvas Authentication Theme */
.auth-container {
    background: linear-gradient(135deg, #0f1419 0%, #1e2328 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    background: var(--card-bg, #1e2328);
    border: 2px solid var(--border-color, #463714);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.auth-card .card-body {
    padding: 3rem 2.5rem;
}

.auth-card h2 {
    color: var(--lol-gold, #cdbe91);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.auth-card .form-label {
    color: var(--text-primary, #cdbe91);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.auth-card .form-control {
    background: rgba(60, 60, 65, 0.3);
    border: 1px solid var(--border-color, #463714);
    border-radius: 6px;
    color: var(--text-primary, #cdbe91);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.auth-card .form-control:focus {
    background: rgba(60, 60, 65, 0.5);
    border-color: var(--lol-gold, #cdbe91);
    box-shadow: 0 0 0 0.2rem rgba(205, 190, 145, 0.25);
    color: var(--text-primary, #cdbe91);
}

.auth-card .form-control::placeholder {
    color: var(--text-secondary, #a09b8c);
}

.auth-card .btn-primary {
    background: linear-gradient(135deg, var(--lol-gold, #cdbe91), var(--lol-red, #c89b3c));
    border: none;
    border-radius: 6px;
    color: var(--lol-dark-blue, #0f1419);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-card .btn-primary:hover {
    background: linear-gradient(135deg, var(--lol-red, #c89b3c), var(--lol-gold, #cdbe91));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(205, 190, 145, 0.3);
}

.auth-card .btn-primary:active {
    transform: translateY(0);
}

.auth-card a {
    color: var(--lol-gold, #cdbe91);
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-card a:hover {
    color: var(--lol-light-gold, #f0e6d2);
    text-decoration: underline;
}

.auth-card .text-muted {
    color: var(--text-secondary, #a09b8c) !important;
}

/* Form validation styling */
.auth-card .form-control.is-invalid {
    border-color: #dc3545;
}

.auth-card .form-control.is-valid {
    border-color: #28a745;
}

/* Loading state */
.auth-card .btn-primary:disabled {
    background: rgba(60, 60, 65, 0.3);
    color: var(--text-secondary, #a09b8c);
    cursor: not-allowed;
}

.auth-card .btn-primary.loading {
    position: relative;
    color: transparent;
}

.auth-card .btn-primary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid var(--lol-dark-blue, #0f1419);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Dark theme overrides */
body.dark-theme .auth-card {
    background: #0a0e13;
    border-color: #1e2328;
}

/* Success/Error message styling for toastr integration */
.toast-container {
    z-index: 9999;
}

/* Logo integration if added */
.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo img {
    max-width: 120px;
    height: auto;
}

/* Navbar logo styling to match main application */
.navbar-logo {
    height: 50px;
    width: auto;
    vertical-align: middle;
}

/* Text color overrides for dark theme - fix footer text visibility */
.text-muted {
    color: var(--text-secondary, #a09b8c) !important;
} 