﻿/* Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #f5f5f5;
}

/* Auth Card */
.auth-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 3rem 2.5rem;
    max-width: 420px;
    width: 100%;
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #00a3e8 0%, #0082ba 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 163, 232, 0.2);
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Alert */
.alert {
    padding: 0.875rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

/* Form Controls */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.2s ease;
    background-color: #fff;
}

    .form-control:focus {
        outline: none;
        border-color: #00a3e8;
        box-shadow: 0 0 0 3px rgba(0, 163, 232, 0.1);
    }

    .form-control.error {
        border-color: #dc3545;
    }

        .form-control.error:focus {
            box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
        }

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
}

    .password-toggle:hover {
        color: #666;
    }

    .password-toggle:focus {
        outline: none;
    }

/* Validation Message */
.validation-message {
    display: none;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.375rem;
}

/* Form Options */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .remember-me input[type="checkbox"] {
        width: 1.1rem;
        height: 1.1rem;
        cursor: pointer;
        accent-color: #00a3e8;
    }

    .remember-me label {
        font-size: 0.9rem;
        color: #666;
        cursor: pointer;
        margin: 0;
        user-select: none;
    }

.forgot-password {
    color: #00a3e8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

    .forgot-password:hover {
        color: #0082ba;
        text-decoration: underline;
    }

/* Login Button */
.btn-login {
    width: 100%;
    padding: 0.875rem;
    background-color: #00a3e8;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-login:hover {
        background-color: #0082ba;
    }

    .btn-login:active {
        transform: translateY(1px);
    }

    .btn-login:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 163, 232, 0.3);
    }

/* Responsive */
@media (max-width: 576px) {
    .auth-container {
        padding: 1rem;
    }

    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-logo {
        max-width: 90px;
        padding: 1.25rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}
