/* ==========================================================================
   SMM Sandeep - Universal Theme System (Light & Dark Mode)
   Default / Preview: Light Mode with Vibrant Colors & Radiant Pastel Glows
   ========================================================================== */

/* --------------------------------------------------------------------------
   Default Light Theme (when data-theme="light" or default initial state)
   -------------------------------------------------------------------------- */
:root,
[data-theme="light"] {
    --bg-deep: #f6f9fe;
    --neon-cyan: #0284c7;
    --neon-purple: #7c3aed;
    --neon-pink: #ec4899;
    --neon-primary: #0284c7;
    --neon-secondary: #7c3aed;
    --card-bg: #ffffff;
    --card-border: rgba(226, 232, 240, 0.9);
    --text-color: #0f172a;
    --text-muted: #64748b;
    --sidebar-bg: #ffffff;
    --input-bg: #f8fafc;
    --input-border: #cbd5e1;
    --table-border: rgba(0, 0, 0, 0.06);
    --table-hover: rgba(2, 132, 199, 0.05);
}

/* --------------------------------------------------------------------------
   Dark Theme (when data-theme="dark")
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
    --bg-deep: #030511;
    --neon-cyan: #00f3ff;
    --neon-purple: #b026ff;
    --neon-pink: #ff007f;
    --neon-primary: #00f3ff;
    --neon-secondary: #b026ff;
    --card-bg: rgba(13, 17, 28, 0.85);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --sidebar-bg: rgba(10, 14, 22, 0.95);
    --input-bg: rgba(255, 255, 255, 0.03);
    --input-border: rgba(255, 255, 255, 0.1);
    --table-border: rgba(255, 255, 255, 0.05);
    --table-hover: rgba(0, 243, 255, 0.04);
}

/* --------------------------------------------------------------------------
   Smooth Theme Transitions
   -------------------------------------------------------------------------- */
body, aside, header, footer,
.card-box, .stat-card, .category-card, .wallet-card, .overview-card,
.feature-card, .step-box, .cta-banner, .login-container, .signup-container,
.form-control, .sidebar-menu a, .search-box input, .mobile-menu-btn,
.theme-toggle-btn, .btn, .platform-pill {
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background-image 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease !important;
}

/* --------------------------------------------------------------------------
   Universal Appearance Toggle Button (.theme-toggle-btn)
   -------------------------------------------------------------------------- */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
    user-select: none;
    outline: none;
    white-space: nowrap;
    z-index: 20;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Toggle Button in Light Mode */
[data-theme="light"] .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(2, 132, 199, 0.3);
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.12), 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .theme-toggle-btn:hover {
    background: #ffffff;
    border-color: #0284c7;
    color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .theme-toggle-btn i {
    color: #6366f1;
    font-size: 14px;
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.45));
    transition: transform 0.35s ease;
}

[data-theme="light"] .theme-toggle-btn:hover i {
    transform: rotate(-25deg);
}

/* Toggle Button in Dark Mode */
[data-theme="dark"] .theme-toggle-btn {
    background: rgba(13, 17, 28, 0.85);
    border: 1.5px solid rgba(0, 243, 255, 0.35);
    color: #f1f5f9;
    box-shadow: 0 4px 18px rgba(0, 243, 255, 0.18);
}

[data-theme="dark"] .theme-toggle-btn:hover {
    background: rgba(0, 243, 255, 0.12);
    border-color: #00f3ff;
    color: #00f3ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 243, 255, 0.35);
}

[data-theme="dark"] .theme-toggle-btn i {
    color: #fbbf24;
    font-size: 14px;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.7));
    transition: transform 0.35s ease;
}

[data-theme="dark"] .theme-toggle-btn:hover i {
    transform: rotate(35deg);
}

/* --------------------------------------------------------------------------
   Auth Pages Top Navigation Bar (Login & Signup)
   -------------------------------------------------------------------------- */
.auth-top-nav {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    pointer-events: auto;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    transition: all 0.25s ease !important;
}

[data-theme="light"] .btn-back-home {
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    border: 1.5px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .btn-back-home:hover {
    background: #ffffff;
    color: #0284c7;
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.18);
}

