/* Light theme — lavender field, navy type, royal-blue actions.
   Animated rings match the reference graphic, without copying its branding. */

body[data-pc-theme=light] {
    background: transparent !important;
    color: #1b2a7a;
}

.vx-sky {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(180deg, #e4e8ff 0%, #f3f1ff 36%, #f7f9ff 68%, #ffffff 100%);
}

.vx-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(6px);
}

.vx-glow-a {
    width: 520px;
    height: 520px;
    top: -80px;
    right: -40px;
    background: radial-gradient(circle, rgba(198, 150, 255, 0.55) 0%, rgba(110, 150, 255, 0.28) 42%, transparent 70%);
    animation: vx-drift 16s ease-in-out infinite;
}

.vx-glow-b {
    width: 460px;
    height: 460px;
    left: -120px;
    bottom: -80px;
    background: radial-gradient(circle, rgba(120, 160, 255, 0.4) 0%, rgba(180, 200, 255, 0.15) 46%, transparent 72%);
    animation: vx-drift 18s ease-in-out infinite reverse;
}

.vx-ripples {
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
}

.vx-ripples span {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(63, 86, 196, 0.22);
    animation: vx-ring 7.5s ease-in-out infinite;
}

.vx-ripples span:nth-child(1) { inset: 6%; animation-delay: 0s; }
.vx-ripples span:nth-child(2) { inset: 16%; animation-delay: 0.35s; }
.vx-ripples span:nth-child(3) { inset: 26%; animation-delay: 0.7s; }
.vx-ripples span:nth-child(4) { inset: 36%; animation-delay: 1.05s; }
.vx-ripples span:nth-child(5) { inset: 46%; animation-delay: 1.4s; }
.vx-ripples span:nth-child(6) { inset: 56%; animation-delay: 1.75s; }

.vx-ripples-a { top: -210px; right: -150px; }
.vx-ripples-b { bottom: -240px; left: -170px; }
.vx-ripples-c {
    top: 38%;
    left: 46%;
    width: 320px;
    height: 320px;
    opacity: 0.75;
}

.vx-ripples-b span { border-color: rgba(120, 90, 210, 0.2); }

@keyframes vx-ring {
    0%, 100% { transform: scale(0.96); opacity: 0.35; }
    50% { transform: scale(1.045); opacity: 0.9; }
}

@keyframes vx-drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-24px, 18px, 0) scale(1.06); }
}

body[data-pc-theme=light] .pc-sidebar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(228, 234, 255, 0.38) 100%) !important;
    backdrop-filter: blur(18px) saturate(1.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    border-right: 1px solid rgba(255, 255, 255, 0.7);
}

body[data-pc-theme=light] .pc-header {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(47, 73, 214, 0.08);
}

body[data-pc-theme=light] .pc-container,
body[data-pc-theme=light] .pc-content,
body[data-pc-theme=light] .pc-footer {
    background: transparent !important;
}

body[data-pc-theme=light] .card:not(.bg-primary):not(.bg-info):not(.bg-danger):not(.bg-success):not(.bg-gray-800):not(.social-widget-card):not(.available-balance-card):not(.dropbox-card),
body[data-pc-theme=light] .auth-main .card,
body[data-pc-theme=light] .db-trading-hero,
body[data-pc-theme=light] .db-card,
body[data-pc-theme=light] .db-stat-box,
body[data-pc-theme=light] .db-alloc-item,
body[data-pc-theme=light] .lt-hero,
body[data-pc-theme=light] .lt-card,
body[data-pc-theme=light] .modal-content {
    background:
        linear-gradient(128deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.08) 26%, rgba(255, 255, 255, 0) 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.06) 100%) !important;
    color: #1b2a7a !important;
    border: 2px solid rgba(255, 255, 255, 0.96) !important;
    border-radius: 26px !important;
    backdrop-filter: blur(16px) saturate(1.7);
    -webkit-backdrop-filter: blur(16px) saturate(1.7);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.55),
        0 20px 44px rgba(47, 73, 214, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.55),
        inset 12px 0 18px rgba(255, 255, 255, 0.12) !important;
}

body[data-pc-theme=light] .pc-sidebar .card.pc-user-card:not(.bg-primary):not(.bg-info):not(.bg-danger):not(.bg-success):not(.bg-gray-800):not(.social-widget-card):not(.available-balance-card):not(.dropbox-card) {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.16) 34%, rgba(186, 206, 255, 0.18) 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.98) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(14px) saturate(1.8);
    -webkit-backdrop-filter: blur(14px) saturate(1.8);
    box-shadow:
        0 10px 28px rgba(47, 73, 214, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -10px 16px rgba(255, 255, 255, 0.28) !important;
}

body[data-pc-theme=light] .card.bg-primary,
body[data-pc-theme=light] .card.available-balance-card,
body[data-pc-theme=light] .card.bg-gray-800,
body[data-pc-theme=light] .card.dropbox-card,
body[data-pc-theme=light] .card.bg-info,
body[data-pc-theme=light] .social-widget-card,
body[data-pc-theme=light] .card.bg-danger,
body[data-pc-theme=light] .card.bg-success {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.16) 42%, rgba(198, 214, 255, 0.28) 100%) !important;
    color: #1b2a7a !important;
    border: 2px solid rgba(255, 255, 255, 0.96) !important;
    border-radius: 22px !important;
    backdrop-filter: blur(16px) saturate(1.7);
    -webkit-backdrop-filter: blur(16px) saturate(1.7);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.55),
        0 16px 36px rgba(47, 73, 214, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -12px 20px rgba(255, 255, 255, 0.2) !important;
}

