﻿/*=========================
        GLOBAL
==========================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: 'Poppins',sans-serif;
    overflow-x: hidden;
}

body {
    background: #090d16;
    color: #fff;
}


/*=========================
      BACKGROUND
==========================*/

.login-wrapper {
    min-height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
}

.bg-animation {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    background: radial-gradient(circle at top left,#ff980015,transparent 35%), radial-gradient(circle at bottom right,#ff6b0018,transparent 40%), linear-gradient(135deg,#07111e,#101a29,#060b12);
}

    .bg-animation span {
        position: absolute;
        display: block;
        border-radius: 50%;
        filter: blur(20px);
        animation: float 14s linear infinite;
    }

        .bg-animation span:nth-child(1) {
            width: 280px;
            height: 280px;
            left: -80px;
            top: -80px;
            background: #ff980030;
        }

        .bg-animation span:nth-child(2) {
            width: 200px;
            height: 200px;
            right: 8%;
            top: 12%;
            background: #ff572230;
            animation-duration: 18s;
        }

        .bg-animation span:nth-child(3) {
            width: 260px;
            height: 260px;
            bottom: -90px;
            left: 35%;
            background: #ffc10722;
        }

        .bg-animation span:nth-child(4) {
            width: 170px;
            height: 170px;
            bottom: 15%;
            right: 12%;
            background: #ff980025;
            animation-duration: 20s;
        }

@keyframes float {

    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-35px) rotate(180deg);
    }

    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

/*=========================
        LEFT PANEL
==========================*/

.login-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px;
    position: relative;
    z-index: 2;
}

.brand {
    max-width: 520px;
}

.logo {
    width: 95px;
    margin-bottom: 25px;
}

.brand h1 {
    font-size: 55px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
}

.brand p {
    margin-top: 20px;
    color: #bfc9d7;
    font-size: 17px;
    line-height: 32px;
}

.feature-list {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    border-radius: 18px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.05);
    backdrop-filter: blur(20px);
    transition: .35s;
}

    .feature-item:hover {
        transform: translateX(10px);
        border-color: #ff9800;
        background: rgba(255,152,0,.08);
    }

    .feature-item i {
        width: 62px;
        height: 62px;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        color: #ff9800;
        background: #ffffff10;
    }

    .feature-item h5 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }

    .feature-item span {
        color: #b4c0cf;
        font-size: 14px;
    }

/*=========================
       RIGHT PANEL
==========================*/

.login-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.login-card {
    width: 100%;
    max-width: 480px;
    background: rgba(18,26,39,.72);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 30px;
    padding: 45px;
    box-shadow: 0 25px 60px rgba(0,0,0,.45), 0 0 50px rgba(255,152,0,.06);
}

.card-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-icon {
    width: 90px;
    height: 90px;
    margin: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#ff9800,#ff5722);
    color: #fff;
    font-size: 36px;
    box-shadow: 0 15px 35px rgba(255,152,0,.35);
}

.card-header h2 {
    margin-top: 25px;
    font-size: 33px;
    font-weight: 700;
}

.card-header p {
    color: #bcc7d5;
    margin-top: 8px;
}
/*==================================
        INPUT AREA
===================================*/

.input-box {
    margin-bottom: 10px;
}

    .input-box label {
        display: block;
        margin-bottom: 5px;
        font-size: 14px;
        font-weight: 500;
        color: #d8d8d8;
    }

.input-group-custom {
    position: relative;
}

    .input-group-custom i:first-child {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #ff9800;
        font-size: 17px;
        transition: .35s;
    }

    .input-group-custom input {
        width: 100%;
        height: 60px;
        padding: 0 55px;
        border-radius: 15px;
        border: 1px solid rgba(255,255,255,.08);
        background: rgba(255,255,255,.05);
        color: #fff;
        font-size: 15px;
        transition: .35s;
    }

        .input-group-custom input::placeholder {
            color: #8e98a6;
        }

        .input-group-custom input:focus {
            outline: none;
            border-color: #ff9800;
            background: rgba(255,255,255,.08);
            box-shadow: 0 0 0 4px rgba(255,152,0,.12);
        }

            .input-group-custom input:focus + i {
                color: #fff;
            }


/*=============================
      PASSWORD ICON
==============================*/

.password-box {
    position: relative;
}

    .password-box input {
        padding-left: 55px;
        padding-right: 55px;
    }

    .password-box span {
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #ff9800;
        z-index: 5;
    }

    .password-box span:hover {
        color: #ff9800;
    }


/*=============================
      OPTION AREA
==============================*/

.option-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0 30px;
}

    .option-area a {
        color: #ff9800;
        text-decoration: none;
        font-weight: 500;
    }

        .option-area a:hover {
            color: #ffc107;
        }

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d8d8d8;
}

    .remember input {
        accent-color: #ff9800;
    }


/*=============================
      LOGIN BUTTON
==============================*/

.login-btn {
    width: 100%;
    height: 65px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(90deg,#ff9800,#ff7b00);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: .3s;
}

  
    .login-btn i {
        margin-right: 10px;
    }

    .login-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(255,152,0,.35);
    }

    .login-btn:active {
        transform: scale(.98);
    }


/*=============================
        DIVIDER
==============================*/