[data-theme="dark"] .btn-back-home {
    background: rgba(13, 17, 28, 0.85);
    color: #cbd5e1;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .btn-back-home:hover {
    background: rgba(0, 243, 255, 0.1);
    color: #00f3ff;
    border-color: #00f3ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 243, 255, 0.25);
}

@media (max-width: 640px) {
    .auth-top-nav {
        padding: 0 14px;
        top: 14px;
    }
    .btn-back-home, .theme-toggle-btn {
        padding: 7px 12px;
        font-size: 12.5px;
    }
}

/* ==========================================================================
   HOMEPAGE LIGHT MODE - ENRICHED WITH BEAUTIFUL LIGHT COLORS
   ========================================================================== */

/* Body Background in Light Mode: Radiant pastel aurora mesh */
[data-theme="light"] body {
    background-color: #f6f9fe !important;
    background-image: 
        radial-gradient(circle at 12% 10%, rgba(56, 189, 248, 0.22) 0%, transparent 40%),
        radial-gradient(circle at 88% 12%, rgba(168, 85, 247, 0.2) 0%, transparent 42%),
        radial-gradient(circle at 50% 45%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 15% 82%, rgba(244, 63, 94, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(59, 130, 246, 0.16) 0%, transparent 45%),
        linear-gradient(180deg, #f8faff 0%, #f0f4fc 50%, #e9eff9 100%) !important;
    color: #0f172a !important;
}

/* Floating Pastel Ambient Neon Lights */
[data-theme="light"] .neon-light {
    opacity: 0.55 !important;
    filter: blur(100px) !important;
}

[data-theme="light"] .neon-light-cyan-1 {
    background: radial-gradient(circle, #38bdf8 0%, rgba(14, 165, 233, 0.45) 35%, rgba(56, 189, 248, 0.15) 55%, transparent 75%) !important;
}

[data-theme="light"] .neon-light-purple-1 {
    background: radial-gradient(circle, #c084fc 0%, rgba(168, 85, 247, 0.4) 35%, rgba(192, 132, 252, 0.15) 55%, transparent 75%) !important;
}

[data-theme="light"] .neon-light-purple-2 {
    background: radial-gradient(circle, #f472b6 0%, rgba(236, 72, 153, 0.35) 35%, rgba(244, 114, 182, 0.12) 55%, transparent 75%) !important;
}

[data-theme="light"] .neon-light-cyan-2 {
    background: radial-gradient(circle, #2dd4bf 0%, rgba(20, 184, 166, 0.38) 35%, rgba(45, 212, 191, 0.15) 55%, transparent 75%) !important;
}

[data-theme="light"] .neon-light-purple-3 {
    background: radial-gradient(circle, #818cf8 0%, rgba(99, 102, 241, 0.35) 35%, rgba(129, 140, 248, 0.12) 55%, transparent 70%) !important;
}

[data-theme="light"] .neon-grid {
    background-image: 
        linear-gradient(rgba(2, 132, 199, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.055) 1px, transparent 1px) !important;
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 40%, transparent 80%) !important;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 40%, transparent 80%) !important;
}

/* Header in Light Mode */
[data-theme="light"] header {
    background: rgba(255, 255, 255, 0.86) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 4px 25px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .logo-text {
    color: #0f172a !important;
}

[data-theme="light"] .logo-text span {
    color: #0284c7 !important;
    text-shadow: 0 0 16px rgba(2, 132, 199, 0.35) !important;
}

[data-theme="light"] .logo-container img {
    border-color: #0284c7 !important;
    box-shadow: 0 0 16px rgba(2, 132, 199, 0.4) !important;
}

[data-theme="light"] .btn-login {
    background: rgba(2, 132, 199, 0.08) !important;
    color: #0284c7 !important;
    border: 1.5px solid rgba(2, 132, 199, 0.25) !important;
}

[data-theme="light"] .btn-login:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.3) !important;
}

[data-theme="light"] .btn-signup {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(2, 132, 199, 0.4) !important;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35) !important;
}

[data-theme="light"] .btn-signup:hover {
    box-shadow: 0 6px 26px rgba(2, 132, 199, 0.55) !important;
    color: #ffffff !important;
}

/* Hero Section in Light Mode */
[data-theme="light"] .hero-badge {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(124, 58, 237, 0.1)) !important;
    border: 1.5px solid rgba(236, 72, 153, 0.3) !important;
    color: #db2777 !important;
    box-shadow: 0 4px 18px rgba(236, 72, 153, 0.16) !important;
}

[data-theme="light"] .hero h1 {
    color: #0f172a !important;
}

[data-theme="light"] .hero h1 span {
    background: linear-gradient(90deg, #0284c7, #7c3aed, #ec4899, #0284c7) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 2px 10px rgba(2, 132, 199, 0.2)) !important;
}

[data-theme="light"] .hero p {
    color: #475569 !important;
}

/* Social Platform Ribbon in Light Mode */
[data-theme="light"] .platform-pill {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1.5px solid rgba(226, 232, 240, 0.95) !important;
    color: #334155 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .platform-pill:hover {
    border-color: #0284c7 !important;
    color: #0284c7 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.2) !important;
}

/* Stats Bar in Light Mode */
[data-theme="light"] .stats-bar {
    background: rgba(255, 255, 255, 0.8) !important;
    border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 6px 25px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .stat-label {
    color: #6366f1 !important;
}

/* Section Headings in Light Mode */
[data-theme="light"] .section-title {
    color: #0f172a !important;
}

[data-theme="light"] .section-subtitle {
    color: #0284c7 !important;
}

/* Features Grid & Cards in Light Mode */
[data-theme="light"] .feature-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1.5px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .feature-card:hover {
    border-color: rgba(2, 132, 199, 0.45) !important;
    box-shadow: 0 20px 45px rgba(2, 132, 199, 0.14), 0 0 20px rgba(2, 132, 199, 0.08) !important;
    transform: translateY(-6px);
}

[data-theme="light"] .feature-card h3 {
    color: #0f172a !important;
}

[data-theme="light"] .feature-card p {
    color: #475569 !important;
}

[data-theme="light"] .features-grid .feature-card:nth-child(1) .feature-icon-box {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(6, 182, 212, 0.16)) !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
    color: #0284c7 !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.22) !important;
}

[data-theme="light"] .features-grid .feature-card:nth-child(2) .feature-icon-box {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(168, 85, 247, 0.16)) !important;
    border-color: rgba(124, 58, 237, 0.3) !important;
    color: #7c3aed !important;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.22) !important;
}

[data-theme="light"] .features-grid .feature-card:nth-child(3) .feature-icon-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.16)) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #059669 !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.22) !important;
}

