* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Be Vietnam Pro", sans-serif;
}

body {
    background: #f8fafc;
    overflow-x: hidden;
}

.login-card {
    width: 100%;
    padding: 40px 30px;
    max-width: 650px;
}

.login-card h2 {
    font-size: 38px;
    font-weight: 800;
    color: #01285f;
}

.sub-title {
    margin-top: 8px;
    color: #64748b;
    font-size: 18px;
    margin-bottom: 38px;
}

.form-label {
    font-size: 20px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.custom-input input {
    border: none;
    outline: none;
    width: 100%;
    margin-left: 12px;
    font-size: 17px;
    background: transparent;
}

.custom-input i {
    font-size: 20px;
    color: #94a3b8;
}

.custom-input {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 18px;
    padding: 12px 20px;
    margin-bottom: 16px;
}

.custom-input:hover {
    border-color: #cbd5e1;
}

.custom-input:focus-within {
    border-color: #2563eb;
    box-shadow:
        0 0 0 4px rgba(37, 99, 235, .10),
        0 6px 20px rgba(37, 99, 235, .08);
    transform: translateY(-1px);
}

.custom-input i {
    font-size: 18px;
    color: #94a3b8;
}

.custom-input:focus-within i {
    color: #2563eb;
}

.custom-input .fa-eye {
    cursor: pointer;
    transition: .2s;
}

.custom-input .fa-eye:hover,
.toggle-password:hover {
    color: #2563eb;
}

.toggle-password {
    cursor: pointer;
    transition: .2s;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-label {
    font-size: 18px;
    color: #4b5563;
}

.forgot-link {
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    color: #2563eb;
}

.btn-login {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 16px;
    font-size: 20px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg,
            #4f8cff,
            #2563eb);
    transition: .25s;
    margin-top: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(37, 99, 235, .12);
}

.btn-login:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.btn-login.loading {
    opacity: .7;
    cursor: not-allowed;
    pointer-events: none;
    transform: scale(.98);
}

.btn-login.loading:hover {
    transform: scale(.98);
    box-shadow: none;
}

.divider {
    margin: 35px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #6b7280;
    font-size: 18px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: #e5e7eb;
}

.social-btn {
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    background: white;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.social-btn:hover {
    border-color: #F37021;
    box-shadow: 0 6px 20px rgba(37, 99, 235, .08);
    transform: translateY(-1px);
    color: #F37021;
}

.social-btn p {
    font-size: 20px;
}

.register-text {
    margin-top: 30px;
    text-align: center;
    font-size: 18px;
    color: #4b5563;
}

.register-text a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.register-text a:hover {
    text-decoration: underline;
}

.main-wrapper {
    min-height: 100vh;
    max-width: 1400px;
    margin: auto;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
}

.form-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 560px;
}

.img-login {
    width: min(48vw, 680px);
    height: auto;
    object-fit: cover;
    border-radius: 28px;
}

@media (max-width:1200px) {

    .main-wrapper {
        gap: 36px;
        padding: 24px;
    }

    .img-login {
        width: 520px;
    }

    .login-card h2 {
        font-size: 34px;
    }

    .form-label {
        font-size: 20px;
    }
}

@media (max-width:991px) {

    .main-wrapper {
        flex-direction: column;
        gap: 28px;
        padding: 24px 20px;
    }

    .img-login {
        width: min(100%, 520px);
    }

    .login-card {
        max-width: 600px;
    }

    .login-card h2 {
        font-size: 34px;
    }

    .form-label {
        font-size: 18px;
    }

    .custom-input {
        padding: 14px 16px;
    }

    .btn-login {
        font-size: 18px;
    }
}

@media (max-width:576px) {

    body {
        background: #ffffff;
    }

    .main-wrapper {
        padding: 20px 16px;
        gap: 20px;
    }

    .img-login {
        width: 100%;
        border-radius: 20px;
    }

    .login-card {
        padding: 0;
        max-width: 100%;
    }

    .login-card h2 {
        font-size: 30px;
    }

    .login-card p {
        font-size: 15px;
    }

    .form-label {
        font-size: 16px;
    }

    .custom-input {
        padding: 14px 16px;
        border-radius: 14px;
    }

    .custom-input input {
        font-size: 16px;
    }

    .forgot-link,
    .form-check-label {
        font-size: 15px;
    }

    .btn-login {
        font-size: 18px;
        padding: 14px;
    }

    .divider {
        margin: 24px 0;
        font-size: 15px;
    }

    .social-btn {
        font-size: 17px;
        padding: 14px;
    }

    .register-text {
        font-size: 15px;
    }
}