﻿ /* ============================================================
   ECCS UNION BANK
   PROFESSIONAL SKY BLUE LOGIN
   ============================================================ */


/* ============================================================
   GLOBAL
   ============================================================ */

* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}


body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;

    background:
        linear-gradient(
            135deg,
            #eaf8ff 0%,
            #dff3fc 45%,
            #cfeefa 100%
        );

    color: #263746;

    min-height: 100vh;
}


/* ============================================================
   MAIN PAGE
   ============================================================ */

.login-page {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 30px 20px;

}


/* ============================================================
   LOGIN CARD
   ============================================================ */

.login-card {

    width: 100%;

    max-width: 980px;

    min-height: 560px;

    display: flex;

    background: #ffffff;

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 18px 45px rgba(43, 118, 160, 0.18),
        0 5px 15px rgba(0, 0, 0, 0.06);

}


/* ============================================================
   LEFT SKY BLUE PANEL
   ============================================================ */

.login-left {

    position: relative;

    width: 43%;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #42b8e8 0%,
            #249bd1 45%,
            #137fbd 100%
        );

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* ============================================================
   DECORATIVE CIRCLES
   ============================================================ */

.sky-circle {

    position: absolute;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.10);

    pointer-events: none;

}


.circle-one {

    width: 280px;

    height: 280px;

    top: -110px;

    left: -110px;

}


.circle-two {

    width: 360px;

    height: 360px;

    right: -190px;

    bottom: -160px;

}


.circle-three {

    width: 150px;

    height: 150px;

    right: -60px;

    top: 80px;

    background: rgba(255, 255, 255, 0.07);

}


/* ============================================================
   LEFT CONTENT
   ============================================================ */

.left-content {

    position: relative;

    z-index: 2;

    width: 100%;

    padding: 55px 45px;

    text-align: center;

}


/* ============================================================
   LOGO
   ============================================================ */

.logo-box {

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 25px;

}


.logo-box img {

    width: auto;

    max-width: 190px;

    max-height: 90px;

    object-fit: contain;

    background: #ffffff;

    padding: 10px 18px;

    border-radius: 10px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.12);

}


/* ============================================================
   BANK TITLE
   ============================================================ */

.left-title {

    font-size: 30px;

    font-weight: 700;

    letter-spacing: 0.3px;

    margin-top: 8px;

    margin-bottom: 10px;

}


.left-subtitle {

    font-size: 14px;

    line-height: 1.7;

    font-weight: 500;

    opacity: 0.95;

}


/* ============================================================
   LEFT DESCRIPTION
   ============================================================ */

.left-description {

    margin-top: 32px;

    font-size: 14px;

    line-height: 1.7;

    opacity: 0.92;

}


.left-description p {

    margin: 0 0 12px 0;

}


/* ============================================================
   SECURITY BOX
   ============================================================ */

.left-security {

    margin: 32px auto 0 auto;

    padding: 11px 18px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    border: 1px solid rgba(255, 255, 255, 0.35);

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.10);

    font-size: 12px;

    font-weight: 600;

}


.security-icon {

    font-size: 14px;

}


/* ============================================================
   RIGHT LOGIN PANEL
   ============================================================ */

.login-right {

    width: 57%;

    padding: 55px 65px 45px 65px;

    background: #ffffff;

}


/* ============================================================
   LOGIN HEADER
   ============================================================ */

.login-header {

    margin-bottom: 28px;

}


.welcome-title {

    font-size: 28px;

    font-weight: 700;

    color: #173b55;

    margin-bottom: 7px;

}


.welcome-description {

    font-size: 14px;

    color: #7a8b98;

}


/* ============================================================
   MASTER LOGIN PANEL
   ============================================================ */

.master-login-panel {

    width: 100%;

}


/* ============================================================
   INPUT GROUP
   ============================================================ */

.input-group-custom {

    width: 100%;

    margin-bottom: 18px;

}


.input-group-custom label {

    display: block;

    margin-bottom: 7px;

    color: #405565;

    font-size: 13px;

    font-weight: 600;

}


/* ============================================================
   INPUT WRAPPER
   ============================================================ */

.input-wrapper {

    position: relative;

    width: 100%;

}


/* ============================================================
   INPUT ICON
   ============================================================ */

.input-icon {

    position: absolute;

    left: 15px;

    top: 50%;

    transform: translateY(-50%);

    width: 20px;

    text-align: center;

    color: #54a9d1;

    font-size: 17px;

    z-index: 2;

}


/* ============================================================
   TEXTBOX
   ============================================================ */

.login-text {

    width: 100% !important;

    height: 48px !important;

    padding: 0 45px 0 45px !important;

    border: 1px solid #d8e5ec !important;

    border-radius: 8px !important;

    background: #f9fcfe !important;

    color: #253746 !important;

    font-family: "Segoe UI", Arial, sans-serif !important;

    font-size: 14px !important;

    outline: none !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

}


.login-text:hover {

    border-color: #a9cfdf !important;

}


.login-text:focus {

    border-color: #45abd7 !important;

    background: #ffffff !important;

    box-shadow:
        0 0 0 3px rgba(69, 171, 215, 0.12) !important;

}


/* ============================================================
   PLACEHOLDER
   ============================================================ */

.login-text::placeholder {

    color: #9aabb6;

    opacity: 1;

}


/* ============================================================
   PASSWORD
   ============================================================ */

.password-input {

    padding-right: 50px !important;

}


/* ============================================================
   PASSWORD TOGGLE
   ============================================================ */

.password-toggle {

    position: absolute;

    right: 12px;

    top: 50%;

    transform: translateY(-50%);

    width: 32px;

    height: 32px;

    border: none;

    background: transparent;

    color: #8195a3;

    cursor: pointer;

    font-size: 18px;

    padding: 0;

}


