.page-login-container {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background: linear-gradient(to bottom right, #f7f8fc, #e4e9f2);
}

.login-container {
    display: flex;
    width: 90%;
    min-height: 400px; /* Chiều cao tối thiểu */
    max-height: 85vh;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    overflow: auto;
}

.image-container {
    width: 65%;
    background: url('../bg-login.jpg') no-repeat;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.login-form-container {
    width: 35%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .login-form-container h1 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .login-form-container p {
        font-size: 16px;
        margin-bottom: 30px;
        color: #6b6b6b;
    }

    .login-form-container button:hover {
        background-color: blue;
    }

    .login-form-container .social-login {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

.social-login a {
    background-color: white;
    border: 1px solid #ddd;
    color: black;
    font-size: 14px;
    padding: 8px 12px; /* Reduced padding */
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Reduced gap */
    cursor: pointer;
    text-decoration: none
}

    .social-login a img {
        width: 14px; /* Reduced icon size */
    }

    .social-login a:hover {
        background-color: #f0f0f0;
    }

.divider {
    margin: 20px 0;
    display: flex;
    align-items: center;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background-color: #ddd;
    }

    .divider span {
        margin: 0 10px;
        font-size: 14px;
        color: #6b6b6b;
    }

.login-form-container .forgot-password {
    text-align: right;
    font-size: 14px;
    color: #6b6b6b;
    margin-top: -10px;
    margin-bottom: 20px;
}

    .login-form-container .forgot-password a {
        color: #007bff;
        text-decoration: none;
    }

        .login-form-container .forgot-password a:hover {
            text-decoration: underline;
        }

.login-form-container .signup-link {
    text-align: right;
    margin-top: 20px;
    font-size: 14px;
}

    .login-form-container .signup-link a {
        font-weight: 500;
        color: #007bff;
        text-decoration: none;
    }

        .login-form-container .signup-link a:hover {
            text-decoration: underline;
        }

.login-form-container-content {
    width: 70%;
}

.style-logo-thienan {
    margin-top: 10%;
}

.img-logon-thienan {
    width: 30vh;
    height: 20vh;
}

.item-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-login-container {
    background-image: url("/background.jpg");
}

@media (max-width: 1366px) {
    .image-container {
        width: 50%;
    }

    .style-logo-thienan {
        margin-top: 15%;
    }

    .login-form-container {
        width: 50%;
    }
}

@media (max-width: 992px) {
    .image-container {
        display: none;
    }

    .login-form-container {
        width: 100%;
    }

    .social-login{
        margin-bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    .image-container {
        display: none;
    }

    .login-form-container {
        width: 100%;
    }

        .login-form-container .login-form-container-content {
            width: 85%;
        }
}

/* Dropdown chọn ngôn ngữ */
.language-dropdown {
    position: absolute;
    top: 10px;
    right: 20px;
}

#language-select {
    padding: 5px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Input group với icon prefix */
.input-group {
    display: flex;
    align-items: center;
    border-radius: 5px !important;
    margin-bottom: 15px;
    position: relative;
    margin: 10px 0;
    min-height: 50px;
}

.input-group-control {
    border-radius: 5px !important;
    padding: 8px 8px 8px 30px; /* Thêm khoảng trống để biểu tượng không che nội dung */
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    position: absolute;
    background-clip: padding-box !important;
    width: 100%;
    flex: 1;
}

.input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #888;
    pointer-events: none;
    display: block;
}
