/*==================================================
    PREMIUM LOGIN UI
==================================================*/

/*==========================
    GOOGLE FONT
===========================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*==========================
    RESET
===========================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Poppins',sans-serif;
    background: #eef3ff;
    overflow: hidden;
    color: #1f2937;
}

/*==========================
    VARIABLES
===========================*/

:root {
    --primary: #4f46e5;
    --primary2: #2563eb;
    --primary3: #4b87ff;
    --white: #ffffff;
    --text: #1f2937;
    --gray: #64748b;
    --border: #e8edf7;
    --radius: 28px;
}

/*==========================
    COMMON
===========================*/

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

button {
    border: none;
    cursor: pointer;
    font-family: 'Poppins',sans-serif;
}

input {
    outline: none;
    font-family: 'Poppins',sans-serif;
}

/*==========================
    APP CONTAINER
===========================*/

.app-container {
    width: 100%;
    height: 100vh;
    padding: 14px;
    background: linear-gradient( 180deg, #f7f9ff 0%, #edf3ff 100% );
}

/*==========================
    LOGIN CONTAINER
===========================*/

.login-container {
    display: grid;
    grid-template-columns: 50% 50%;
    height: calc(100vh - 82px);
    background: #fff;
    border-radius: 32px 32px 0 0;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(40,60,120,.08);
}

/*==========================
    LEFT PANEL
===========================*/

.left-side {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 45px 60px;
    background: linear-gradient( 135deg, #5b5ef5 0%, #3f74ff 45%, #5ca0ff 100% );
}

    /*==========================
    LARGE CIRCLE
===========================*/

    .left-side::before {
        content: "";
        position: absolute;
        width: 700px;
        height: 700px;
        border-radius: 50%;
        left: -360px;
        top: -220px;
        background: rgba(255,255,255,.05);
    }

    /*==========================
    LOWER CIRCLE
===========================*/

    .left-side::after {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        right: -170px;
        bottom: -140px;
        background: rgba(255,255,255,.06);
    }

/*==========================
    OVERLAY
===========================*/

.overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

    /*==========================
    DASHED CIRCLE
===========================*/

    .overlay::before {
        content: "";
        position: absolute;
        width: 900px;
        height: 900px;
        border-radius: 50%;
        left: -520px;
        top: -180px;
        border: 2px dashed rgba(255,255,255,.10);
    }

    /*==========================
    SECOND DASHED
===========================*/

    .overlay::after {
        content: "";
        position: absolute;
        width: 620px;
        height: 620px;
        border-radius: 50%;
        right: -300px;
        top: 60px;
        border: 2px dashed rgba(255,255,255,.10);
    }

/*==========================
    FLOATING PARTICLES
===========================*/

.left-side span {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.30);
    animation: float 8s ease-in-out infinite;
}

    .left-side span:nth-child(2) {
        width: 12px;
        height: 12px;
        top: 120px;
        left: 110px;
    }

    .left-side span:nth-child(3) {
        width: 24px;
        height: 24px;
        top: 40px;
        left: 180px;
    }

    .left-side span:nth-child(4) {
        width: 18px;
        height: 18px;
        top: 80px;
        right: 180px;
    }

    .left-side span:nth-child(5) {
        width: 10px;
        height: 10px;
        bottom: 180px;
        right: 120px;
    }

    .left-side span:nth-child(6) {
        width: 20px;
        height: 20px;
        bottom: 90px;
        left: 70px;
    }

@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }

    100% {
        transform: translateY(0);
    }
}

/*==========================
    LEFT CONTENT
===========================*/

.left-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 560px;
    text-align: center;
    color: #fff;
}


/*==================================================
    LOGO
==================================================*/

.logo-box {
    width: 95px;
    height: 95px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

    .logo-box img {
        width: 67px;
        height: auto;
    }

/*==================================================
    COMPANY
==================================================*/

.company-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 18px;
    text-shadow: 0 3px 10px rgba(0,0,0,.18);
}

.location {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: .95;
}

    .location i {
        margin-right: 8px;
    }


/*==================================================
    DIVIDER
==================================================*/

.line {
    width: 70px;
    height: 4px;
    border-radius: 10px;
    background: #ffffff;
    margin: 18px auto 28px;
}


/*==================================================
    DESCRIPTION
==================================================*/

.description {
    max-width: 520px;
    margin: 0 auto 40px;
    font-size: 22px;
    line-height: 36px;
    color: #ffffff;
    opacity: .95;
}


/*==================================================
    STATISTICS
==================================================*/

/*=============================
    STATISTICS
=============================*/

.statistics {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
    margin-top: 30px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0,0,0,.10);
    transition: .3s;
}

    .stat-card:hover {
        transform: translateY(-4px);
    }

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    flex-shrink: 0;
}

    .stat-icon i {
        font-size: 20px;
    }

