@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300;400;500;600;700&display=swap');

/* ===============================
   ROOT THEME VARIABLES
=============================== */
:root {
/* Base Colors */
    --theme-primary: #10b981;
    --theme-secondary: #0d9488;
    --theme-bg: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    /* Dynamic Shades generated natively by browser */
    --theme-dark: color-mix(in srgb, var(--theme-primary) 80%, black);
    --theme-muted: color-mix(in srgb, var(--theme-primary) 80%, white);
    --theme-border: color-mix(in srgb, var(--theme-primary) 30%, white);
    --theme-light: color-mix(in srgb, var(--theme-primary) 15%, white);
    --theme-lightest: color-mix(in srgb, var(--theme-primary) 5%, white);

    /* Transparencies & Shadows */
    --theme-alpha: color-mix(in srgb, var(--theme-primary) 20%, transparent);
    --theme-shadow: color-mix(in srgb, var(--theme-primary) 40%, transparent);
    --theme-shadow-light: color-mix(in srgb, var(--theme-primary) 15%, transparent);
}
::selection {
    background-color: var(--theme-light);
    color: var(--theme-dark);
}
.whatsapp-btn {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.whatsapp-btn:hover {
    box-shadow: 0 12px 24px -5px var(--theme-shadow);
    transform: translateY(-1px);
    filter: brightness(1.05);
}
/* ===============================
   GLOBAL
=============================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Jura', sans-serif;
    background-color: #f8fafc;
    letter-spacing: 0.02em;
}

/* ===============================
   THEME UTILITIES
=============================== */
.theme-text {
    color: var(--theme-primary) !important;
}

.theme-text-hover:hover {
    color: var(--theme-primary) !important;
}

.theme-bg-light {
    background-color: var(--theme-light) !important;
}

.theme-bg-light-hover:hover {
    background-color: var(--theme-light) !important;
}

.theme-border {
    border-color: var(--theme-primary) !important;
}

.theme-border-hover:hover {
    border-color: var(--theme-primary) !important;
}

.theme-btn {
    background: var(--theme-bg);
    color: white;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   
}

.theme-btn:hover {
    box-shadow: 0 12px 24px -5px var(--theme-shadow);
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* ===============================
   INPUT FOCUS
=============================== */
input:focus,
textarea:focus {
    --tw-ring-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    box-shadow: 0 0 0 2px var(--theme-light) !important;
}

/* ===============================
   GLASS + CARDS
=============================== */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.08);
}

.plan-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.1);
}

.plan-card.popular {
    border: 2px solid var(--theme-primary);
    background: rgba(255, 255, 255, 0.95);
}

/* ===============================
   SIDEBAR / NAV
=============================== */
.sidebar-item {
    transition: all 0.3s ease;
    color: #64748b;
}

.sidebar-item.active,
.nav-item.active {
    background: var(--theme-bg);
    color: white;
    box-shadow: 0 8px 20px -4px var(--theme-shadow);
}

  .nav-item.active .menu-dot {
      background-color: white !important;
      opacity: 1 !important;
  }

.nav-link {
    position: relative;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #1e293b;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--theme-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

   /* Submenu Active UI */
   .sub-nav-item.active {
       background-color: var(--theme-light) !important;
       color: var(--theme-primary) !important;
   }

   .sub-nav-item.active .menu-dot {
       background-color: var(--theme-primary) !important;
       opacity: 1 !important;
       transform: scale(1.3);
       box-shadow: 0 0 6px var(--theme-shadow);
   }

   .accordion-btn.active {
       background-color: var(--theme-light) !important;
       color: var(--theme-primary) !important;
   }

/* ===============================
   TABLE
=============================== */
.data-table-container {
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: white;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.03);
}

.table-row:hover {
    background-color: var(--theme-light);
}

/* ===============================
   DROPDOWN ANIMATION
=============================== */
.dropdown-animate {
    animation: slideIn 0.2s ease-out;
    transform-origin: top right;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===============================
   LOADER DOTS
=============================== */
.loader-dots div {
    animation: loader-dots 0.6s infinite alternate;
}

.loader-dots div:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dots div:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loader-dots {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0.3;
        transform: scale(0.7);
    }
}

