﻿/* ===== LOGIN / REGISTER ===== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f4f6f9;
    padding: 20px;
}

.login-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px 50px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

    .login-box h1 {
        font-size: 28px;
        font-weight: 800;
        color: #1a1a2e;
        margin-bottom: 4px;
    }

    .login-box .subtitle {
        color: #6c757d;
        margin-bottom: 30px;
    }

    .login-box .form-group {
        margin-bottom: 20px;
    }

    .login-box label {
        display: block;
        font-weight: 600;
        color: #343a40;
        margin-bottom: 6px;
    }

    .login-box input[type="email"],
    .login-box input[type="password"],
    .login-box input[type="text"] {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid #ced4da;
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.2s;
    }

    .login-box input:focus {
        border-color: #E63946;
        outline: none;
        box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
    }

    .login-box .btn-login {
        width: 100%;
        background: #E63946;
        color: #fff;
        border: none;
        padding: 14px;
        border-radius: 8px;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.2s;
    }

        .login-box .btn-login:hover {
            background: #c0392b;
        }

    .login-box .register-link {
        text-align: center;
        margin-top: 20px;
        color: #6c757d;
    }

        .login-box .register-link a {
            color: #E63946;
            font-weight: 600;
            text-decoration: none;
        }

            .login-box .register-link a:hover {
                text-decoration: underline;
            }

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.input-group:focus-within {
    border-color: #E63946 !important;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.input-group input:focus {
    outline: none !important;
    box-shadow: none !important;
}