.purple {
    background: #5B5EF5;
}

.green {
    background: #21C77A;
}

.pink {
    background: #FF4E8A;
}

.blue {
    background: #2D9CFF;
}

.stat-content h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
}

.stat-content h5 {
    margin: 2px 0;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
}

.stat-content p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}


/*==================================================
    CITY
==================================================*/

.city {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

    .city img {
        width: 100%;
        opacity: .95;
    }


    /*==================================================
    WHITE WAVE
==================================================*/

    .city::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -2px;
        height: 55px;
        background: #ffffff;
        border-radius: 100% 100% 0 0;
    }
.company-subtitle {
    color: #fff;
    font-size: 52px;
    font-weight: 700;
    margin-top: -8px;
    margin-bottom: 18px;
}

/*==================================================
    RIGHT PANEL
==================================================*/

.right-side {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fbff;
    padding: 50px 70px;
    overflow: hidden;
}

    /* Decorative Background */

    .right-side::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: rgba(79,70,229,.05);
        top: -180px;
        right: -150px;
    }

    .right-side::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(37,99,235,.06);
        bottom: -120px;
        left: -80px;
    }


/*==================================================
    LOGIN CARD
==================================================*/

.login-card {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 30px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0,0,0,.08);
    transition: .35s;
}

    .login-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 35px 70px rgba(0,0,0,.12);
    }


/*==================================================
    LOGIN ICON
==================================================*/

/*==========================
    LOGIN ICON
==========================*/

.login-icon {
    width: 40px;
    height: 40px;
    border-radius: 16px;
    background: linear-gradient(135deg,#6D5DF6,#3B82F6);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 20px 0; /* Left aligned */

    box-shadow: 0 12px 30px rgba(91,94,245,.25);
}

    .login-icon i {
        color: #fff;
        font-size: 20px;
    }

/*==================================================
    HEADING
==================================================*/

.login-card h2 {
    text-align: left;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.login-subtitle {
    text-align: left;
    color: #64748b;
    font-size: 15px;
    margin-bottom: 30px;
}


/*==================================================
    ERROR
==================================================*/

.error {
    background: #fee2e2;
    color: #dc2626;
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    margin-bottom: 22px;
    font-size: 14px;
    border: 1px solid #fecaca;
}


/*==================================================
    FORM
==================================================*/

.login-card form {
    width: 100%;
}


/*==================================================
    FORM GROUP
==================================================*/

. /*==========================================
    FORM GROUP
==========================================*/
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

/*==========================================
    INPUT WRAPPER
==========================================*/

.input {
    position: relative;
}

    /*==========================================
    INPUT BOX
==========================================*/

    .input input {
        width: 100%;
        height: 44px; /* Smaller height */

        border: 1.5px solid #dbe3f1;
        border-radius: 14px;
        background: #fff;
        padding: 0 42px;
        font-size: 14px;
        color: #374151;
        transition: .3s;
        box-shadow: none;
    }

        .input input:focus {
            border-color: #5B5EF5;
            box-shadow: 0 0 0 3px rgba(91,94,245,.12);
        }

    /*==========================================
    LEFT ICON
==========================================*/

    .input i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 15px;
        color: #9ca3af;
    }

/*==========================================
    PASSWORD EYE
==========================================*/

#togglePassword {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #9ca3af;
    cursor: pointer;
}

    #togglePassword:hover {
        color: #5B5EF5;
    }

/* Placeholder */

.input input::placeholder {
    font-size: 14px;
    color: #9ca3af;
}

    /*==================================================
    INPUT ICON
==================================================*/

    .input i {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 18px;
        transition: .3s;
    }

    /* Active Icon */

    .input:focus-within i {
        color: #4f46e5;
    }

    /*==================================================
    PLACEHOLDER
==================================================*/

    .input input::placeholder {
        color: #9ca3af;
        font-size: 14px;
    }

/*==================================================
    PASSWORD TOGGLE
==================================================*/

#togglePassword {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    cursor: pointer;
    transition: .3s;
    font-size: 18px;
}

    #togglePassword:hover {
        color: #4f46e5;
    }

/*==================================================
    OPTIONS
==================================================*/

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 22px 0 28px;
}

/*==================================================
    REMEMBER
==================================================*/

.remember {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
}

    .remember input {
        width: 18px;
        height: 18px;
        accent-color: #4f46e5;
        cursor: pointer;
    }

/*==================================================
    FORGOT PASSWORD
==================================================*/