/* ===============================
   SCROLL TOP BUTTON
=============================== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top-btn:hover {
    box-shadow: 0 15px 35px var(--theme-shadow);
    transform: translateY(-3px);
}

/* ===============================
   LUCIDE ICON FIX
=============================== */
.lucide {
    /* width: 1.25rem;
    height: 1.25rem; */
    stroke-width: 2px;
}
.hologram-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--theme-primary);
    animation: spin var(--speed) linear infinite;
    opacity: var(--opacity);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
   .theme-preset-btn {
       transition: transform 0.2s, box-shadow 0.2s;
   }

   .theme-preset-btn:hover {
       transform: scale(1.1);
   }

   .theme-preset-btn.selected {
       ring: 2px;
       ring-offset: 2px;
       border: 2px solid white;
       box-shadow: 0 0 0 2px var(--theme-primary);
   }

 .toggle-checkbox:checked {
     right: 0;
     border-color: var(--theme-primary);
 }

 .toggle-checkbox:checked+.toggle-label {
     background-color: var(--theme-primary);
 }

 /* Custom Scrollbar for sidebar */
 .custom-scrollbar::-webkit-scrollbar {
     width: 4px;
 }

 .custom-scrollbar::-webkit-scrollbar-track {
     background: transparent;
 }

 .custom-scrollbar::-webkit-scrollbar-thumb {
     background: #e2e8f0;
     border-radius: 10px;
 }

 .custom-scrollbar:hover::-webkit-scrollbar-thumb {
     background: #cbd5e1;
 }
 /* ===============================
           2FA & WIZARD SPECIFIC STYLES
        =============================== */
 .scan-line {
     position: absolute;
     left: 0;
     width: 100%;
     height: 2px;
     background: var(--theme-primary);
     box-shadow: 0 0 15px 2px color-mix(in srgb, var(--theme-primary) 60%, transparent);
     opacity: 0.9;
     animation: scan 2.5s ease-in-out infinite alternate;
     z-index: 10;
 }

 @keyframes scan {
     0% {
         top: 5%;
         opacity: 0;
     }

     10% {
         opacity: 1;
     }

     90% {
         opacity: 1;
     }

     100% {
         top: 95%;
         opacity: 0;
     }
 }

 .otp-input {
     width: 3.5rem;
     height: 4rem;
     text-align: center;
     font-size: 1.75rem;
     font-weight: 700;
     border: 2px solid #e2e8f0;
     border-radius: 1rem;
     background: #f8fafc;
     color: #1e293b;
     transition: all 0.3s ease;
 }

 .otp-input:focus {
     border-color: var(--theme-primary);
     background: white;
     box-shadow: 0 0 0 4px var(--theme-lightest);
     transform: translateY(-2px);
 }

 .wizard-step {
     display: none;
     opacity: 0;
 }

 .wizard-step.active {
     display: flex;
     animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
 }

 @keyframes slideUpFade {
     0% {
         opacity: 0;
         transform: translateY(20px) scale(0.98);
     }

     100% {
         opacity: 1;
         transform: translateY(0) scale(1);
     }
 }

 .success-checkmark {
     stroke-dasharray: 100;
     stroke-dashoffset: 100;
     animation: drawCheck 0.8s ease-out 0.2s forwards;
 }

 @keyframes drawCheck {
     100% {
         stroke-dashoffset: 0;
     }
 }

 /* ===============================
           ADDED: STEPPER UI & FORM CSS
        =============================== */
 /* .tech-font {
     font-family: 'Space Mono', monospace;
 } */

 .input-group {
     position: relative;
     transition: all 0.3s ease;
 }

 .custom-input {
     width: 100%;
     height: 3.5rem;

     background: #f8fafc;
     border: 2px solid #e2e8f0;
     font-size: 0.875rem;
     font-weight: 700;
     color: #1e293b;
     outline: none;
     transition: all 0.3s ease;
 }

 .custom-input:focus {
     background: white;
     border-color: var(--theme-primary);
     box-shadow: 0 0 0 4px var(--theme-lightest);
 }

 /* Stepper UI specific styles */
 .stepper-container {
     position: relative;
     display: flex;
     justify-content: space-between;
     align-items: center;
     width: 100%;
     max-width: 400px;
     margin: 0 auto;
 }

 .stepper-line-bg {
     position: absolute;
     top: 50%;
     left: 0;
     right: 0;
     height: 4px;
     background-color: #f1f5f9;
     transform: translateY(-50%);
     z-index: 1;
     border-radius: 2px;
 }

 .stepper-line-fill {
     position: absolute;
     top: 50%;
     left: 0;
     height: 4px;
     background-color: var(--theme-primary);
     transform: translateY(-50%);
     z-index: 2;
     border-radius: 2px;
     transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
 }

 .step-node {
     width: 48px;
     height: 48px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: 700;
     font-size: 15px;
     transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
     position: relative;
     z-index: 10;
     border: 5px solid white;
     /* This creates the exact gap over the line */
 }

 .step-node.completed {
     background-color: var(--theme-primary);
     color: white;
 }

 .step-node.active {
     background-color: var(--theme-primary);
     color: white;
     box-shadow: 0 0 25px color-mix(in srgb, var(--theme-primary) 50%, transparent);
 }

 .step-node.inactive {
     background-color: white;
     color: #cbd5e1;
     box-shadow: inset 0 0 0 2px #e2e8f0;
 }

 .step-label {
     position: absolute;
     top: calc(100% + 14px);
     left: 50%;
     transform: translateX(-50%);
     white-space: nowrap;
     font-size: 10px;
     font-weight: 700;
     letter-spacing: 0.1em;
     text-transform: uppercase;
     color: #94a3b8;
     transition: color 0.3s ease;
 }

 .step-node.completed .step-label {
     color: var(--theme-primary);
 }

 .step-node.active .step-label {
     color: var(--theme-primary);
 }

