﻿.login-page {
    background: url('/Content/Img/Đăng nhập (2).png') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-row {
    display: flex;
}

.name-detail {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    color: red;
    letter-spacing: -3px;
}

.box-name {
    text-align: center;
}

.box-left {
    flex: 1;
    margin-top: 10%;
}

.box-right {
    flex: 1;
/*    display: flex;*/
    justify-content: center;
}

.box-logo {
    display: flex;
    justify-content: center;
}

    .box-logo .img-logo {
        width: 65%
    }

.login-container {
    width: 380px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
    /* height: 650px;*/
}

.avatar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #e0e7e3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%238fa697' d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    background-size: 60%;
    background-position: center 45%;
    background-repeat: no-repeat;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 12px;
    padding-left: 40px;
    border: 1px solid #1a9c5b;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.icon {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 20px;
}

.user-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a9c5b' d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    background-size: contain;
}

.lock-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a9c5b' d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E");
    background-size: contain;
}

.captcha-container {
    display: flex;
    gap: 10px;
}

.captcha-code {
    flex: 1;
    padding: 0px;
    background-color: white;
    border: 1px solid #1a9c5b;
    border-radius: 4px;
    font-family: monospace;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
}

.refresh-btn {
    width: 40px;
    background-color: white;
    border: 1px solid #1a9c5b;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-input .form-input {
    padding-left: 12px;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .remember input[type="checkbox"] {
        appearance: none;
        width: 18px;
        height: 18px;
        border: 1px solid #1a9c5b;
        border-radius: 3px;
        position: relative;
        cursor: pointer;
    }

        .remember input[type="checkbox"]:checked::before {
            content: "✓";
            position: absolute;
            color: white;
            font-size: 14px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .remember input[type="checkbox"]:checked {
            background-color: #1a9c5b;
        }

    .remember label {
        font-size: 14px;
        color: #333;
    }

.forgot-link {
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.login-btn {
    background-color: #d32f2f;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 0px;
}

.dots {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    gap: 3px;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: #ffc107;
    border-radius: 50%;
}

.box-row {
    padding: 0 10%;
}


@media screen and (min-width: 430px) {
    .box-row {
        min-height: 683px;
        padding: 20px !important;
    }

    .name-detail {
        font-size: 18px;
        letter-spacing: 0px;
    }

    .box-name {
        padding-top: 10px;
        padding-bottom: 20px;
    }

    .login-container {
        padding: 20px;
    }
}

@media screen and (min-width: 625px) {
    .box-row {
        flex-direction: column;
        padding: 0 !important;
    }

    .box-logo .img-logo {
        width: 50%;
    }


    .login-container {
        margin: 0 auto !important;
    }
}



@media screen and (max-width: 624px) {
    .box-row {
        flex-direction: column;
        padding: 0 !important;
    }

    .box-logo .img-logo {
        width: 50%;
    }


    .login-container {
        margin: 0 auto !important;
    }
}

@media screen and (min-width: 800px) {
    .box-logo .img-logo {
        width: 50%;
    }
}

@media screen and (min-width: 900px) {
    .box-logo .img-logo {
        width: 45%;
    }
}

@media screen and (min-width: 1000px) {
    .box-logo .img-logo {
        width: 40%;
    }
}

@media screen and (min-width: 1100px) {
    .box-logo .img-logo {
        width: 35%;
    }
}

@media screen and (max-width: 1119px) {
    .login-page {
        height: 100% !important;
    }
    .name-detail {
        font-size: 30px !important;
    }

    .box-row {
        min-height: 1209px !important;
    }
    .box-right, .box-left {
        border: none !important;
    }
    .box-right-custom {
        padding: 0 !important;
    }
    .login-container {
        width: 600px !important;
    }
    .guide-section {
        font-size: 18px !important;
    }
}

@media screen and (min-width: 1200px) {
    .box-row {
        flex-direction: row;
    }

    .box-logo .img-logo {
        width: 65%;
    }

    .name-detail {
        font-size: 18px;
    }

    .login-container {
        padding-left: 60px !important;
        padding-right: 40px !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .box-row {
        padding: 0 26% !important;
        min-height: 550px;
    }
}

@media (max-width: 1270px) {
    .name-detail {
        font-size: 12px !important;
    }

    .guide-section h4 {
        font-size: 12px !important;
    }

    .login-btn {
        font-size: 12px !important;
    }
    .login-type {
        flex: 1;
        text-align: center;
        line-height: 43px !important;
        cursor: pointer;
        z-index: 2;
        transition: color 0.3s ease;
        color: #2b905b;
        font-size: 15px;
    }
}

@media screen and (max-width: 1345px) and (min-width: 1270px) {
    .name-detail {
        font-size: 14px !important;
    }
    .login-type {
        flex: 1;
        text-align: center;
        line-height: 43px !important;
        cursor: pointer;
        z-index: 2;
        transition: color 0.3s ease;
        color: #2b905b;
        font-size: 15px;
    }
}

@media screen and (max-width: 1700px) and (min-width: 1345px) {
    .box-row {
        padding: 0 17% !important;
        min-height: 566px !important;
    }

    .login-type {
        flex: 1;
        text-align: center;
        line-height: 43px !important;
        cursor: pointer;
        z-index: 2;
        transition: color 0.3s ease;
        color: #2b905b;
    }

    .switch-login {
        margin-top: 10px !important;
        position: relative;
        font-weight: 600;
        border-radius: 45px;
        display: flex;
        border: 1px solid #2b905b;
        justify-content: space-around;
        font-size: 15px !important;
        overflow: hidden;
        height: 43px !important;
        margin-bottom: 3% !important;
    }

    .name-detail {
        font-size: 18px !important;
    }

    .box-right-custom {
        justify-content: flex-end !important;
        padding: 13px !important;
        padding-right: 0;
        margin: 0 !important;
        border-bottom: 3px solid;
        border: 1px solid;
        border-left: 0;
        border-top: 2px solid;
        border-bottom: 2px solid;
        border-right: 6px solid;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        border-color: #2b905b;
    }

    .form-input {
        width: 100%;
        padding: 6px !important;
        padding-left: 40px !important;
        border: 1px solid #1a9c5b;
        border-radius: 4px;
        font-size: 18px !important;
        outline: none;
    }

    .guide-section {
        margin-left: 8px !important;
        text-align: left;
        padding: 8px !important;
        background-color: #f9f9f9;
        border-left: 4px solid #018134;
        border-radius: 6px;
        margin-top: 60px !important;
        font-size: 11px !important;
    }

    .login-btn {
        background-color: #d32f2f;
        color: white;
        border: none;
        border-radius: 4px;
        padding: 10px !important;
        font-size: 14px !important;
        font-weight: bold;
        cursor: pointer;
        margin-top: 0px;
    }

    .note-list li {
        font-size: 13px !important;
    }

    .captcha-input .form-input {
        padding-left: 12px !important;
    }
}

@media screen and (max-width: 450px) {
    .box-row {
        width: 100% !important;
    }

    .box-left, .box-right {
        padding: 0px !important;
    }

    .login-container {
        width: 100% !important;
    }

    .name-detail {
        font-size: 30px !important;
    }

    .note-list li {
        font-size: 16px !important;
    }
}