﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Arial", sans-serif;
    height: 100vh;
    display: flex;
}
.svg1 {
    width: 313px;
    height: 279px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0) 100%);
    filter: drop-shadow(54px 24px 19.5px rgba(0, 0, 0, 0.02));
    object-fit: cover;
    display: block;
}
.left-panel {
    flex: 0 0 42%;
    background: #004fe8;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    justify-content: space-between;
}
.svg1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    object-fit: cover;
}
.svg2 {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 25%;
    object-fit: cover;
    transform-origin: center;
    animation: spin 5s linear infinite;
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
.logo-section {
    display: flex;
    align-items: center;
}
.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 19px;
}
.org-info {
    flex: 1;
}
    .org-info h2 {
        color: #fff;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 16px;
        letter-spacing: 0.24px;
    }
    .org-info p {
        color: #fff;
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 0.32px;
    }
.main-title {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

    .main-title h2 {
        color: #fff;
        font-size: 45px;
        font-style: normal;
        font-weight: 700;
        line-height: 71px;
    }
.illustration-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
}
.illustration {
    width: 457px;
    height: 284px;
    flex-shrink: 0;
}
.right-panel {
    flex: 1 1 65%;
    background: white;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: url('/Images/Login/right-panel-bg.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.support-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}
.support-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-right: 12px;
}
.support-text {
    display: flex;
    flex-direction: column;
}

    .support-text span:first-child {
        color: #004fe8;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    .support-text span:last-child {
        color: #121212;
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
    }

.login-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    width: 450px;
    margin: 70px auto 32px auto;
}

.form-section {
    margin-bottom: 32px;
}

.section-title {
    color: var(--text-new, #333);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.36px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 10px;
}

    .form-group select,
    .form-group input {
        width: 100%;
        height: 44px;
        padding: 12px;
        font-size: 14px;
        transition: border-color 0.3s ease;
        border: 1px solid #c9c9c9;
        background: #f5f6f8;
    }
        .form-group select:focus,
        .form-group input:focus {
            outline: none;
            border: 1px solid #004fe8;
        }
.select-like {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 40px;
    background-color: #f5f6f8;
}
.relative-group {
    position: relative;
}
.vector-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    pointer-events: none;
}
.relative-group {
    position: relative;
}
.password-toggle {
    position: absolute;
    right: 10px;
    top: 52%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 19px;
}
.login-btn {
    width: 100%;
    height: 44px;
    background: #004fe8;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: var(--Text-Standard, #fafafa);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.36px;
}
    .login-btn:hover {
        background: #1e3c72;
    }
.footer {
    color: var(--text-new, #333);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
    .footer a {
        color: var(--Link, #2e89ff);
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        text-decoration: none;
    }

        .footer a:hover {
            text-decoration: underline;
        }

@media (max-width: 1540px) {
    html,
    body {
        overflow: hidden;
    }

    .main-title h2 {
        font-size: 32px;
        line-height: 50px;
    }
}
@media (max-width: 992px) {
    .left-panel {
        display: none; /* Ẩn panel trái trên mobile */
    }

    .right-panel {
        width: 100%;
        padding: 20px;
    }

    .login-form {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .form-group {
        max-width: 100%;
    }

    .section-title {
        font-size: 16px;
        text-align: center;
    }

    .login-btn {
        width: 100% !important;
    }

    .capcha {
        position: relative;
        left: auto;
        margin-top: 10px !important;
    }

    table {
        width: 100% !important;
    }

    .captcha-control img {
        width: 100px;
        height: auto;
    }
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }
    60% {
        opacity: 1;
        transform: translateY(2px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}