body[data-pc-theme=light] .available-balance-card::after,
body[data-pc-theme=light] .dropbox-card::after {
    background: none !important;
    opacity: 0 !important;
}

body[data-pc-theme=light] .available-balance-card .avtar,
body[data-pc-theme=light] .dropbox-card .avtar {
    background: rgba(47, 73, 214, 0.12) !important;
    color: #2f49d6 !important;
}

body[data-pc-theme=light][data-pc-direction=ltr] .text-white,
body[data-pc-theme=light] .text-white {
    color: #1b2a7a !important;
}

body[data-pc-theme=light] .live-indicator,
body[data-pc-theme=light] .badge.bg-danger,
body[data-pc-theme=light] .badge.bg-success,
body[data-pc-theme=light] .bg-primary:not(.card),
body[data-pc-theme=light] .avtar.bg-primary {
    color: #ffffff !important;
}

body[data-pc-theme=light] .alert.neon-red,
body[data-pc-theme=light] .alert-danger {
    color: #9f1239 !important;
    background: #fff1f2 !important;
    border: 1px solid #fb7185 !important;
    box-shadow: none !important;
    animation: none !important;
    border-radius: 12px !important;
    font-size: 14px;
    font-weight: 600;
}

body[data-pc-theme=light] .alert-info,
body[data-pc-theme=light] .alert-warning {
    color: #1b2a7a !important;
    border: 1.5px solid rgba(255, 255, 255, 0.96) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(12px) saturate(1.6);
    -webkit-backdrop-filter: blur(12px) saturate(1.6);
    box-shadow:
        0 8px 22px rgba(47, 73, 214, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

body[data-pc-theme=light] .alert-info {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72) 0%, rgba(170, 220, 255, 0.38) 100%) !important;
}

body[data-pc-theme=light] .alert-warning {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 214, 160, 0.42) 100%) !important;
}

body[data-pc-theme=light] .auth-main .auth-wrapper.v1 .auth-form,
body[data-pc-theme=light] .auth-main .auth-wrapper.v1 .auth-form {
    background: transparent !important;
}

body[data-pc-theme=light] .auth-main .card {
    border-radius: 22px !important;
}

body[data-pc-theme=light] h1,
body[data-pc-theme=light] h2,
body[data-pc-theme=light] h3,
body[data-pc-theme=light] h4,
body[data-pc-theme=light] h5,
body[data-pc-theme=light] h6,
body[data-pc-theme=light] .h1,
body[data-pc-theme=light] .h2,
body[data-pc-theme=light] .h3,
body[data-pc-theme=light] .h4,
body[data-pc-theme=light] .h5,
body[data-pc-theme=light] .h6,
body[data-pc-theme=light] .db-stat-box .val,
body[data-pc-theme=light] .db-alloc-pair,
body[data-pc-theme=light] .lt-hero h2 {
    color: #1b2a7a !important;
}

body[data-pc-theme=light] .text-muted,
body[data-pc-theme=light] .db-stat-box .lbl,
body[data-pc-theme=light] .db-alloc-amt {
    color: #6672a3 !important;
}

body[data-pc-theme=light] .text-primary,
body[data-pc-theme=light] .link-primary,
body[data-pc-theme=light] .db-pnl-up {
    color: #2f49d6 !important;
}

body[data-pc-theme=light] .btn-primary,
body[data-pc-theme=light] .btn-info,
body[data-pc-theme=light] .btn-success,
body[data-pc-theme=light] .btn-connect,
body[data-pc-theme=light] .live-indicator {
    --bs-btn-bg: #2f49d6;
    --bs-btn-border-color: #2f49d6;
    --bs-btn-hover-bg: #2438b8;
    --bs-btn-hover-border-color: #2438b8;
    background-color: #2f49d6 !important;
    border-color: #2f49d6 !important;
    color: #fff !important;
}

body[data-pc-theme=light] .btn-primary:hover,
body[data-pc-theme=light] .btn-info:hover,
body[data-pc-theme=light] .btn-success:hover,
body[data-pc-theme=light] .btn-connect:hover {
    background-color: #2438b8 !important;
    border-color: #2438b8 !important;
}

body[data-pc-theme=light] .form-control,
body[data-pc-theme=light] .form-select {
    background: #fff !important;
    color: #1b2a7a !important;
    border-color: rgba(47, 73, 214, 0.22) !important;
}

body[data-pc-theme=light] .pc-sidebar .pc-link,
body[data-pc-theme=light] .pc-sidebar .pc-caption {
    color: #3d4a86;
}

body[data-pc-theme=light] .pc-sidebar .pc-navbar > .pc-item.active > .pc-link {
    color: #2f49d6 !important;
    background: rgba(47, 73, 214, 0.08);
}

body[data-pc-theme=light] .db-card .card-header {
    background: rgba(255, 255, 255, 0.28) !important;
}

body[data-pc-theme=light] .list-group-item {
    background: transparent;
    color: #1b2a7a;
}

body[data-pc-theme=light] .pc-footer,
body[data-pc-theme=light] .pc-footer a,
body[data-pc-theme=light] .pc-footer p {
    color: #2f49d6 !important;
}

body[data-pc-theme=light][data-pc-direction=ltr] .bg-body,
body[data-pc-theme=light] .bg-body {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
    color: #1b2a7a !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 16px;
    backdrop-filter: blur(14px) saturate(1.6);
    -webkit-backdrop-filter: blur(14px) saturate(1.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body[data-pc-theme=light] .vx-ico {
    background: linear-gradient(155deg, #c5d8ff 0%, #6d8cff 32%, #2f49d6 68%, #7a5cff 100%) !important;
}
