/* =========================================================
   SPANEL LOGIN UI
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Inter", sans-serif;
    background: #f8fafc;
    color: #172033;
}


/* =========================================================
   PAGE GRID
========================================================= */

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
}


/* =========================================================
   LEFT PANEL
========================================================= */

.login-left {
    position: relative;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 52px 64px 30px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ff9300 0%,
            #ffae00 55%,
            #ffc52d 100%
        );
}


/* Decorative circles */

.login-left::before {
    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    right: -190px;
    top: -170px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.15);
}


.login-left::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    left: -260px;
    bottom: -300px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.09);
}


.left-pattern {
    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(
            rgba(255,255,255,.22) 1px,
            transparent 1px
        );

    background-size: 24px 24px;

    opacity: .32;
}


/* =========================================================
   BRAND CONTENT
========================================================= */

.brand-area {
    position: relative;
    z-index: 2;

    max-width: 660px;

    margin: auto 0;
}


.logo-box {
    width: 125px;
    height: 90px;

    background: #fff;

    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px;

    margin-bottom: 48px;

    box-shadow:
        0 14px 35px
        rgba(103,65,0,.18);
}


.logo-box img {
    max-width: 100%;
    max-height: 100%;
}


.portal-tag {
    display: inline-flex;

    align-items: center;

    padding: 7px 12px;

    margin-bottom: 16px;

    border-radius: 30px;

    background:
        rgba(255,255,255,.20);

    border:
        1px solid
        rgba(255,255,255,.30);

    color: #fff;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.brand-area h1 {
    max-width: 620px;

    font-size: 52px;

    line-height: 1.08;

    letter-spacing: -1.6px;

    color: #fff;

    font-weight: 800;
}


.brand-area h1 span {
    display: block;

    color: #263142;
}


.brand-description {
    max-width: 560px;

    margin-top: 22px;

    font-size: 16px;

    line-height: 1.75;

    color: rgba(33,43,56,.82);
}


/* =========================================================
   FEATURES
========================================================= */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

    margin-top: 45px;
}


.feature-card {
    min-height: 145px;

    padding: 18px;

    border-radius: 16px;

    background:
        rgba(255,255,255,.90);

    border:
        1px solid
        rgba(255,255,255,.70);

    backdrop-filter: blur(10px);

    box-shadow:
        0 14px 30px
        rgba(84,54,0,.08);
}


.feature-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    border-radius: 11px;

    background: #fff3dd;

    color: #ff9400;

    font-size: 17px;
}


.feature-card h3 {
    margin-bottom: 6px;

    font-size: 14px;

    color: #172033;
}


.feature-card p {
    font-size: 12px;

    line-height: 1.5;

    color: #7b8798;
}


/* =========================================================
   LEFT FOOTER
========================================================= */

.left-footer {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 8px;

    font-size: 11px;

    color:
        rgba(57,52,42,.75);
}


.footer-dot {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background:
        rgba(56,49,37,.60);
}


/* =========================================================
   RIGHT PANEL
========================================================= */

.login-right {
    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px;

    background:
        #f8fafc;
}


.login-wrapper {
    width: 100%;

    max-width: 470px;
}


.mobile-logo {
    display: none;
}


/* =========================================================
   LOGIN HEADING
========================================================= */

.small-title {
    display: block;

    margin-bottom: 8px;

    color: #ff9700;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.4px;
}


.login-heading h2 {
    font-size: 34px;

    line-height: 1.2;

    color: #172033;

    font-weight: 800;

    letter-spacing: -.7px;
}


.login-heading p {
    margin-top: 10px;

    margin-bottom: 34px;

    color: #7f8a9b;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.form-group {
    margin-bottom: 20px;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;

    color: #344055;

    font-weight: 700;
}


.input-box {
    position: relative;
}


.input-box input,
.input-box select {
    width: 100%;

    height: 54px;

    padding:
        0 48px
        0 50px;

    border:
        1px solid #dce3ec;

    outline: none;

    border-radius: 11px;

    background: #fff;

    color: #172033;

    font-size: 14px;

    font-family: inherit;

    appearance: none;

    transition: .2s ease;
}


.input-box input::placeholder {
    color: #a8b0bd;
}