/* Steps in Light Mode */
[data-theme="light"] .step-box {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1.5px dashed rgba(2, 132, 199, 0.3) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .step-box h4 {
    color: #0f172a !important;
}

[data-theme="light"] .step-box p {
    color: #475569 !important;
}

[data-theme="light"] .step-num {
    background: linear-gradient(135deg, #0284c7, #7c3aed) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.38) !important;
}

/* CTA Banner in Light Mode */
[data-theme="light"] .cta-banner {
    background: linear-gradient(135deg, #0284c7 0%, #4f46e5 50%, #7c3aed 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 20px 50px rgba(2, 132, 199, 0.28), 0 0 30px rgba(124, 58, 237, 0.2) !important;
}

[data-theme="light"] .cta-banner h2 {
    color: #ffffff !important;
}

[data-theme="light"] .cta-banner p {
    color: rgba(255, 255, 255, 0.95) !important;
}

[data-theme="light"] .cta-banner .btn-signup {
    background: #ffffff !important;
    color: #0284c7 !important;
    border-color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.16) !important;
}

[data-theme="light"] .cta-banner .btn-signup:hover {
    background: #f8fafc !important;
    color: #0369a1 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22) !important;
}

/* Footer in Light Mode */
[data-theme="light"] footer {
    background: rgba(255, 255, 255, 0.85) !important;
    border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
    color: #64748b !important;
}

/* ==========================================================================
   LOGIN & SIGN UP LIGHT MODE
   ========================================================================== */

[data-theme="light"] .login-container,
[data-theme="light"] .signup-container {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(25px) !important;
    border: 1.5px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 25px 60px -12px rgba(14, 165, 233, 0.16), 0 10px 25px -5px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .brand-header h2 {
    color: #0f172a !important;
}

[data-theme="light"] .brand-header p {
    color: #64748b !important;
}

[data-theme="light"] .brand-header img {
    border-color: #0284c7 !important;
    box-shadow: 0 0 16px rgba(2, 132, 199, 0.35) !important;
}

[data-theme="light"] .btn-google {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .btn-google:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .divider {
    color: #94a3b8 !important;
}

[data-theme="light"] .divider::before,
[data-theme="light"] .divider::after {
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .form-group label {
    color: #334155 !important;
    font-weight: 600 !important;
}

[data-theme="light"] .form-control {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .form-control:focus {
    background: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.18) !important;
}

[data-theme="light"] .input-box i {
    color: #64748b !important;
}

[data-theme="light"] .input-box:focus-within i {
    color: #0284c7 !important;
}

[data-theme="light"] .btn-submit {
    background: linear-gradient(135deg, #0284c7, #2563eb) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.38) !important;
}

[data-theme="light"] .btn-submit:hover {
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.55) !important;
    opacity: 1 !important;
}

[data-theme="light"] .status-msg.error {
    background: #fee2e2 !important;
    border: 1.5px solid #fca5a5 !important;
    color: #b91c1c !important;
}

[data-theme="light"] .status-msg.success {
    background: #e0f2fe !important;
    border: 1.5px solid #bae6fd !important;
    color: #0369a1 !important;
}

[data-theme="light"] .auth-footer {
    color: #64748b !important;
}

[data-theme="light"] .auth-footer a {
    color: #0284c7 !important;
    font-weight: 700 !important;
}

/* Verification Modal (Signup) */
[data-theme="light"] .verify-modal-overlay {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(8px) !important;
}

[data-theme="light"] .verify-modal-card {
    background: #ffffff !important;
    border: 1.5px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18) !important;
}

[data-theme="light"] .verify-modal-card h3 {
    color: #0f172a !important;
}

[data-theme="light"] .verify-modal-card p {
    color: #475569 !important;
}

[data-theme="light"] .admin-notice {
    background: rgba(124, 58, 237, 0.08) !important;
    border: 1px solid rgba(124, 58, 237, 0.25) !important;
    color: #7c3aed !important;
}

[data-theme="light"] .admin-notice span {
    color: #5b21b6 !important;
}

[data-theme="light"] .spam-notice {
    background: rgba(245, 158, 11, 0.1) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    color: #b45309 !important;
}

[data-theme="light"] .spam-notice strong {
    color: #92400e !important;
}

[data-theme="light"] .otp-box {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0284c7 !important;
}

[data-theme="light"] .otp-box:focus {
    background: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.2) !important;
}

[data-theme="light"] .otp-box.filled {
    border-color: #0284c7 !important;
    background: rgba(2, 132, 199, 0.06) !important;
}

[data-theme="light"] .btn-resend,
[data-theme="light"] .btn-change-email {
    color: #64748b !important;
}

[data-theme="light"] .btn-resend:hover:not(:disabled) {
    color: #0284c7 !important;
    background: rgba(2, 132, 199, 0.08) !important;
}

[data-theme="light"] .btn-change-email:hover {
    color: #e11d48 !important;
    background: rgba(225, 29, 72, 0.08) !important;
}

/* ==========================================================================
   DASHBOARD LIGHT MODE
   ========================================================================== */

/* Sidebar in Light Mode */
[data-theme="light"] aside {
    background: #ffffff !important;
    border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .sidebar-brand h2 {
    color: #0f172a !important;
}

[data-theme="light"] .sidebar-brand h2 span {
    color: #0284c7 !important;
}

[data-theme="light"] .sidebar-menu a {
    color: #64748b !important;
}

[data-theme="light"] .sidebar-menu a:hover,
[data-theme="light"] .sidebar-menu a.active {
    background: rgba(2, 132, 199, 0.1) !important;
    color: #0284c7 !important;
    border-left: 4px solid #0284c7 !important;
}

[data-theme="light"] .mobile-menu-btn {
    background: #ffffff !important;
    border: 1px solid #0284c7 !important;
    color: #0284c7 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Cards & Box Containers in Light Mode */
[data-theme="light"] .card-box,
[data-theme="light"] .stat-card,
[data-theme="light"] .category-card,
[data-theme="light"] .wallet-card,
[data-theme="light"] .overview-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04) !important;
    color: #0f172a !important;
}

[data-theme="light"] .card-box h2,
[data-theme="light"] .stat-card .value,
[data-theme="light"] .category-header h3 {
    color: #0f172a !important;
}

[data-theme="light"] .dashboard-header h1 {
    color: #0284c7 !important;
}

[data-theme="light"] .stat-card h3 {
    color: #64748b !important;
}

/* Form Inputs & Controls in Light Mode */
[data-theme="light"] .form-group label {
    color: #475569 !important;
}

[data-theme="light"] .form-control,
[data-theme="light"] .search-box input,
[data-theme="light"] #categorySearchInput,
[data-theme="light"] #searchService,
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="search"],
[data-theme="light"] input[type="email"],
[data-theme="light"] input[type="password"],
[data-theme="light"] input[type="number"],
[data-theme="light"] input[type="tel"],
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    caret-color: #0284c7 !important;
}

[data-theme="light"] .form-control::placeholder,
[data-theme="light"] .search-box input::placeholder,
[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
    opacity: 1 !important;
}

[data-theme="light"] .form-control:focus,
[data-theme="light"] .search-box input:focus,
[data-theme="light"] #categorySearchInput:focus,
[data-theme="light"] #searchService:focus,
[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
    background: #ffffff !important;
    border-color: #0284c7 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.16) !important;
    outline: none !important;
}

[data-theme="light"] .search-box i {
    color: #64748b !important;
}

[data-theme="light"] .search-box:focus-within i {
    color: #0284c7 !important;
}

[data-theme="light"] select.form-control option,
[data-theme="light"] .form-control option {
    background: #ffffff !important;
    color: #0f172a !important;
}

[data-theme="light"] .form-control:disabled,
[data-theme="light"] .form-control[readonly] {
    background: #e2e8f0 !important;
    color: #475569 !important;
    opacity: 0.85;
}

/* Form Inputs & Controls in Dark Mode */
[data-theme="dark"] .form-control,
[data-theme="dark"] .search-box input,
[data-theme="dark"] #categorySearchInput,
[data-theme="dark"] #searchService,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="search"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: rgba(13, 17, 28, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f1f5f9 !important;
    -webkit-text-fill-color: #f1f5f9 !important;
    caret-color: #00f3ff !important;
}

