/**
 * VIP MLM Engine
 * Enterprise Login UI
 */

:root{
    --vip-primary:#2563eb;
    --vip-secondary:#4f46e5;
    --vip-accent:#06b6d4;

    --vip-bg:#eef4ff;

    --vip-white:#ffffff;

    --vip-text:#172554;
    --vip-muted:#64748b;

    --vip-border:rgba(255,255,255,.35);

    --vip-shadow:
        0 25px 60px rgba(37,99,235,.15);

    --vip-radius:22px;

    --vip-transition:.30s ease;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{

    min-height:100%;
}

body{

    font-family:
        Inter,
        Arial,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #4f46e5,
            #06b6d4
        );

    background-size:400% 400%;

    animation:
        vipGradient
        14s
        ease
        infinite;

    overflow-x:hidden;
}

@keyframes vipGradient{

    0%{
        background-position:0 50%;
    }

    50%{
        background-position:100% 50%;
    }

    100%{
        background-position:0 50%;
    }

}

.vip-login-page{

    width:100%;

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:40px;
}

.vip-login-wrapper{

    width:100%;

    max-width:1350px;

    min-height:760px;

    display:grid;

    grid-template-columns:
        1fr
        520px;

    overflow:hidden;

    border-radius:30px;

    background:
        rgba(255,255,255,.08);

    backdrop-filter:
        blur(24px);

    box-shadow:
        var(--vip-shadow);
}

.vip-login-left{

    padding:80px;

    color:#fff;

    display:flex;

    flex-direction:column;

    justify-content:center;

    position:relative;
}

.vip-login-left::before{

    content:"";

    width:420px;

    height:420px;

    position:absolute;

    right:-140px;

    top:-120px;

    border-radius:50%;

    background:
        rgba(255,255,255,.10);

    filter:blur(10px);
}

.vip-brand{

    font-size:48px;

    font-weight:700;

    line-height:1.2;

    margin-bottom:20px;
}

.vip-tagline{

    font-size:18px;

    opacity:.95;

    line-height:1.8;

    max-width:520px;
}

.vip-features{

    margin-top:60px;

    display:grid;

    gap:18px;
}

.vip-feature{

    display:flex;

    align-items:center;

    gap:18px;

    background:
        rgba(255,255,255,.12);

    padding:18px 22px;

    border-radius:18px;

    border:
        1px solid rgba(255,255,255,.18);
}

.vip-feature-icon{

    width:52px;

    height:52px;

    border-radius:14px;

    background:
        rgba(255,255,255,.18);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;
}

.vip-feature-title{

    font-weight:600;

    font-size:17px;
}

.vip-feature-text{

    font-size:14px;

    opacity:.8;

    margin-top:4px;
}

.vip-login-right{

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:50px;
}

.vip-login-card{

    width:100%;

    max-width:400px;
}

.vip-login-title{

    font-size:34px;

    color:var(--vip-text);

    font-weight:700;

    margin-bottom:10px;
}

.vip-login-subtitle{

    color:var(--vip-muted);

    margin-bottom:40px;
}

.vip-field{

    margin-bottom:22px;
}

.vip-field label{

    display:block;

    margin-bottom:8px;

    color:var(--vip-text);

    font-weight:600;
}

.vip-field input{

    width:100%;

    height:56px;

    border-radius:14px;

    border:1px solid #dbe4ff;

    padding:0 18px;

    font-size:15px;

    transition:var(--vip-transition);

    outline:none;
}

.vip-field input:focus{

    border-color:var(--vip-primary);

    box-shadow:
        0 0 0 4px
        rgba(37,99,235,.12);
}

.vip-password-group{

    position:relative;
}

.vip-password-toggle{

    position:absolute;

    right:16px;

    top:50%;

    transform:translateY(-50%);

    border:none;

    background:none;

    cursor:pointer;
}

.vip-login-options{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin:25px 0;
}

.vip-btn{

    width:100%;

    height:56px;

    border:none;

    border-radius:16px;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #4f46e5
        );

    color:#fff;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:.25s;
}

.vip-btn:hover{

    transform:translateY(-2px);

    box-shadow:
        0 18px 35px
        rgba(37,99,235,.25);
}

