body, html {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-image: url('/assets/images/login/background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#login {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

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

.img-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    gap: 0;
}

    .img-bg .logo-part {
        height: 60px;
        margin: 0;
        padding: 0;
    }

.login-box {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    padding: 40px 50px;
    width: 350px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

    .login-box h5 {
        margin-bottom: 25px;
        color: #767575;
        font-weight: 500;
        font-size: 20px;
    }

.input-box {
    position: relative;
    margin-bottom: 20px;
    width: 80%;
}

    /* Input styling */
    .input-box .form-control {
        width: 125%;
        padding-left: 35px; /* chừa chỗ cho icon-left */
        padding-right: 35px; /* chừa chỗ cho icon-right */

        border: none;
        border-bottom: 2px solid #ccc;
        border-radius: 0;
        background: transparent;
        height: 45px;
        box-shadow: none;
        outline: none;
        z-index: 1; /* input nằm dưới icon */
        position: relative;
    }

        .input-box .form-control:focus {
            border-bottom: 2px solid #002b80;
        }

    /* Icons */
    .input-box .icon-left,
    .input-box .icon-right {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #888;
        z-index: 2; /* icon nằm trên input */
    }

    .input-box .icon-left {
        left: 5px;
        pointer-events: none;
    }

    .input-box .icon-right {
        right: -50px;
        cursor: pointer;
        font-size: 14px;
    }



.btn-login {
    width: 100%;
    background-color: #002b80;
    color: #fff;
    font-weight: 500;
    padding: 10px 0;
    border: none;
    border-radius: 6px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

    .btn-login:hover {
        background-color: #001f5a;
    }

.divider {
    margin: 20px 0;
    position: relative;
    color: #666;
}

    .divider::before,
    .divider::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 40%;
        height: 1px;
        background: #ccc;
    }

    .divider::before {
        left: 0;
    }

    .divider::after {
        right: 0;
    }

.btn-microsoft {
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 0;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

    .btn-microsoft img {
        height: 18px;
    }

    .btn-microsoft:hover {
        background: #f4f4f4;
    }



@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