.options a {
    color: #4f46e5;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}

    .options a:hover {
        color: #2563eb;
        text-decoration: underline;
    }

/*==================================================
    VALIDATION
==================================================*/

.text-danger {
    font-size: 13px;
    color: #dc2626 !important;
    margin-top: 6px;
}
/*==================================================
    LOGIN BUTTON
==================================================*/

/*==========================================
    LOGIN BUTTON
==========================================*/

.login-btn {
    width: 100%;
    height: 46px; /* Smaller height */

    border: none;
    border-radius: 14px;
    background: linear-gradient(90deg,#6C4CF5,#3B82F6);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 10px 25px rgba(76,81,255,.25);
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 35px rgba(76,81,255,.35);
    }

    .login-btn:active {
        transform: scale(.98);
    }

    .login-btn i {
        font-size: 15px;
    }

/*==================================================
    DIVIDER
==================================================*/

.or {
    position: relative;
    text-align: center;
    margin: 28px 0;
}

    .or::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background: #e5e7eb;
    }

    .or span {
        position: relative;
        background: #fff;
        padding: 0 16px;
        color: #94a3b8;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1px;
    }


/*==================================================
    SOCIAL BUTTONS
==================================================*/

.social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

    .social button {
        height: 54px;
        border-radius: 16px;
        border: 2px solid #e5e7eb;
        background: #fff;
        font-size: 14px;
        font-weight: 600;
        color: #334155;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        transition: .3s;
    }

        .social button i {
            font-size: 18px;
        }

        .social button:hover {
            background: #f8fbff;
            border-color: #4f46e5;
            transform: translateY(-2px);
        }

        .social button:first-child i {
            color: #EA4335;
        }

        .social button:last-child i {
            color: #2563eb;
        }


/*==================================================
    SECURITY
==================================================*/

.security {
    margin-top: 28px;
    background: #eff6ff;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 500;
}

    .security i {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #dbeafe;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
    }


/*==================================================
    INPUT HOVER
==================================================*/

.input:hover input {
    border-color: #c7d2fe;
}


/*==================================================
    CARD ANIMATION
==================================================*/

.login-card {
    animation: cardFade .7s ease;
}

@keyframes cardFade {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.login-btn {
    overflow: hidden;
    position: relative;
}

    .login-btn::after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        background: rgba(255,255,255,.25);
        border-radius: 50%;
        transition: .5s;
    }

    .login-btn:hover::after {
        width: 350px;
        height: 350px;
    }

/*==========================================
    FOOTER
==========================================*/

.footer {
    height: 60px;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    border-top: 1px solid #edf2f7;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.footer-left {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 14px;
}

.version-badge {
    background: #10b981;
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}


.company-title {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #fff;
    text-align: center;
}

.company-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-top: -5px;
    margin-bottom: 2px;
}

.location {
    font-size: 16px;
    margin-bottom: 15px;
}
.description {
    max-width: 470px;
    margin: 22px auto 30px;
    font-size: 16px;
    line-height: 30px;
}

@media (max-width:991px) {

    .login-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .left-side {
        padding: 35px;
        min-height: 420px;
    }

    .right-side {
        padding: 35px;
    }

    .footer {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        height: auto;
        padding: 15px;
    }
}
@media (max-width:576px) {

    body {
        overflow: auto;
    }

    .app-container {
        padding: 8px;
        height: auto;
    }

    .login-container {
        border-radius: 18px;
    }

    .left-side {
        padding: 25px;
    }

    .right-side {
        padding: 20px;
    }

    .company-title {
        font-size: 24px;
    }

    .description {
        font-size: 14px;
        line-height: 24px;
    }

    .statistics {
        grid-template-columns: 1fr;
        gap: 10px;
    }

        .statistics .item {
            padding: 12px;
        }

    .login-card {
        padding: 24px;
    }

    .footer {
        text-align: center;
    }
}

.city-bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url('/images/city.png') no-repeat center bottom;
    background-size: cover;
    opacity: 1; /* More visible */
    z-index: 1;
    pointer-events: none;
}

.overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient( to bottom, rgba(255,255,255,.03), rgba(255,255,255,.02) );
}
.left-content {
    position: relative;
    z-index: 5;
}
.statistics {
    position: relative;
    z-index: 5;
}
.left-side::after {
    content: "";
    position: absolute;
    left: -10%;
    bottom: -40px;
    width: 120%;
    height: 90px;
    background: #fff;
    border-radius: 50% 50% 0 0;
    z-index: 3;
}
.validation-summary-modern {
    display: none;
    margin-bottom: 20px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #fff5f5, #ffe9e9);
    border: 1px solid #fecaca;
    border-left: 5px solid #ef4444;
    border-radius: 14px;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(239,68,68,.12);
    animation: fadeIn .35s ease;
}

    .validation-summary-modern.validation-summary-errors,
    .validation-summary-modern:not(:empty) {
        display: block;
    }

    .validation-summary-modern ul {
        margin: 0;
        padding-left: 25px;
    }

    .validation-summary-modern li {
        margin: 6px 0;
    }

    .validation-summary-modern::before {
        content: "\f071";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        margin-right: 10px;
        color: #dc2626;
        font-size: 18px;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}