/* Split Card Container */
.widescreen-card {
    background: #ffffff;
    border-radius: 2.5rem;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02) inset;
    overflow: hidden;
    display: flex;
    width: 100%;
    max-width: 1100px;
    min-height: 580px;
    position: relative;
    z-index: 10;
}

/* Hero Left Panel */
.hero-panel {
    background: var(--theme-bg);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    opacity: 0.6;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
}

/* Logo Animations */
.ring-spin-1 {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    animation: spin 20s linear infinite;
}

.ring-spin-2 {
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    border: 1px dotted rgba(255, 255, 255, 0.2);
    animation: spin 25s linear infinite reverse;
}

/* Pill Input (Image 3 Match) */
.pill-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 9999px;
    padding: 0.35rem 0.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-input-wrapper:focus-within {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 4px var(--theme-lightest), 0 10px 25px -5px var(--theme-shadow-light);
    transform: translateY(-2px);
}

.pill-input {
    width: 100%;
    height: 3rem;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    padding: 0 1.5rem;
    letter-spacing: 0.25em;
    text-align: center;
}

.pill-input::placeholder {
    letter-spacing: normal;
    font-size: 0.875rem;
    color: #94a3b8;
}

/* OTP Circle Inputs */
.otp-circle {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.otp-circle:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 4px var(--theme-lightest), 0 10px 20px -5px var(--theme-shadow-light);
    transform: translateY(-4px) scale(1.05);
    outline: none;
}

/* Step Animations */
.login-step {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-step.active {
    display: block;
    animation: slideInFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInFade {
    0% {
        opacity: 0;
        transform: translateX(30px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.tech-scramble-text {
    display: inline-block;
    min-width: 160px;
    text-align: center;
}

/* Staggered load for left panel */
.stagger-up {
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===============================
           MODAL STEPPER CSS (For Setup Wizard)
        =============================== */
.stepper-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.stepper-line-bg {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #f1f5f9;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
}

.stepper-line-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background-color: var(--theme-primary);
    transform: translateY(-50%);
    z-index: 2;
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
    border: 4px solid white;
}

.step-node.completed {
    background-color: var(--theme-primary);
    color: white;
}

.step-node.active {
    background-color: var(--theme-primary);
    color: white;
    box-shadow: 0 0 20px color-mix(in srgb, var(--theme-primary) 50%, transparent);
}

.step-node.inactive {
    background-color: white;
    color: #cbd5e1;
    box-shadow: inset 0 0 0 2px #e2e8f0;
}

.step-label {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.step-node.completed .step-label,
.step-node.active .step-label {
    color: var(--theme-primary);
}

.scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--theme-primary);
    box-shadow: 0 0 15px 2px color-mix(in srgb, var(--theme-primary) 60%, transparent);
    opacity: 0.9;
    animation: scan 2.5s ease-in-out infinite alternate;
    z-index: 10;
}

@keyframes scan {
    0% {
        top: 5%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 95%;
        opacity: 0;
    }
}
.pill-input-wrapper input{
    box-shadow: none!important;
}


