﻿* {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #0a3d62, #084688);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-wrapper {
    background-color: #ffffff;
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-wrapper h2 {
    text-align: center;
    color: #084688;
    margin-bottom: 32px;
    font-size: 28px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #444;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

    input[type="text"]:focus,
    input[type="password"]:focus {
        border-color: #084688;
        outline: none;
    }

.toggle-password {
    position: absolute;
    right: 14px;
    top: 42px;
    cursor: pointer;
    font-size: 16px;
    color: #777;
}

/* Style bổ sung cho phần Ghi nhớ đăng nhập */
.form-remember {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

    .form-remember input[type="checkbox"] {
        margin-right: 8px;
        cursor: pointer;
        width: 16px;
        height: 16px;
    }

    .form-remember label {
        margin-bottom: 0;
        font-weight: normal;
        font-size: 14px;
        color: #555;
        cursor: pointer;
        user-select: none;
    }

.login-btn {
    width: 100%;
    background-color: #084688;
    color: white;
    padding: 14px;
    border: none;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .login-btn:hover {
        background-color: #062f53;
    }

.footer-text {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

@media (max-width: 480px) {
    .login-wrapper {
        padding: 30px 20px;
    }
}
