﻿* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
}

a,
a:hover {
    text-decoration: none;
}

.login-page {


    display: flex;
    flex-wrap: wrap; /* Cho phép các phần tử lấp đầy không gian */
    justify-content: space-between; /* Dàn đều các phần tử */
    height: 100vh; /* Đảm bảo chiều cao của toàn bộ màn hình */
    align-items: flex-start; /* Đảm bảo các phần tử nằm ở phía trên */
}

.login-page-left {
    background-color: #1C44A0;
    padding-left: 20px;
    padding-right: 20px;
}
.image-container {
    display: flex;
    justify-content: space-between; /* Dàn đều ảnh ra 2 bên */
    margin-bottom: 15px; /* Khoảng cách giữa các hàng */
    width: 100%;
}

.login-page-img {
    width: 48%; /* Đảm bảo mỗi ảnh chiếm một nửa chiều rộng của hàng */
    height: auto;
}

.d-none.d-md-block {
    width: 100%; /* Đảm bảo phần bên trái chiếm hết chiều rộng */
}

.col-md-6.col-lg-5.col-xl-4 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Đảm bảo form đăng nhập nằm ở trên */
    padding-top: 20px; /* Khoảng cách từ trên cùng */
    box-sizing: border-box;
}

.login-form {
    padding-top: 20px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 1rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #3f4254;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.5rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-floating > .form-control,
.form-floating > .form-control-plaintext,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-floating > .form-control,
.form-floating > .form-control-plaintext {
    padding: 1rem 0.75rem;
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 0.8;
    font-size: 14px;
}

.text-end {
    text-align: end;
}

.form-floating {
    position: relative;
}

    .form-floating > label {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 1rem 0.75rem;
        overflow: hidden;
        text-align: start;
        text-overflow: ellipsis;
        white-space: nowrap;
        pointer-events: none;
        border: 1px solid transparent;
        transform-origin: 0 0;
        transition: opacity .5s ease-in-out, transform .5s ease-in-out;
    }

    .form-floating > .form-control:focus ~ label {
        opacity: .65;
        transform: scale(.85) translateY(-0.9rem) translateX(0.15rem);
    }

.form-control:focus {
    color: #3f4254;
    background-color: #fff;
    border-color: #9bccff;
    outline: 0;
    box-shadow: none;
}

.icon-password {
    transform: translate(-50%, -50%);
    right: 0;
    top: 50%;
    padding-right: 2px;
    position: absolute;
    cursor: pointer;
}

    .icon-password.hide {
        display: none;
    }

.close-icon.close-icon {
    display: none;
    color: #999;
    transform: translate(-50%, -50%);
    right: 10px;
    top: 50%;
    padding-right: 2px;
    position: absolute;
    cursor: pointer;
}

.login-logo {
    text-align: center;
}

    .login-logo img {
        width: 280px;
    }

.login-company {
    border-top: 1px dashed #000;
    padding-top: 10px;
    background: white;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .login-company ul {
        padding: 0;
        margin: 0;
        list-style-type: none;
    }
