﻿/* ===== Page Wrapper ===== */
.login-wrapper {
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

    /* ===== Top Bar ===== */
    .login-wrapper::before {
        content: "";
        height: 50px;
        background: #003063;
        display: block;
    }

    /* ===== Bottom Bar ===== */
    /*.login-wrapper::after {
        content: "";
        height: 60px;
        background-color: #003063;
        background-image: url("/aviorsys_logo.png");
        background-repeat: no-repeat;
        background-position: 50%;
        background-size: 120px auto;

        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-size: 14px;
        font-weight: 500;
        margin-top: auto;
        padding-left: 160px;
    }*/

/*@media (max-width: 575px) {
    .login-wrapper::after {
        background-position: 50%;
    }
}*/

/* ===== Bottom Bar ===== */
.login-footer {
    height: 60px;
    background-color: #003063;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

    .footer-brand img {
        height: 60px;
        width: auto;
    }

    .footer-brand:hover {
        text-decoration: underline;
    }

/* ===== Card Container ===== */
.login-card {
    width: 1100px;
    height: 520px;
    background: #ffffff;
    margin: auto;
    display: flex;
    border-radius: 8px;
    border: 1px solid #cfd6e4;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* ===== Left Section ===== */
.login-left {
    width: 55%;
    padding: 60px 50px;
    background: #ffffff;
    color: #1a237e;
}

    .login-left img {
        height: 45px;
        margin-bottom: 25px;
    }

    .login-left h1 {
        font-size: 34px;
        font-weight: 700;
        margin-bottom: 20px;
        color: #1a237e;
    }

    .login-left p {
        font-size: 16px;
        line-height: 1.8;
        color: #1a237e;
        max-width: 90%;
    }

/* ===== Right Section ===== */
.login-right {
    width: 45%;
    padding: 50px 45px;
    border-left: 1px solid #e0e6f2;
}

    .login-right h3 {
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 30px;
        text-align: center;
    }

/* ===== Inputs ===== */
.input {
    width: 100%;
    padding: 14px 15px;
    margin-bottom: 18px;
    border-radius: 6px;
    border: 1px solid #cfd6e4;
    font-size: 14px;
}

    .input:focus {
        outline: none;
        border-color: #003063;
    }

/* ===== Options ===== */
.options {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

/* ===== Login Button ===== */
.btn-login {
    width: 100%;
    padding: 14px;
    background: #003063;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

    .btn-login:hover {
        background: #09195f;
    }

.btn-cancel {
    width: 100%;
    padding: 14px;
    background: #dc3545;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

    .btn-cancel:hover {
        background: #c71425;
    }

.btn-grey {
    width: 100%;
    padding: 14px;
    background: #6b6b6b;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

    .btn-grey:hover {
        background: #3d3d3d;
    }

button:disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* ===== Forgot Password ===== */
.login-right a {
    display: block;
    margin-top: 15px;
    text-align: center;
    color: #003063;
    text-decoration: none;
    font-size: 14px;
}

    .login-right a:hover {
        text-decoration: underline;
    }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .login-card {
        width: 95%;
        height: auto;
        flex-direction: column;
    }

    .login-left,
    .login-right {
        width: 100%;
    }

    .login-right {
        border-left: none;
        border-top: 1px solid #e0e6f2;
    }

    .displayNoneCls {
        display: none;
    }

    .widthChange {
        width: 100% !important;
    }
}

@media (min-width: 1099px) {
    .widthChange {
        width: 80% !important;
    }
}

    .password-wrapper {
        position: relative;
        width: 100%;
    }

        .password-wrapper .input {
            width: 100%;
            padding-right: 42px; /* space for eye icon */
        }

    .toggle-eye {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        font-size: 16px;
        color: #0b1f77;
        user-select: none;
    }

    .password-strength-row {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 5px 0 10px 5px;
        font-size: 14px;
    }

    .strength-bar {
        width: 150px;
        height: 10px;
        border-radius: 20px;
        background: #e0e0e0;
        overflow: hidden;
        border: 1px solid #999;
    }

    .strength-fill {
        height: 100%;
        transition: width 0.3s ease;
    }

        .strength-fill.weak {
            background-color: #dc3545;
        }

        .strength-fill.strong {
            background-color: #198754;
        }