.divider {
    position: relative;
    text-align: center;
    margin: 35px 0 20px;
}

    .divider::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background: rgba(255,255,255,.08);
    }


    .divider span {
        position: relative;
        display: inline-block;
        padding: 0 15px;
        background: #172232; /* login-card same color */
        color: #8ea0b5;
        font-size: 14px;
    }


/*=============================
        SIGNUP
==============================*/

.signup {
    text-align: center;
    color: #b8c4d2;
    font-size: 15px;
}

    .signup a {
        color: #ff9800;
        font-weight: 600;
        text-decoration: none;
    }

        .signup a:hover {
            color: #ffc107;
        }


/*=============================
        LOADER
==============================*/

.loader-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(4,10,18,.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
}

.loader-box {
    width: 260px;
    padding: 35px;
    border-radius: 22px;
    text-align: center;
    background: #172232;
    border: 1px solid rgba(255,255,255,.08);
}

.loader-spinner {
    width: 65px;
    height: 65px;
    margin: auto;
    border-radius: 50%;
    border: 6px solid rgba(255,255,255,.10);
    border-top: 6px solid #ff9800;
    animation: spin .8s linear infinite;
}

.loader-box h4 {
    margin-top: 22px;
    color: #fff;
}

.loader-box p {
    margin-top: 8px;
    color: #9aa7b8;
    font-size: 14px;
}

@keyframes spin {

    to {
        transform: rotate(360deg);
    }
}


/*=============================
      SCROLLBAR
==============================*/

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #ff9800;
    border-radius: 20px;
}

::-webkit-scrollbar-track {
    background: #101826;
}
/*==================================
        RESPONSIVE
===================================*/

@media (max-width:1100px) {

    .login-left {
        display: none;
    }

    .login-right {
        width: 100%;
        padding: 35px;
    }

    .login-card {
        max-width: 520px;
    }
}

@media (max-width:768px) {

    .login-right {
        padding: 20px;
    }

    .login-card {
        padding: 30px 22px;
        border-radius: 22px;
    }

    .login-icon {
        width: 75px;
        height: 75px;
        font-size: 30px;
    }

    .card-header h2 {
        font-size: 28px;
    }

    .option-area {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width:480px) {

    .login-card {
        padding: 25px 18px;
    }

    .input-group-custom input {
        height: 54px;
        font-size: 14px;
    }

    .login-btn {
        height: 55px;
        font-size: 15px;
    }
}
/*==============================
      BRAND POINTS
==============================*/

.brand-points {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    .brand-points div {
        display: flex;
        align-items: center;
        gap: 18px;
        padding: 16px 20px;
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 18px;
        backdrop-filter: blur(15px);
        color: #e9edf3;
        font-size: 17px;
        font-weight: 500;
        transition: all .35s ease;
        cursor: default;
    }

        .brand-points div:hover {
            transform: translateX(8px);
            background: rgba(255,152,0,.10);
            border-color: #ff9800;
            box-shadow: 0 10px 25px rgba(255,152,0,.18);
        }

    .brand-points span {
        min-width: 48px;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg,#ff9800,#ff6a00);
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        box-shadow: 0 8px 20px rgba(255,152,0,.35);
    }

/*==============================
      MOBILE
==============================*/

@media(max-width:991px) {

    .brand-points {
        margin-top: 25px;
    }

        .brand-points div {
            font-size: 15px;
            padding: 14px 16px;
        }

        .brand-points span {
            width: 42px;
            height: 42px;
            min-width: 42px;
            font-size: 14px;
        }
}
.sponsor-status {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeIn .3s ease;
}

    .sponsor-status.success {
        background: rgba(34,197,94,.12);
        color: #22c55e;
        border: 1px solid rgba(34,197,94,.35);
    }

    .sponsor-status.error {
        background: rgba(239,68,68,.12);
        color: #ef4444;
        border: 1px solid rgba(239,68,68,.35);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.sponsor-loader {
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff9800;
    font-size: 18px;
    z-index: 10;
}

.input-group-custom {
    position: relative;
}

/*==========================================
 PREMIUM SUCCESS MODAL
==========================================*/
.success-popup {
    width: 320px;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 15px 45px rgba(0,0,0,.18);
}

.popup-top {
    text-align: center;
    padding: 22px 20px 14px;
}

.popup-icon {
    width: 60px;
    height: 60px;
    margin: auto;
    border-radius: 50%;
    background: linear-gradient(135deg,#22c55e,#16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 8px 25px rgba(34,197,94,.35);
}

.popup-top h3 {
    margin: 16px 0 6px;
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
}

.popup-top p {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
}

.popup-info {
    padding: 0 18px;
}

.info-item {
    height: 56px;
    background: #1e293b;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    margin-bottom: 12px;
}

    .info-item span {
        color: #bfc8d6;
        font-size: 14px;
    }

    .info-item strong {
        color: #fff;
        font-size: 24px;
        font-weight: 700;
    }

.popup-btns {
    padding: 8px 18px 18px;
}

.btn-copy,
.btn-login {
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .25s;
}

.btn-copy {
    background: #253247;
    color: #fff;
    margin-bottom: 10px;
}

    .btn-copy:hover {
        background: #31425b;
    }

.btn-login {
    background: linear-gradient(90deg,#ff9d00,#ff7800);
    color: #fff;
}

    .btn-login:hover {
        color: #fff;
        transform: translateY(-2px);
    }

.modal-dialog {
    max-width: 340px;
}

@media(max-width:576px) {
    .success-popup {
        width: 95%;
    }
}