.password-toggle:hover {

    color: #299bd1;

}


/* ============================================================
   VALIDATION / ERROR
   ============================================================ */

.text-error {

    display: block;

    color: #d9534f;

    font-size: 12px;

    margin-top: 5px;

    line-height: 1.4;

}


/* ============================================================
   LOGIN BUTTONS
   ============================================================ */

.login-buttons {

    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 12px;

    margin-top: 24px;

}


/* ============================================================
   COMMON BUTTON
   ============================================================ */

.login-button {

    border-radius: 7px !important;

    border: none !important;

    font-family: "Segoe UI", Arial, sans-serif !important;

    font-size: 13px !important;

    font-weight: 700 !important;

    letter-spacing: 0.3px;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

}


.login-button:hover {

    transform: translateY(-1px);

}


/* ============================================================
   PRIMARY LOGIN
   ============================================================ */

.primary-button {

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #42b8e8,
            #188cc5
        ) !important;

    box-shadow:
        0 5px 14px rgba(24, 140, 197, 0.25);

}


.primary-button:hover {

    background:
        linear-gradient(
            135deg,
            #2ca9dd,
            #087eb8
        ) !important;

    box-shadow:
        0 7px 18px rgba(24, 140, 197, 0.32);

}


/* ============================================================
   CANCEL BUTTON
   ============================================================ */

.cancel-button {

    color: #547080 !important;

    background: #edf4f7 !important;

}


.cancel-button:hover {

    background: #e1edf2 !important;

}


/* ============================================================
   LOGIN ERROR
   ============================================================ */

.login-error {

    min-height: 18px;

    text-align: left;

    margin-top: 7px;

}


/* ============================================================
   SECURE LOGIN
   ============================================================ */

.secure-login {

    margin-top: 25px;

    padding-top: 18px;

    border-top: 1px solid #edf1f3;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    color: #6d818e;

    font-size: 12px;

    font-weight: 600;

}


.secure-icon {

    color: #36a8d8;

    font-size: 14px;

}


/* ============================================================
   ADMIN PANEL
   ============================================================ */

.admin-panel {

    margin-top: 30px;

}


/* ============================================================
   ADMIN DIVIDER
   ============================================================ */

.admin-divider {

    position: relative;

    text-align: center;

    height: 25px;

    margin-bottom: 15px;

}


.admin-divider:before {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    top: 50%;

    height: 1px;

    background: #e2ebef;

}


.admin-divider span {

    position: relative;

    display: inline-block;

    padding: 0 12px;

    background: #ffffff;

    color: #80919d;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

}


/* ============================================================
   ADMIN INFORMATION
   ============================================================ */

.admin-information {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    min-height: 28px;

    margin-bottom: 10px;

    color: #4e6878;

}


/* ============================================================
   ADMIN COMBO
   ============================================================ */

.admin-combo {

    display: flex;

    justify-content: center;

    width: 100%;

}


/*
   AjaxControlToolkit ComboBox
*/

.combo {

    width: 280px !important;

}


/* ComboBox textbox */

.combo input {

    height: 42px !important;

    border: 1px solid #d8e5ec !important;

    border-radius: 7px 0 0 7px !important;

    background: #f9fcfe !important;

    font-family: "Segoe UI", Arial, sans-serif !important;

}


/* ComboBox button */

.combo button {

    height: 42px !important;

    border: 1px solid #d8e5ec !important;

    background: #eef7fb !important;

}


/* ============================================================
   ADMIN LOGIN BUTTON
   ============================================================ */

.admin-login-button {

    text-align: center;

    margin-top: 12px;

}


.admin-button {

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #55b9dc,
            #2993be
        ) !important;

}


/* ============================================================
   FOOTER
   ============================================================ */

.login-footer {

    width: 100%;

    max-width: 980px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 18px 5px 0 5px;

    color: #78909c;

    font-size: 11px;

}


.footer-company {

    font-weight: 600;

}


.footer-rights {

    text-align: right;

}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media screen and (max-width: 850px) {

    .login-card {

        max-width: 700px;

    }

    .login-left {

        width: 40%;

    }

    .login-right {

        width: 60%;

        padding: 45px 40px;

    }

    .left-content {

        padding: 40px 25px;

    }

    .left-title {

        font-size: 25px;

    }

}


@media screen and (max-width: 700px) {

    .login-page {

        padding: 20px 15px;

        justify-content: flex-start;

    }


    .login-card {

        flex-direction: column;

        max-width: 500px;

        min-height: auto;

        margin-top: 15px;

    }


    .login-left {

        width: 100%;

        min-height: 260px;

    }


    .left-content {

        padding: 35px 25px;

    }


    .logo-box {

        margin-bottom: 15px;

    }


    .logo-box img {

        max-height: 65px;

        max-width: 150px;

    }


    .left-title {

        font-size: 24px;

    }


    .left-description {

        display: none;

    }


    .left-security {

        margin-top: 20px;

    }


    .login-right {

        width: 100%;

        padding: 35px 30px 30px 30px;

    }


    .welcome-title {

        font-size: 25px;

    }


    .login-footer {

        flex-direction: column;

        gap: 5px;

        text-align: center;

    }


    .footer-rights {

        text-align: center;

    }

}


@media screen and (max-width: 420px) {

    .login-page {

        padding: 10px;

    }


    .login-card {

        border-radius: 12px;

    }


    .login-right {

        padding: 30px 20px;

    }


    .left-content {

        padding: 30px 18px;

    }


    .login-buttons {

        flex-direction: column;

        width: 100%;

    }


    .login-buttons .login-button {

        width: 100% !important;

    }


    .combo {

        width: 100% !important;

    }


    .admin-combo {

        width: 100%;

    }

}