[data-theme="dark"] .form-control::placeholder,
[data-theme="dark"] .search-box input::placeholder,
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    opacity: 1 !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .search-box input:focus,
[data-theme="dark"] #categorySearchInput:focus,
[data-theme="dark"] #searchService:focus,
[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    background: rgba(18, 24, 38, 0.95) !important;
    border-color: #00f3ff !important;
    color: #f1f5f9 !important;
    -webkit-text-fill-color: #f1f5f9 !important;
    box-shadow: 0 0 16px rgba(0, 243, 255, 0.25) !important;
    outline: none !important;
}

[data-theme="dark"] .search-box i {
    color: #64748b !important;
}

[data-theme="dark"] .search-box:focus-within i {
    color: #00f3ff !important;
}

/* Tables in Light Mode */
[data-theme="light"] table {
    color: #0f172a !important;
}

[data-theme="light"] th {
    color: #0284c7 !important;
    background: #f8fafc !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] td {
    color: #334155 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] tr:hover td {
    background: rgba(2, 132, 199, 0.04) !important;
}

[data-theme="light"] .order-service-title {
    color: #000000 !important;
}

/* Service Card & Table on Mobile in Light Mode */
[data-theme="light"] .service-name-text {
    color: #000000 !important;
}

[data-theme="light"] table.services-table tr.service-row {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] table.services-table td.col-minmax {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] table.services-table td.col-minmax::before,
[data-theme="light"] table.services-table td.col-rate::before {
    color: #64748b !important;
}