.input-box input:focus,
.input-box select:focus {
    border-color: #ff9800;

    box-shadow:
        0 0 0 4px
        rgba(255,152,0,.09);
}


.input-icon {
    position: absolute;

    left: 17px;

    top: 50%;

    transform:
        translateY(-50%);

    width: 20px;

    text-align: center;

    color: #98a3b3;

    font-size: 15px;

    pointer-events: none;

    z-index: 2;
}


.password-toggle {
    position: absolute;

    right: 8px;

    top: 50%;

    transform:
        translateY(-50%);

    width: 40px;
    height: 40px;

    border: 0;

    border-radius: 8px;

    background: transparent;

    color: #8b96a6;

    cursor: pointer;
}


.password-toggle:hover {
    background: #f6f7f9;
}


.select-arrow {
    position: absolute;

    right: 17px;

    top: 50%;

    transform:
        translateY(-50%);

    font-size: 11px;

    color: #8792a2;

    pointer-events: none;
}


/* =========================================================
   LOGIN OPTIONS
========================================================= */

.login-options {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 3px;

    margin-bottom: 24px;
}


.remember-me {
    display: flex;

    align-items: center;

    gap: 8px;

    cursor: pointer;

    color: #6f7a8b;

    font-size: 12px;
}


.remember-me input {
    width: 16px;
    height: 16px;

    accent-color: #ff9800;
}


.forgot-link {
    color: #f58d00;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;
}


.forgot-link:hover {
    text-decoration: underline;
}


/* =========================================================
   BUTTON
========================================================= */

.login-btn {
    width: 100%;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    border: 0;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #ff9300,
            #ffad00
        );

    color: #fff;

    font-size: 15px;

    font-weight: 700;

    font-family: inherit;

    cursor: pointer;

    box-shadow:
        0 12px 25px
        rgba(255,147,0,.22);

    transition: .2s ease;
}


.login-btn:hover {
    transform:
        translateY(-1px);

    box-shadow:
        0 15px 30px
        rgba(255,147,0,.28);
}


.login-btn:disabled {
    opacity: .75;

    cursor: not-allowed;

    transform: none;
}


/* =========================================================
   SECURITY
========================================================= */

.security-line {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    margin-top: 20px;

    font-size: 10px;

    color: #929baa;
}


.security-line i {
    color: #14a158;
}


.security-dot {
    width: 3px;
    height: 3px;

    background: #c2c8d1;

    border-radius: 50%;
}


/* =========================================================
   SUPPORT
========================================================= */

.support-box {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-top: 36px;

    padding: 14px 15px;

    border:
        1px solid #e7ebf0;

    border-radius: 12px;

    background: #fff;
}


.support-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fff4e0;

    color: #ff9500;

    border-radius: 10px;
}


.support-content {
    flex: 1;
}


.support-content strong {
    display: block;

    margin-bottom: 3px;

    font-size: 12px;
}


.support-content p {
    color: #929baa;

    font-size: 10px;

    line-height: 1.5;
}


.support-box a {
    color: #ff9500;

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1150px) {

    .login-page {
        grid-template-columns:
            1fr 1fr;
    }


    .login-left {
        padding:
            40px 38px 25px;
    }


    .brand-area h1 {
        font-size: 42px;
    }


    .feature-grid {
        grid-template-columns: 1fr;
    }


    .feature-card {
        min-height: auto;

        display: flex;

        gap: 13px;

        align-items: center;
    }


    .feature-icon {
        margin-bottom: 0;

        flex-shrink: 0;
    }

}
.text-danger {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #dc3545;
}

@media (max-width: 850px) {

    .login-page {
        display: block;
    }


    .login-left {
        display: none;
    }


    .login-right {
        min-height: 100vh;

        padding:
            35px 20px;
    }


    .mobile-logo {
        display: flex;

        justify-content: center;

        margin-bottom: 35px;
    }


    .mobile-logo img {
        max-width: 135px;
    }


    .login-heading {
        text-align: center;
    }


    .login-heading h2 {
        font-size: 29px;
    }

}


@media (max-width: 480px) {

    .login-right {
        padding:
            25px 16px;
    }


    .login-options {
        align-items: flex-start;
    }


    .support-box a {
        display: none;
    }

}