﻿.login-wrapper {
    display: flex;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.login-left {
    flex: 8;
    background: url('/content/img/login-bachground-default.jpg') no-repeat center center;
    background-size: cover;
}

    .login-left iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
    }

.login-right {
    flex: 2;
    background-color: #0c3b4a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding-top: 60px;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
}

    .login-right .login-container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

.logo-fixed {
    position: absolute;
    top: 35px;
    left: 15px;
    width: 150px;
    height: auto;
    padding-left: 15px;
}

.account-type {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-option {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    background-color: #f9f9f9;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

    .account-option .checkmark {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #0D9D00;
        display: none;
    }

    .account-option.active {
        border: 1px solid #0D9D00;
        color: #0D9D00;
        background-color: #fff;
    }

        .account-option.active .checkmark {
            display: inline;
        }

.btn-green-login {
    color: #fff;
    background-color: #0D9D00;
    border-color: #0D9D00;
}

    .btn-green-login:hover {
        color: #fff;
        background-color: #14d104;
        border-color: #0d8503;
    }

    .btn-green-login:focus, .btn-green-login.focus {
        color: #fff;
        background-color: #14d104;
        border-color: #0e8504;
        box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
    }

    .btn-green-login.disabled, .btn-green-login:disabled {
        color: #fff;
        background-color: #0D9D00;
        border-color: #0D9D00;
    }

    .btn-green-login:not(:disabled):not(.disabled):active, .btn-green-login:not(:disabled):not(.disabled).active,
    .show > .btn-green-login.dropdown-toggle {
        color: #fff;
        background-color: #14d104;
        border-color: #0e8504;
    }

        .btn-green-login:not(:disabled):not(.disabled):active:focus, .btn-green-login:not(:disabled):not(.disabled).active:focus,
        .show > .btn-green-login.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
        }

.close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    z-index: 2000;
}

.mobile-login-btn {
    display: none;
}

@media (max-width: 768px) {
    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .close-btn {
        display: block;
    }

    .mobile-login-btn {
        display: block;
        width: 100%;
        padding: 10px;
        background: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .open-login-btn {
        width: 100%;
        padding: 6px;
        font-size: 14px;
        font-weight: bold;
        border: none;
        border-radius: 6px;
        background: #0D9D00;
        color: #fff;
        cursor: pointer;
    }

    .login-left {
        flex: 1 1 100%;
        background: url('/content/img/login-bachground-default-mobie.jpg') no-repeat center center;
        background-size: cover;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
    }

        .login-left iframe {
            width: 100%;
            height: 100%;
            display: block;
        }

    .gesture-zone-right {
        position: fixed;
        top: 0;
        right: 0;
        width: 50px;
        height: 100vh;
        z-index: 2000;
        background: transparent;
        display: none;
    }

        .gesture-zone-right.show {
            display: block;
        }

    .login-right {
        height: 100%;
        max-height: 100vh;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        position: fixed;
        top: 0;
        right: 0;
        width: 80vw;
        z-index: 1000;
        flex: none;
        box-shadow: 0 0 15px rgba(0,0,0,0.3);
        transform: translateX(0);
        opacity: 1;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform, opacity;
        pointer-events: auto;
    }

        .login-right.hide {
            opacity: 0;
            transform: translateX(100%);
            pointer-events: none;
        }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.3);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out;
        z-index: 100;
    }

        .overlay.show {
            opacity: 1;
            visibility: visible;
        }
}

h4.display-5, label.input-label {
    color: #fff;
}

label.input-label {
}

.login-image {
    display: none;
}