[data-theme="light"] .minmax-val {
    color: #1e293b !important;
    font-weight: 600 !important;
}

[data-theme="light"] table.services-table td.col-action {
    border-top: 1px dashed #e2e8f0 !important;
}

[data-theme="dark"] .service-name-text {
    color: #f1f5f9 !important;
}

/* Category Accordion Header in Light Mode */
[data-theme="light"] .category-header {
    background: rgba(2, 132, 199, 0.04) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .category-header:hover {
    background: rgba(2, 132, 199, 0.08) !important;
}

[data-theme="light"] .category-header .toggle-icon,
[data-theme="light"] .category-header h3 i {
    color: #0284c7 !important;
}

/* Description Box in Light Mode */
[data-theme="light"] .description-box {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-left: 4px solid #0284c7 !important;
    color: #1e293b !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .description-box h4 {
    color: #0369a1 !important;
}

[data-theme="light"] .description-content {
    color: #334155 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .service-badge {
    background: rgba(2, 132, 199, 0.1) !important;
    color: #0284c7 !important;
    border: 1px solid rgba(2, 132, 199, 0.25) !important;
}

/* Buttons in Light Mode */
[data-theme="light"] .btn-custom,
[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-search,
[data-theme="light"] .btn-order-table {
    background: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25) !important;
}

[data-theme="light"] .btn-custom:hover,
[data-theme="light"] .btn-primary:hover,
[data-theme="light"] .btn-search:hover,
[data-theme="light"] .btn-order-table:hover {
    background: #0369a1 !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35) !important;
}

[data-theme="light"] .btn-preview-desc {
    background: rgba(2, 132, 199, 0.08) !important;
    border: 1px solid rgba(2, 132, 199, 0.3) !important;
    color: #0284c7 !important;
}

[data-theme="light"] .btn-preview-desc:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
}