.vip-login-footer{

    margin-top:35px;

    text-align:center;

    color:var(--vip-muted);
}

.vip-login-footer a{

    text-decoration:none;

    color:var(--vip-primary);

    font-weight:600;
}

/* =========================================================
   VIP LOGIN - RESPONSIVE MOBILE FIX
   ========================================================= */

/* Prevent grid children from creating horizontal overflow */
.vip-login-wrapper,
.vip-login-left,
.vip-login-right,
.vip-login-card {
    min-width: 0;
}

/* Tablet */
@media (max-width: 1024px) {

    .vip-login-page {
        padding: 24px;
    }

    .vip-login-wrapper {
        max-width: 100%;
        min-height: auto;
        grid-template-columns: 1fr 420px;
    }

    .vip-login-left {
        padding: 50px;
    }

    .vip-login-right {
        padding: 40px 30px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    html,
    body {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .vip-login-page {
        width: 100%;
        min-height: 100vh;
        padding: 15px;
        display: block;
    }

    .vip-login-wrapper {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-radius: 22px;
    }

    /* -------------------------
       LEFT BRAND PANEL
       ------------------------- */

    .vip-login-left {
        width: 100%;
        min-width: 0;
        padding: 40px 24px;
        display: block;
        text-align: center;
    }

    .vip-login-left::before {
        width: 260px;
        height: 260px;
        right: -100px;
        top: -80px;
    }

    .vip-brand {
        font-size: 38px;
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .vip-login-left h1 {
        font-size: 28px;
        line-height: 1.25;
        word-break: normal;
        overflow-wrap: anywhere;
        margin: 0;
    }

    .vip-login-left p,
    .vip-tagline {
        font-size: 15px;
        line-height: 1.6;
        max-width: 100%;
    }

    /* Features become compact on mobile */

    .vip-features {
        margin-top: 30px;
        gap: 12px;
        text-align: left;
    }

    .vip-feature {
        gap: 12px;
        padding: 14px;
        border-radius: 14px;
    }

    .vip-feature-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 20px;
        border-radius: 12px;
    }

    .vip-feature-title {
        font-size: 15px;
    }

    .vip-feature-text {
        font-size: 12px;
        line-height: 1.4;
    }

    /* Copyright */

    .vip-login-left > div:last-child {
        margin-top: 30px !important;
        font-size: 12px !important;
    }


    /* -------------------------
       RIGHT LOGIN PANEL
       ------------------------- */

    .vip-login-right {
        width: 100%;
        min-width: 0;
        padding: 35px 22px 40px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .vip-login-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .vip-login-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .vip-login-subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 28px;
    }

    .vip-field {
        width: 100%;
        margin-bottom: 18px;
    }

    .vip-field label {
        font-size: 14px;
    }

    .vip-field input {
        width: 100%;
        max-width: 100%;
        height: 52px;
        padding: 0 15px;
        font-size: 14px;
    }

    .vip-password-group {
        width: 100%;
        min-width: 0;
    }

    .vip-password-toggle {
        right: 12px;
    }

    .vip-login-options {
        width: 100%;
        gap: 12px;
        flex-wrap: wrap;
        margin: 20px 0;
        font-size: 13px;
    }

    .vip-login-options label {
        max-width: 100%;
    }

    .vip-login-options a {
        margin-left: auto;
        white-space: nowrap;
    }

    .vip-btn {
        width: 100%;
        height: 52px;
        font-size: 15px;
        border-radius: 14px;
    }

    .vip-login-footer {
        margin-top: 25px;
        font-size: 13px;
        line-height: 1.5;
    }

}


/* =========================================================
   SMALL MOBILE - 360px / 375px
   ========================================================= */

@media (max-width: 400px) {

    .vip-login-page {
        padding: 10px;
    }

    .vip-login-wrapper {
        border-radius: 18px;
    }

    .vip-login-left {
        padding: 32px 18px;
    }

    .vip-brand {
        font-size: 34px;
    }

    .vip-login-left h1 {
        font-size: 24px;
    }

    .vip-features {
        margin-top: 24px;
    }

    .vip-feature {
        padding: 12px;
    }

    .vip-feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 18px;
    }

    .vip-feature-title {
        font-size: 14px;
    }

    .vip-feature-text {
        font-size: 11px;
    }

    .vip-login-right {
        padding: 30px 18px 35px;
    }

    .vip-login-title {
        font-size: 26px;
    }

    .vip-login-subtitle {
        font-size: 13px;
    }

    .vip-login-options {
        font-size: 12px;
    }

}
/* =========================================================

   VIP LOGIN - FINAL RESPONSIVE FIX
   Handles mobile browsers reporting large CSS viewport
   ========================================================= */

@media screen and (max-width: 1100px) {

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    .vip-login-page {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100vh !important;
        box-sizing: border-box !important;
        padding: 15px !important;
        overflow-x: hidden !important;
    }

    .vip-login-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: auto !important;

        display: flex !important;
        flex-direction: column !important;

        grid-template-columns: none !important;
        grid-template-rows: none !important;

        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .vip-login-left {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;

        padding: 40px 25px !important;

        flex: 0 0 auto !important;
    }

    .vip-login-right {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;

        padding: 40px 25px !important;

        flex: 0 0 auto !important;
    }

    .vip-login-card {
        width: 100% !important;
        max-width: 520px !important;
        min-width: 0 !important;

        margin-left: auto !important;
        margin-right: auto !important;

        box-sizing: border-box !important;
    }

    .vip-login-left *,
    .vip-login-right * {
        max-width: 100%;
        box-sizing: border-box;
    }

}

@media screen and (max-width: 500px) {

    .vip-login-page {
        padding: 8px !important;
    }

    .vip-login-wrapper {
        border-radius: 18px !important;
    }

    .vip-login-left {
        padding: 30px 18px !important;
    }

    .vip-login-right {
        padding: 30px 18px 35px !important;
    }

    .vip-login-card {
        max-width: 100% !important;
    }

}
/* =========================================================
   VIP LOGIN - ELEMENTOR MOBILE FULL WIDTH FIX
   ========================================================= */

@media screen and (max-width: 767px) {

    body.page-id-35 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    body.page-id-35 .elementor.elementor-35 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.page-id-35 .elementor-element-f4a13af {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.page-id-35 .e-con-inner {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.page-id-35 .elementor-widget-shortcode {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.page-id-35 .elementor-shortcode {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .vip-login-page {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

}

/* =========================================================
   VIP LOGIN - ELEMENTOR FULL WIDTH MOBILE FIX
   ========================================================= */

@media screen and (max-width: 1100px) {

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    .elementor.elementor-35,
    .elementor-element-f4a13af,
    .elementor-element-f4a13af > .e-con-inner,
    .elementor-widget-shortcode,
    .elementor-shortcode {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        box-sizing: border-box !important;
    }

    .vip-login-page {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;

        box-sizing: border-box !important;
    }

    .vip-login-wrapper {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;
    }
}


/* =========================================================
   VIP LOGIN - SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 500px) {

    .elementor.elementor-35,
    .elementor-element-f4a13af,
    .elementor-element-f4a13af > .e-con-inner,
    .elementor-widget-shortcode,
    .elementor-shortcode,
    .vip-login-page,
    .vip-login-wrapper {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;
    }

}

/* =========================================================
   VIP LOGIN - REMOVE ELEMENTOR MOBILE OUTER PADDING
   ========================================================= */

@media screen and (max-width: 1100px) {

    .elementor-element-f4a13af > .e-con-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .elementor-element-f4a13af
    .elementor-widget-shortcode {
        width: 100% !important;
        max-width: 100% !important;
    }

    .vip-login-page {
        width: 100% !important;
        max-width: 100% !important;
    }

    .vip-login-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* =========================================================
   VIP LOGIN - FINAL ELEMENTOR CONTAINER PADDING FIX
   ========================================================= */

@media screen and (max-width: 1100px) {

    body.page-id-35 .elementor-element-f4a13af > .e-con-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.page-id-35 .elementor-element-f4a13af .elementor-widget-shortcode {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.page-id-35 .elementor-element-f4a13af .elementor-shortcode {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.page-id-35 .vip-login-page {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.page-id-35 .vip-login-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }
}
