﻿/* ============================================================
   Login Page Override Rules (ITMS Mock Matching)
   ============================================================ */

.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* --- Left Side (61%) --- */
.image-section {
    position: relative;
    width: 61%;
    height: 100%;
    background: #0a1f44;
    overflow: hidden;
}

    .image-section .bg-video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        pointer-events: none;
    }

    .image-section::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(2, 35, 72, 0.18), rgba(3, 54, 105, 0.04));
        z-index: 1;
    }

.brand {
    position: absolute;
    top: 48px;
    left: 65px;
    z-index: 2;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.aberdeen-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.aberdeen-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.aberdeen-name {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 6px;
    color: #ffffff;
}

.brand-divider {
    height: 55px;
    width: 1px;
    background: rgba(255, 255, 255, 0.75);
    margin: 0 28px;
}

.system-name {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 500;
    max-width: 260px;
    color: #ffffff;
}

.image-message {
    position: absolute;
    left: 65px;
    bottom: 70px;
    z-index: 2;
    color: #ffffff;
}

    .image-message h2 {
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 10px;
    }

    .image-message p {
        font-size: 14.5px;
        color: rgba(255, 255, 255, 0.82);
    }

/* --- Right Side (39%) --- */
.form-section {
    width: 39%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 7%;
}

.form-wrapper {
    width: 100%;
    max-width: 490px;
    margin: auto;
}

.welcome-small {
    font-size: 22px;
    color: #163a70;
    font-weight: 400;
    margin-bottom: 6px;
}

.welcome-title {
    font-size: 40px;
    line-height: 1.1;
    color: #0b2c5c;
    font-weight: 600;
    margin-bottom: 18px;
}

.welcome-description {
    font-size: 14.5px;
    line-height: 1.7;
    color: #71829d;
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: #102e5b;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    height: 53px;
    border: 1px solid #cbd7e7;
    border-radius: 8px;
    padding: 0 18px;
    font-size: 14px;
    color: #163a70;
    outline: none;
    transition: all 0.2s ease;
}

    .form-input:focus {
        border-color: #1558a6;
        box-shadow: 0 0 0 3px rgba(21, 88, 166, 0.08);
    }

.password-toggle {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 17px;
    color: #8296b1;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 30px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    color: #17345f;
    cursor: pointer;
}

.forgot-password {
    color: #0759ad;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: underline;
}

.login-button {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #04366f 0%, #0861b5 55%, #1684d8 100%);
    color: #ffffff;
    font-size: 15.5px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(8, 75, 145, 0.20);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .login-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 9px 24px rgba(8, 75, 145, 0.28);
    }

.footer {
    position: fixed;
    bottom: 28px;
    right: 7%;
    left: 61%;
    text-align: center;
    padding-top: 18px;
    border-top: 1px solid #dce4ef;
    color: #7d8da5;
    font-size: 11px;
}

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

    .form-section {
        width: 100%;
        padding: 50px 30px;
    }

    .footer {
        left: 30px;
        right: 30px;
    }
}