/* Neon buttons in Light Mode */
[data-theme="light"] .btn-neon {
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35) !important;
}

[data-theme="light"] .btn-neon:hover:not(:disabled) {
    background: linear-gradient(135deg, #0369a1, #075985) !important;
    box-shadow: 0 6px 24px rgba(2, 132, 199, 0.5) !important;
}

[data-theme="light"] .btn-neon:disabled {
    opacity: 0.65 !important;
    box-shadow: none !important;
}

/* Balance & Amount Highlights in Light Mode */
[data-theme="light"] #availableBalance,
[data-theme="light"] #userBalance,
[data-theme="light"] #userBalanceDisplay,
[data-theme="light"] #realtimeBalanceLkr {
    color: #059669 !important;
}

[data-theme="light"] #spentBalance,
[data-theme="light"] #userSpent,
[data-theme="light"] #userSpentDisplay {
    color: #e11d48 !important;
}

[data-theme="light"] #totalCharge {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
    color: #15803d !important;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.15) !important;
}

[data-theme="light"] #exchangeRateBadge {
    background: rgba(2, 132, 199, 0.08) !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
    color: #0284c7 !important;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.1) !important;
}

[data-theme="light"] .rate-val {
    color: #059669 !important;
}

/* Notifications in Light Mode */
[data-theme="light"] .notification-item,
[data-theme="light"] .notif-card,
[data-theme="light"] .log-item {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .notif-title,
[data-theme="light"] .notif-text {
    color: #0f172a !important;
}

[data-theme="light"] .notif-meta,
[data-theme="light"] .notif-time {
    color: #64748b !important;
}

/* Order Status Badges in Light Mode */
[data-theme="light"] .badge-pending {
    background: #fef3c7 !important;
    color: #b45309 !important;
}

[data-theme="light"] .badge-completed {
    background: #dcfce7 !important;
    color: #15803d !important;
}

[data-theme="light"] .badge-inprogress,
[data-theme="light"] .badge-processing {
    background: #e0f2fe !important;
    color: #0369a1 !important;
}

[data-theme="light"] .badge-canceled {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

/* Modal Styling in Light Mode */
[data-theme="light"] #serviceDescModal > div {
    background: #ffffff !important;
    border: 1px solid #0284c7 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 25px rgba(2, 132, 199, 0.15) !important;
}

[data-theme="light"] #modalServiceTitle {
    color: #0f172a !important;
}

[data-theme="light"] #modalDescContent {
    color: #000000 !important;
}

[data-theme="light"] #closeDescModalBtn {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

[data-theme="light"] #closeDescModalBtn2 {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

/* Instruction Box & Highlight in Light Mode */
[data-theme="light"] .instruction-box {
    background: #f0f9ff !important;
    border: 1.5px dashed #0284c7 !important;
    color: #000000 !important;
}

[data-theme="light"] .instruction-box p,
[data-theme="light"] .instruction-box b,
[data-theme="light"] .instruction-box strong {
    color: #000000 !important;
}

[data-theme="light"] .instruction-box i {
    color: #0284c7 !important;
}

