/* =========================================
   LOGIN PAGE - NO SCROLL
   ========================================= */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}


/* =========================================
   LOGIN WRAPPER
   ========================================= */

.login-wrapper {
    width: 100%;
    height: 100vh;
    min-height: 100vh;

    position: relative;

    overflow: hidden;

    background-color: #f5a356;
}
.login-wrapper > .container-fluid {
    width: 100%;
    height: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
}
.login-wrapper > .container-fluid > .row {
    width: 100%;
    height: 100%;
    margin: 0;
}
.login-wrapper .col-lg-4,
.login-wrapper .col-md-6,
.login-wrapper .col-11 {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   SUPPORT AREA
   ========================= */

.support-section {
    position: fixed !important;

    right: 20px !important;
    bottom: 20px !important;

    left: auto !important;
    top: auto !important;

    z-index: 999999 !important;

    display: flex !important;
    align-items: center !important;

    gap: 10px !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================
   WHATSAPP SUPPORT CARD
   ========================= */

.support-whatsapp {
    position: relative;

    display: flex !important;
    align-items: center !important;

    gap: 10px !important;

    width: auto !important;
    min-width: 195px !important;
    height: auto !important;

    padding: 8px 17px 8px 8px !important;

    box-sizing: border-box;

    border-radius: 50px !important;

    border: 2px solid rgba(255,255,255,.95) !important;

    background:
        linear-gradient(
            135deg,
            #087f9c 0%,
            #087f9c 45%,
            #12a86b 100%
        ) !important;

    color: #fff !important;

    text-decoration: none !important;

    box-shadow:
        0 8px 24px rgba(0,0,0,.30),
        0 0 18px rgba(18,168,107,.35);

    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.support-whatsapp:hover {
    color: #fff !important;
    text-decoration: none !important;

    transform: translateY(-3px);

    box-shadow:
        0 13px 30px rgba(0,0,0,.35),
        0 0 25px rgba(18,168,107,.50);
}


/* =========================
   WHATSAPP ICON
   ========================= */

.support-icon {
    width: 50px !important;
    height: 50px !important;

    min-width: 50px !important;
    flex: 0 0 50px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    background:
        linear-gradient(
            135deg,
            #25D366,
            #128C7E
        ) !important;

    color: #fff !important;

    font-size: 27px !important;

    box-shadow:
        inset 0 0 0 3px rgba(255,255,255,.25),
        0 4px 10px rgba(0,0,0,.25);
}


/* =========================
   WHATSAPP TEXT
   ========================= */

.support-content {
    display: flex !important;

    flex-direction: column !important;

    justify-content: center !important;

    line-height: 1.15 !important;

    white-space: nowrap;
}


.support-title {
    margin: 0 !important;

    font-size: 14px !important;

    font-weight: 800 !important;

    color: #fff !important;
}


.support-text {
    margin: 2px 0 0 !important;

    font-size: 10px !important;

    color: rgba(255,255,255,.90) !important;
}


.support-number {
    display: flex !important;

    align-items: center !important;

    gap: 5px !important;

    margin: 3px 0 0 !important;

    font-size: 14px !important;

    font-weight: 800 !important;

    color: #ffe600 !important;
}


.support-number i {
    font-size: 12px !important;

    color: #25D366 !important;
}


/* =========================================================
   CHAT BUTTON
   ========================================================= */

.support-chat-btn {
    width: 52px !important;
    height: 52px !important;

    min-width: 52px !important;
    min-height: 52px !important;

    flex: 0 0 52px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;

    border: 2px solid #fff !important;

    border-radius: 50% !important;

    background:
        linear-gradient(
            135deg,
            #2878ff 0%,
            #673de6 100%
        ) !important;

    color: #fff !important;

    font-size: 23px !important;

    line-height: 1 !important;

    cursor: pointer !important;

    box-shadow:
        0 8px 22px rgba(0,0,0,.30),
        0 0 16px rgba(40,120,255,.35);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.support-chat-btn:hover {
    background:
        linear-gradient(
            135deg,
            #2878ff 0%,
            #673de6 100%
        ) !important;

    color: #fff !important;

    transform:
        translateY(-3px)
        scale(1.05);

    box-shadow:
        0 12px 28px rgba(0,0,0,.35),
        0 0 22px rgba(40,120,255,.50);
}


/* =========================================================
   CHAT BOX
   ========================================================= */

.support-chat-box {
    position: fixed !important;

    right: 20px !important;
    bottom: 85px !important;

    width: 330px !important;
    max-width: calc(100vw - 40px) !important;

    max-height: calc(100vh - 120px) !important;

    margin: 0 !important;

    padding: 0 !important;

    background: #fff !important;

    border-radius: 18px !important;

    overflow: hidden !important;

    z-index: 999998 !important;

    border: 1px solid rgba(0,0,0,.08) !important;

    box-shadow:
        0 20px 55px rgba(0,0,0,.30);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateY(15px)
        scale(.95);

    transform-origin: bottom right;

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;
}


/* OPEN CHAT */

.support-chat-box.show {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   CHAT HEADER
   ========================================================= */

.support-chat-header {
    padding: 13px 15px !important;

    background:
        linear-gradient(
            135deg,
            #073b73,
            #087f9c
        ) !important;

    color: #fff !important;

    display: flex !important;

    align-items: center !important;

    justify-content: space-between !important;
}


.support-agent {
    display: flex !important;

    align-items: center !important;

    gap: 10px !important;
}


.support-agent-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #ffb300,
            #ff6f00
        );

    color: #fff;

    font-size: 20px;
}


.support-agent-title {
    font-size: 15px;

    font-weight: 800;
}


.support-online {
    margin-top: 2px;

    font-size: 10px;

    color: rgba(255,255,255,.9);
}


.support-online span {
    display: inline-block;

    width: 7px;
    height: 7px;

    margin-right: 4px;

    border-radius: 50%;

    background: #36e27b;
}


.support-close {
    width: 34px;
    height: 34px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: transparent;

    color: #fff;

    font-size: 18px;

    cursor: pointer;
}


.support-close:hover {
    background: rgba(255,255,255,.15);

    color: #fff;

    transform: rotate(90deg);
}


/* =========================================================
   CHAT BODY
   ========================================================= */

.support-chat-body {
    padding: 14px !important;

    background: #f7f9fc !important;

    max-height: calc(100vh - 260px);

    overflow-y: auto;
}


/* WELCOME */

.support-welcome {
    display: flex;

    gap: 10px;

    padding: 11px;

    margin-bottom: 13px;

    background: #fff;

    border-radius: 12px;

    border-left: 4px solid #2878ff;

    box-shadow:
        0 3px 12px rgba(0,0,0,.06);
}


.support-welcome-icon {
    font-size: 24px;
}


.support-welcome strong {
    color: #073b73;

    font-size: 14px;
}


.support-welcome p {
    margin: 3px 0 0;

    color: #6b7280;

    font-size: 11px;

    line-height: 1.4;
}


/* =========================================================
   FORM
   ========================================================= */

.support-field {
    margin-bottom: 10px;
}


.support-field label {
    display: block;

    margin-bottom: 5px;

    color: #24324a;

    font-size: 11px;

    font-weight: 700;
}


.support-field input,
.support-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 11px;
    border: 1px solid #d7dee8;
    border-radius: 9px;
    background: #fff;
    color: #24324a;
    font-size: 12px;
    outline: none;
}


.support-field input {
    height: 38px;
}


.support-field textarea {
    min-height: 70px;

    resize: none;
}


.support-field input:focus,
.support-field textarea:focus {
    border-color: #2878ff;

    box-shadow:
        0 0 0 3px rgba(40,120,255,.10);
}


/* SEND */

.support-send-btn {
    width: 100%;

    min-height: 40px;

    padding: 9px;

    border: none;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #2878ff,
            #673de6
        ) !important;

    color: #fff !important;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;
}


.support-send-btn:hover {
    color: #fff !important;

    transform: translateY(-1px);

    box-shadow:
        0 6px 15px rgba(40,120,255,.30);
}


/* STATUS */

.support-status {
    min-height: 15px;

    margin-top: 7px;

    text-align: center;

    font-size: 11px;
}


/* FOOTER */

.support-chat-footer {
    padding: 8px;

    background: #fff;

    border-top: 1px solid #edf0f4;

    color: #7a8492;

    text-align: center;

    font-size: 10px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .support-section {
        right: 10px !important;
        bottom: 10px !important;

        gap: 7px !important;
    }


    .support-whatsapp {
        min-width: 165px !important;

        padding:
            6px 11px 6px 6px !important;

        gap: 7px !important;
    }


    .support-icon {
        width: 44px !important;
        height: 44px !important;

        min-width: 44px !important;

        flex-basis: 44px !important;

        font-size: 23px !important;
    }


    .support-title {
        font-size: 12px !important;
    }


    .support-text {
        font-size: 9px !important;
    }


    .support-number {
        font-size: 12px !important;
    }


    .support-chat-btn {
        width: 46px !important;
        height: 46px !important;

        min-width: 46px !important;
        min-height: 46px !important;

        flex-basis: 46px !important;

        font-size: 21px !important;
    }


    .support-chat-box {
        right: 10px !important;

        bottom: 68px !important;

        width:
            calc(100vw - 20px) !important;

        max-width: none !important;

        max-height:
            calc(100vh - 90px) !important;
    }


    .support-chat-body {
        max-height:
            calc(100vh - 230px);
    }
}
/* DARK OVERLAY */


/* CONTENT ABOVE OVERLAY */
.container-fluid {
    position: relative;
    z-index: 2;
}

/* LOGIN BOX */
.login-box {
    width: 100%;
    padding: 30px 28px;
    background-color: rgb(231, 237, 240);
    color: #073233;
    border-radius:10px;
    border: 1px solid rgba(6, 158, 204, 0.986);

    box-shadow:
        0 25px 60px rgba(0,0,0,.30),
        0 8px 25px rgba(230,154,24,.30);

    backdrop-filter: blur(5px);

    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform .15s ease, box-shadow .25s ease;
    will-change: transform;
}

/* HEADING */
.login-box h3 {
    text-align: center;
    color:rgb(3, 28, 53);
    margin-bottom: 20px;
}

.login-box p {
    text-align: center;
    color:rgb(102, 35, 35) !important;
    margin-top:-5px !important;
    font-size: 14px;
}
/* LABEL */
.form-label {
    color:rgba(20, 30, 51, 0.95);
    font-weight: 600;
}

/* INPUT */
.input-group-text {
    background: rgba(56, 126, 153, 0.95);
}

/* BUTTON */
.btn-login {
    background:rgba(56, 126, 153, 0.95);
    color: #fff;
    font-weight: 700;
    border: none;
}

.btn-login:hover {
    background: #43a047;
    color: #fff;
}
form .bi{
    color: #fff;
    font-size: 16px;
}



/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

     .login-wrapper {
        background-size: fill;   /* 👈 main fix */
        background-position: top center; /* 👈 top text visible */
        background-repeat: no-repeat;
        background-color: #eaf2f8; /* empty space fill */
    }

    .login-box {
        max-width: 600px;   /* pehle 100% tha → ab better */
        min-height: 800px; /* 👈 form ko thoda bada karo */
        padding: 22px;
        margin-top: 80px; /* 👈 form ko thoda niche push */
    }
}


/* =========================================================
   LOGIN FOOTER
   ========================================================= */

.login-footer {

    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 7px 15px;
    box-sizing: border-box;
    background: rgba(201, 88, 13, 0.88);
    border-top: 1px solid rgba(255,255,255,0.20);
    color: rgba(255,255,255,0.90);
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    backdrop-filter: blur(5px);
}


/* WEBSITE LINK */

.login-footer a {

    color: #ffe600;

    font-weight: 700;

    text-decoration: none;

    transition:
        color .2s ease,
        text-shadow .2s ease;
}


.login-footer a:hover {

    color: #fff;

    text-decoration: underline;

    text-shadow:
        0 0 8px rgba(255,230,0,.50);
}


.footer-separator {

    color: rgba(255,255,255,.45);
}


/* =========================================================
   MOBILE FOOTER
   ========================================================= */

@media (max-width: 768px) {

    .login-footer {

        flex-direction: column;

        gap: 2px;

        padding: 6px 10px;

        font-size: 10px;
    }

    .footer-separator {
        display: none;
    }
}