[data-theme="light"] .instruction-box .highlight,
[data-theme="light"] .highlight {
    color: #000000 !important;
    background: #e0f2fe !important;
    border: 1px solid #0284c7 !important;
    font-weight: 800 !important;
}

/* ==========================================================================
   Universal In-Website Alert Modal & Toast System
   Replaces all browser popups with sleek on-website notifications
   ========================================================================== */
.website-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 5, 17, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

[data-theme="light"] .website-modal-overlay {
    background: rgba(15, 23, 42, 0.45);
}

.website-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.website-modal-card {
    background: #0d111c;
    border: 1.5px solid rgba(0, 243, 255, 0.3);
    border-radius: 22px;
    padding: 32px 26px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 243, 255, 0.15);
    transform: scale(0.9) translateY(10px);
    transition: transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    color: #f1f5f9;
}

[data-theme="light"] .website-modal-card {
    background: #ffffff !important;
    border: 1.5px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18), 0 10px 25px rgba(2, 132, 199, 0.08) !important;
    color: #0f172a !important;
}

.website-modal-overlay.active .website-modal-card {
    transform: scale(1) translateY(0);
}

.website-modal-icon-wrap {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    animation: websiteModalPulse 2s infinite alternate;
}

@keyframes websiteModalPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}

.website-modal-icon-wrap.success {
    background: rgba(0, 255, 135, 0.12);
    border: 2px solid #00ff87;
    color: #00ff87;
    box-shadow: 0 0 25px rgba(0, 255, 135, 0.35);
}

.website-modal-icon-wrap.error {
    background: rgba(255, 71, 87, 0.12);
    border: 2px solid #ff4757;
    color: #ff4757;
    box-shadow: 0 0 25px rgba(255, 71, 87, 0.35);
}

.website-modal-icon-wrap.warning {
    background: rgba(251, 191, 36, 0.12);
    border: 2px solid #fbbf24;
    color: #fbbf24;
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.35);
}

.website-modal-icon-wrap.info {
    background: rgba(0, 243, 255, 0.12);
    border: 2px solid #00f3ff;
    color: #00f3ff;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.35);
}

.website-modal-title {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

[data-theme="light"] .website-modal-title {
    color: #0f172a;
}

.website-modal-msg {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #cbd5e1;
    word-break: break-word;
    white-space: pre-line;
}

[data-theme="light"] .website-modal-msg {
    color: #334155;
}

.website-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.website-modal-btn {
    flex: 1;
    padding: 13px 22px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.website-modal-btn.primary {
    background: linear-gradient(135deg, var(--neon-cyan), #0077ff);
    color: #05070b;
    box-shadow: 0 4px 20px rgba(0, 243, 255, 0.4);
}

[data-theme="light"] .website-modal-btn.primary {
    background: linear-gradient(135deg, #0284c7, #2563eb) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35) !important;
}

.website-modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 243, 255, 0.6);
}

.website-modal-btn.danger {
    background: linear-gradient(135deg, #ff4757, #ff6b81) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.4) !important;
}

.website-modal-btn.danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 71, 87, 0.6) !important;
}

.website-modal-btn.cancel {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .website-modal-btn.cancel {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}

/* Floating Toast Notifications Container */
.website-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000001;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
    width: calc(100vw - 48px);
    pointer-events: none;
}

.website-toast {
    pointer-events: auto;
    background: rgba(13, 17, 28, 0.95);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 14px 18px;
    color: #f1f5f9;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 243, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 1.4;
    animation: websiteToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(16px);
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

[data-theme="light"] .website-toast {
    background: #ffffff;
    border-color: rgba(226, 232, 240, 0.95);
    color: #0f172a;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12), 0 0 15px rgba(2, 132, 199, 0.08);
}

.website-toast.success { border-left: 4px solid #00ff87; }
.website-toast.error { border-left: 4px solid #ff4757; }
.website-toast.warning { border-left: 4px solid #fbbf24; }
.website-toast.info { border-left: 4px solid #00f3ff; }

.website-toast i {
    font-size: 20px;
    flex-shrink: 0;
}

.website-toast.success i { color: #00ff87; }
.website-toast.error i { color: #ff4757; }
.website-toast.warning i { color: #fbbf24; }
.website-toast.info i { color: #00f3ff; }

@keyframes websiteToastIn {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes websiteToastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(60px); }
}

