/*
Template Name: WebkitX Admin - Responsive Admin Template
Author: Multipurpose Themes
File: scss
Theme System: Standardized Light/Dark Mode
*/

@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap");

/* ========== CSS VARIABLES FOR THEME SYSTEM ========== */
:root {
  /* Light Theme Colors (Default) */
  --primary-color: #172b4c;wallet-ticker
  --secondary-color: #5C607B;
  --background-color: #ffffff;
  --surface-color: #F7FAFF;
  --text-primary: #172b4c;
  --text-secondary: #5C607B;
  --text-muted: #6c757d;
  --border-color: rgba(72, 94, 144, 0.16);
  --card-bg: #ffffff;
  --sidebar-bg: #F7FAFF;
  --header-bg: #ffffff;
  --accent-color: #009933;
  --hover-bg: rgba(0, 0, 0, 0.05);
  --shadow-color: rgba(0, 0, 0, 0.1);
  
  /* Semantic Colors */
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  
  /* Component Colors */
  --table-header-bg: #f8f9fa;
  --table-border: #dee2e6;
  --input-bg: #ffffff;
  --input-border: #ced4da;
  --modal-bg: #ffffff;
  --dropdown-bg: #ffffff;
  
  /* Toggle Switch */
  --toggle-bg: linear-gradient(135deg, #ffd166 0%, #ff9e6d 100%);
  --toggle-knob: linear-gradient(135deg, #ff9a00 0%, #ffd700 100%);
  --toggle-shadow: 0 3px 10px rgba(255, 158, 109, 0.3);
}

/* Dark Theme Colors */
[data-theme="dark"] {
  --primary-color: #ffffff;
  --secondary-color: #b5b5c3;
  --background-color: #180138;
  --surface-color: #254f99;
  --text-primary: #ffffff;
  --text-secondary: #b5b5c3;
  --text-muted: #ffd400;
  --border-color: rgba(255, 255, 255, 0.12);
  --card-bg: #0f7d4e12;
  --sidebar-bg: #0f7d4e12;
  --header-bg: #1c2e4c;
  --accent-color: #009933;
  --hover-bg: rgba(255, 255, 255, 0.05);
  --shadow-color: rgba(0, 0, 0, 0.3);
  
  /* Semantic Colors */
  --success-color: #00bc8c;
  --warning-color: #f39c12;
  --danger-color: #e74c3c;
  --info-color: #3498db;
  
  /* Component Colors */
  --table-header-bg: #2c3e50;
  --table-border: rgba(255, 255, 255, 0.12);
  --input-bg: #1b3a70;
  --input-border: #ffecec;
  --modal-bg: #000e08d9;
  --dropdown-bg: #112547;
  
  /* Toggle Switch */
  --toggle-bg: linear-gradient(135deg, #2d3b4b 0%, #1a2a3a 100%);
  --toggle-knob: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
  --toggle-shadow: 0 3px 10px rgba(26, 42, 58, 0.5);
}

/* ========== LOGO CONTAINER - LIGHT & DARK MODE ========== */

/* ----- LIGHT MODE (Default) ----- */
:root {
    /* Logo Container - Light Mode */
    --logo-container-bg-light: transparent;
    --logo-container-border-light: none;
    --logo-container-shadow-light: none;
    --logo-container-padding-light: 0;
    
    /* Default theme (Light) */
    --logo-container-bg: var(--logo-container-bg-light);
    --logo-container-border: var(--logo-container-border-light);
    --logo-container-shadow: var(--logo-container-shadow-light);
    --logo-container-padding: var(--logo-container-padding-light);
}

/* ----- DARK MODE ----- */
body.dark-skin,
[data-theme="dark"] {
    /* Logo Container - Dark Mode */
    --logo-container-bg-dark: transparent;
    --logo-container-border-dark: none;
    --logo-container-shadow-dark: none;
    --logo-container-padding-dark: 0;
    
    /* Apply dark theme */
    --logo-container-bg: var(--logo-container-bg-dark);
    --logo-container-border: var(--logo-container-border-dark);
    --logo-container-shadow: var(--logo-container-shadow-dark);
    --logo-container-padding: var(--logo-container-padding-dark);
}

/* ===== CONTENT TOP AGILE (Logo Container) ===== */
.content-top-agile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--logo-container-bg);
    border: var(--logo-container-border);
    box-shadow: var(--logo-container-shadow);
    padding: var(--logo-container-padding);
    transition: all 0.3s ease;
}

/* Logo link */
.content-top-agile a {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.content-top-agile a:hover {
    transform: scale(1.02);
}

/* Logo image */
.content-top-agile img {
    display: block;
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

/* ===== LIGHT MODE SPECIFIC ===== */
body:not(.dark-skin) .content-top-agile img,
[data-theme="light"] .content-top-agile img {
    /* The image itself handles light mode - Creator_IX_i_Dark.png is for dark bg */
    filter: none;
}

/* ===== DARK MODE SPECIFIC ===== */
body.dark-skin .content-top-agile img,
[data-theme="dark"] .content-top-agile img {
    /* If you need to adjust the dark mode logo appearance */
    filter: brightness(1) contrast(1);
    /* Optional: Add a subtle glow for dark mode */
    filter: drop-shadow(0 0 8px rgba(33, 194, 146, 0.3));
}

/* ===== ALTERNATIVE: If you have both light and dark logo versions ===== */

/* Option 1: Using two different images (light/dark versions) */
.content-top-agile {
    position: relative;
}

/* Light mode logo (default) */
.content-top-agile .logo-light {
    display: block;
}

.content-top-agile .logo-dark {
    display: none;
}

/* Dark mode logo */
body.dark-skin .content-top-agile .logo-light,
[data-theme="dark"] .content-top-agile .logo-light {
    display: none;
}

body.dark-skin .content-top-agile .logo-dark,
[data-theme="dark"] .content-top-agile .logo-dark {
    display: block;
}

/* ===== LOGO VARIANTS ===== */

/* Centered Logo */
.content-top-agile.centered {
    justify-content: center;
}

/* Left-aligned Logo */
.content-top-agile.left-aligned {
    justify-content: flex-start;
    padding-left: 20px;
}

/* Right-aligned Logo */
.content-top-agile.right-aligned {
    justify-content: flex-end;
    padding-right: 20px;
}

/* Logo with background */
.content-top-agile.with-bg {
    background: var(--logo-container-bg);
    padding: 15px;
    border-radius: 16px;
    border: 1px solid var(--logo-container-border);
}

/* Logo with shadow */
.content-top-agile.with-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.dark-skin .content-top-agile.with-shadow,
[data-theme="dark"] .content-top-agile.with-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ===== LOGO SIZES ===== */
.content-top-agile img.small {
    width: 100px;
}

.content-top-agile img.medium {
    width: 150px;
}

.content-top-agile img.large {
    width: 200px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .content-top-agile img {
        width: 130px;
    }
    
    .content-top-agile img.small {
        width: 90px;
    }
    
    .content-top-agile img.large {
        width: 160px;
    }
    
    .content-top-agile.with-bg {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .content-top-agile img {
        width: 120px;
    }
    
    .content-top-agile img.small {
        width: 80px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-top-agile {
    animation: logoFadeIn 0.5s ease;
}

/* Pulse effect on hover */
.content-top-agile a:hover img {
    animation: logoPulse 0.5s ease;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===== LOGO WITH GLOW EFFECT ===== */
.content-top-agile.glow-effect img {
    transition: filter 0.3s ease;
}

.content-top-agile.glow-effect:hover img {
    filter: drop-shadow(0 0 10px rgba(86, 92, 179, 0.5));
}

body.dark-skin .content-top-agile.glow-effect:hover img,
[data-theme="dark"] .content-top-agile.glow-effect:hover img {
    filter: drop-shadow(0 0 10px rgba(33, 194, 146, 0.5));
}

/* ===== PRINT STYLES ===== */
@media print {
    .content-top-agile img {
        filter: grayscale(1);
    }
}

/* Logo Container */
.logo-container {
    position: relative;
    display: inline-block;
}

.logo-light,
.logo-dark {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Light Mode (Default) */
body:not(.dark-skin) .logo-dark,
[data-theme="light"] .logo-dark {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

body:not(.dark-skin) .logo-light,
[data-theme="light"] .logo-light {
    opacity: 1;
    visibility: visible;
}

/* Dark Mode */
body.dark-skin .logo-light,
[data-theme="dark"] .logo-light {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

body.dark-skin .logo-dark,
[data-theme="dark"] .logo-dark {
    opacity: 1;
    visibility: visible;
}

/* Responsive for mobile */
@media (max-width: 767px) {
    .logo-light,
    .logo-dark {
        width: 100px;
    }
}

/* ===== QUICK LINKS - LIGHT & DARK MODE ===== */

.quick-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    padding: 15px;
    flex-wrap: wrap;
}

/* Light Mode (Default) */
.link-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    border: 1px solid #565cb24d !important;
    background: linear-gradient(145deg, #ffffff, #f5f7ff);
    border-radius: 16px;
    text-decoration: none;
    flex: 1;
    min-width: 90px;
    min-height: 90px;
    max-width: 110px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.link-wrapper .link-icon {
    color: #565cb2;
    font-size: 24px;
}


.link-wrapper .fs-12 {
    font-size: 12px;
    font-weight: 600;
    color: #5C607B;
    text-align: center;
    letter-spacing: 0.3px;
}

/* Stroke Text - Light Mode */
.stroke-text {
    font-weight: 900;
    letter-spacing: 9px;
    font-size: 23px;
    -webkit-text-stroke: 1.5px #172b4c;
    color: transparent;
}

/* ===== DARK MODE STYLES ===== */
body.dark-skin .link-wrapper,
[data-theme="dark"] .link-wrapper {
    background: linear-gradient(145deg, #565cb2, #181d5d);
    border: 1px solid #565cb2 !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

body.dark-skin .link-wrapper .link-icon,
[data-theme="dark"] .link-wrapper .link-icon {
    color: #21c291;
    filter: drop-shadow(0 2px 4px #565cb245);
}

body.dark-skin .link-wrapper .fs-12,
[data-theme="dark"] .link-wrapper .fs-12 {
    color: #ececfb;
}

/* Stroke Text - Dark Mode */
body.dark-skin .stroke-text,
[data-theme="dark"] .stroke-text {
    -webkit-text-stroke: 1.5px #21c291;
    color: transparent;
    text-shadow: 0 0 10px #565cb263;
}
/* ===== Theme Variables ===== */
:root {
    --bg-card: #f4f6fb;
    --shadow-light: #ffffff;
    --shadow-dark: #d9dce7;
    --text-main: #111827;
    --text-muted: #6b7280;
    --accent: #4f46e5;
    --btn-bg: #111827;
    --btn-text: #ffffff;
}

[data-theme="dark"] {
    --bg-card: #0f172a;
    --shadow-light: #1e293b;
    --shadow-dark: #020617;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #818cf8;
    --btn-bg: #6366f1;
    --btn-text: #ffffff;
}

/* ===== Carousel ===== */
.wallet-carousel .carousel-item {
    transition: transform .7s cubic-bezier(.4,0,.2,1), opacity .7s ease;
}

/* ===== Card ===== */
.wallet-ticker {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 150px;
    position: relative;
    overflow: hidden;
    box-shadow:
        8px 8px 18px var(--shadow-dark),
        -8px -8px 18px var(--shadow-light);
}

/* shimmer */
.wallet-ticker::after {
    content: "";
    position: absolute;
    left: -120%;
    top: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
        transparent,
        rgba(99,102,241,.22),
        transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% { left: 140%; }
}

/* ===== Left Area ===== */
.wallet-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wallet-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(99,102,241,.12);
    display: grid;
    place-items: center;
    font-size: 20px;
    color: var(--accent);
    box-shadow:
        inset 3px 3px 6px rgba(0,0,0,.15),
        inset -3px -3px 6px rgba(255,255,255,.3);
}

[data-theme="dark"] .wallet-icon {
    box-shadow:
        inset 3px 3px 6px rgba(0,0,0,.5),
        inset -3px -3px 6px rgba(255,255,255,.05);
}

/* ===== Text ===== */
.wallet-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    color: var(--text-muted);
}

.wallet-amount {
    font-size: 22px;
    font-weight: 900;
    margin-top: 2px;
    color: var(--text-main);
}

/* ===== Button ===== */
.wallet-btn {
    background: var(--btn-bg);
    color: var(--btn-text);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 700;
    border: none;
}

/* ===== VARIANT STYLES ===== */
/* Compact Version */
.quick-links.compact {
    gap: 15px;
}

.quick-links.compact .link-wrapper {
    min-width: 70px;
    min-height: 70px;
    padding: 8px 6px;
}

.quick-links.compact .link-icon {
    font-size: 20px;
}

.quick-links.compact .fs-12 {
    font-size: 10px;
}

/* Large Version */
.quick-links.large .link-wrapper {
    min-width: 110px;
    min-height: 110px;
}

.quick-links.large .link-icon {
    font-size: 32px;
}

.quick-links.large .fs-12 {
    font-size: 14px;
}
   
       .live-stream-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
   border: 1px solid var(--icon-border);
     background: transparent;
    border-radius: 15px;
    padding: 15px;
    color: var(--icon-color);
    overflow: hidden;
}

.info {
    max-width: 60%;
}

.meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.meta img {
    width: 50px;
    height: 18px;
}

.meta span {
    font-size: 12px;
    font-weight: 600;
}

.meta .live {
    color: #ff3b3b;
}

.meta .wish {
    color: #ffc107;
}

.item h2 {
    font-size: 16px;
    margin: 5px 0;
}

.item p {
    font-size: 13px;
    opacity: 0.8;
}

.preview {
    width: 200px;
    height: auto;
}

@media (max-width: 576px) {
    .item {
        flex-direction: row;
        text-align: left;
    }

    .info {
        max-width: 60%;
    }

    .preview {
        width: 200px;
        margin-top: 0;
    }
}
       .wallet-earning-rate {
    font-weight: 600;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
}

.wallet-earning-rate.increase {
    color: #28a745; /* green for increase */
}

.wallet-earning-rate.decrease {
    color: #dc3545; /* red for decrease */
}

.wallet-earning-rate i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* Arrow animations */
.wallet-earning-rate.increase i {
    transform: translateY(-2px);
}

.wallet-earning-rate.decrease i {
    transform: translateY(2px);
}
       /* ===== POPUP OVERLAY ===== */
#checkinPopup{
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    padding: 16px;
}

/* show popup */
#checkinPopup.flex{
    display: flex;
}

/* ===== POPUP CARD ===== */
.checkin-box{
    position: relative;
    width: 100%;
    max-width: 380px;
   background: var(--card-gradient);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    animation: fadeIn .25s ease-out;
}

/* glow effect */
.checkin-glow{
    position:absolute;
    top:-80px;
    right:-80px;
    width:160px;
    height:160px;
    background:var(--icon-color);
    filter:blur(60px);
    border-radius:50%;
}

/* ===== TEXT ===== */
.checkin-title{
    font-size:18px;
    font-weight:800;
  color: var(--icon-color);
    margin-bottom:6px;
}

.checkin-desc{
    font-size:14px;
     color: var(--text-primary);
    margin-bottom:16px;
}

.checkin-reward{
    color: var(--icon-color);
    font-weight:600;
}

#claimMessage{
    color: var(--icon-color);
    font-size:13px;
    margin-bottom:16px;
}

/* ===== BUTTONS ===== */
.checkin-actions{
    display:flex;
    gap:10px;
}

.checkin-btn{
    flex:1;
    padding:10px;
    border-radius:12px;
    border:none;
    font-weight:600;
    cursor:pointer;
    transition:0.2s;
}

/* cancel button */
.checkin-cancel{
    background:#27272a;
    color:#fff;
}

.checkin-cancel:hover{
    background:#3f3f46;
}

/* claim button */
.checkin-claim{
    background:linear-gradient(90deg,#facc15,#fde047);
    color:#000;
    font-weight:800;
    box-shadow:0 4px 12px rgba(0,0,0,0.4);
}

.checkin-claim:hover{
    filter:brightness(1.1);
}

/* click animation */
.checkin-btn:active{
    transform:scale(0.95);
}

/* ===== ANIMATION ===== */
@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(15px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width:480px){

    .checkin-box{
        padding:20px;
        border-radius:16px;
    }

    .checkin-title{
        font-size:16px;
    }

    .checkin-desc{
        font-size:13px;
    }

    .checkin-btn{
        padding:9px;
        font-size:13px;
    }

}
/* =========================
   THEME CORE
========================= */
.dashboard-wrap {
    margin-top: 20px;
}

.glass-card {
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 16px;
}

/* =========================
   GAMES TICKER
========================= */
.games-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.games-title {
    font-size: 18px;
    font-weight: 800;
}

.games-hint {
    font-size: 12px;
    opacity: .6;
}

.games-slider {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 6px;
    cursor: grab;
}

.games-slider::-webkit-scrollbar {
    display: none;
}

.game-card {
    min-width: 170px;
    max-width: 170px;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    color: #fff;
    position: relative;
    transition: transform .35s ease, box-shadow .35s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,.3);
}

.game-card:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 25px 60px rgba(0,0,0,.5);
}

.game-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.game-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.8), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
}

.game-name {
    font-size: 14px;
    font-weight: 800;
}

.game-cta {
    font-size: 11px;
    opacity: .85;
}

/* =========================
   EARNINGS LIST
========================= */
.earnings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 14px;
}

.earnings-title {
    font-size: 18px;
    font-weight: 800;
}

.earnings-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.earnings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0,0,0,.1);
}

.earnings-left {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.earnings-icon {
    font-size: 18px;
    color: #6366f1;
}

.earnings-type {
    font-size: 13px;
    font-weight: 700;
}

.earnings-date {
    font-size: 11px;
    opacity: .6;
}

.earnings-amount {
    font-size: 15px;
    font-weight: 900;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .game-card {
        min-width: 150px;
    }
}

@media (max-width: 576px) {
    .welcome-container {
        padding: 8px 12px;
        white-space: normal;
        word-break: break-word;
        line-height: 1.4;
    }
    .text-myprimary.fs-13 {
        display: block;
        font-size: 10px; /* Slightly larger on mobile for better readability */
    }
}
/* Mobile view - straight line */
@media (max-width: 768px) {
    .wallet-title {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        font-size: 12px; /* Slightly smaller on mobile */
    }
}

/* For very small devices */
@media (max-width: 480px) {
    .wallet-title {
        font-size: 11px;
        letter-spacing: 0.2px;
    }
}

/* ================================
   HEADER STYLING
================================= */
.main-header-new {
    position: sticky;
    top: 35px;
    margin-bottom: 50px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    background: transparent;
}

.header-container {
    width: 90%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background-color: var(--sidebar-bg);
    border-bottom: 1px solid var(--bottom-nav-border);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Logo */
.logo img {
    height: 30px;
}

/* Title */
.header-title h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.header-title h6 {
    margin: 0;
    font-size: 11px;
    color: #888;
}

/* Right section */
.header-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap; /* keep everything in one line */
}

/* Avatar */
.avatar img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

/* Flag */
.flag img {
    width: 25px;
    height: 15px;
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 45px;
    right: 0;
    border-radius: 12px;
    padding: 10px 0;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Wallet / Streak */
.wallet-ticker {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

/* Streak counter */
.streak-counter {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: linear-gradient(135deg, rgba(255,87,34,0.15), rgba(255,193,7,0.15));
    padding: 3px 6px;
    border-radius: 20px;
    border: 1px solid rgba(255,87,34,0.3);
    backdrop-filter: blur(10px);
    font-size: 12px;
    white-space: nowrap; /* prevent breaking */
}

.streak-counter:hover {
    transform: scale(1.03);
    background: linear-gradient(135deg, rgba(255,87,34,0.25), rgba(255,193,7,0.25));
    border-color: rgba(255,87,34,0.6);
    box-shadow: 0 0 12px rgba(255,87,34,0.3);
}

.streak-icon i {
    font-size: 12px;
    color: #ff5722;
    filter: drop-shadow(0 0 2px rgba(255,87,34,0.6));
    animation: flameFlicker 1.5s ease-in-out infinite;
}

.streak-value {
    font-size: 12px;
    font-weight: bold;
    background: linear-gradient(135deg, #ff5722, #ffc107);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 3px rgba(255,87,34,0.3);
}

@keyframes flameFlicker {
    0%,100% { transform: scale(1); opacity:1; }
    50% { transform: scale(1.08); opacity:0.9; }
}

/* Currency & actions */
.currency-select {
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
}

/* Responsive tweaks: keep straight line, reduce streak & spacing */
@media (max-width: 768px) {
    .header-container {
        gap: 10px;
        padding: 6px 10px;
    }

    .header-title h5 {
        font-size: 13px;
    }
    .header-title h6 {
        font-size: 10px;
    }

    .avatar img {
        width: 28px;
        height: 28px;
    }

    .flag img {
        width: 22px;
        height: 14px;
    }

    .streak-counter {
        padding: 2px 5px;
        gap: 2px;
        font-size: 10px;
    }

    .streak-icon i {
        font-size: 10px;
    }

    .streak-value {
        font-size: 10px;
    }

    .currency-select {
        font-size: 11px;
        padding: 3px 5px;
    }
}

@media (max-width: 480px) {
    .streak-counter {
        padding: 1px 4px;
        gap: 1px;
        font-size: 9px;
    }
    .streak-icon i {
        font-size: 9px;
    }
    .streak-value {
        font-size: 9px;
    }
}

.wallet-ticker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Right side stacked vertically */
.wallet-actions {
    display: flex;
    flex-direction: column; /* stacked vertically */
    gap: 8px;
    min-width: 140px;
}


/* Withdraw button */
.wallet-actions .btn {
    font-size: 13px;
    padding: 6px;
}
/* ===== GRADIENT VARIANTS ===== */
/* Gold Gradient */
.link-wrapper.gradient-gold {
    background: linear-gradient(145deg, #fff9e6, #fff2d4);
}

body.dark-skin .link-wrapper.gradient-gold,
[data-theme="dark"] .link-wrapper.gradient-gold {
    background: linear-gradient(145deg, #2a1f0a, #1a1306);
}

/* Green Gradient */
.link-wrapper.gradient-green {
    background: linear-gradient(145deg, #f0fff4, #e6ffe6);
}

.link-wrapper.gradient-green .link-icon {
    color: #009933;
}

body.dark-skin .link-wrapper.gradient-green,
[data-theme="dark"] .link-wrapper.gradient-green {
    background: linear-gradient(145deg, #0a2a0a, #051a05);
}

body.dark-skin .link-wrapper.gradient-green .link-icon,
[data-theme="dark"] .link-wrapper.gradient-green .link-icon {
    color: #00cc44;
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .quick-links {
        gap: 20px;
        padding: 12px 8px;
    }
    
    .link-wrapper {
        min-width: 80px;
        min-height: 80px;
        padding: 10px 6px;
    }
    
    .link-wrapper .link-icon {
        font-size: 22px;
    }
    
    .link-wrapper .fs-12 {
        font-size: 11px;
    }
    
    .stroke-text {
        font-size: 20px;
        letter-spacing: 7px;
    }
}

@media (max-width: 480px) {
    .quick-links {
        gap: 12px;
    }
    
    .link-wrapper {
        min-width: 70px;
        min-height: 70px;
    }
    
    .link-wrapper .link-icon {
        font-size: 20px;
    }
    
    .link-wrapper .fs-12 {
        font-size: 10px;
    }
    
    .stroke-text {
        font-size: 18px;
        letter-spacing: 5px;
        -webkit-text-stroke: 1px currentColor;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes linkPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 193, 5, 0.1);
    }
    50% {
        box-shadow: 0 8px 20px rgba(255, 193, 5, 0.2);
    }
}

.link-wrapper.pulse {
    animation: linkPulse 2s infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.link-wrapper:hover .link-icon {
    animation: iconFloat 0.6s ease infinite;
}

/* ===== DISABLED STATE ===== */
.link-wrapper.disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(0.5);
}

/* ===== TOOLTIP STYLES ===== */
.link-wrapper {
    position: relative;
}

.link-wrapper[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #172b4c;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body.dark-skin .link-wrapper[data-tooltip]:hover::after,
[data-theme="dark"] .link-wrapper[data-tooltip]:hover::after {
    background: #ffd400;
    color: #172b4c;
    font-weight: 600;
}

/* ===== LOADING STATE ===== */
.link-wrapper.loading {
    position: relative;
    pointer-events: none;
}

.link-wrapper.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(255, 193, 5, 0.3);
    border-top-color: #ffc105;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* ========== THEME TOGGLE COMPONENT ========== */
.theme-toggle-menu-item {
  margin: 5px 0;
  border-radius: 8px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.theme-toggle-link {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  padding: 10px 15px !important;
  transition: all 0.3s ease;
}

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

.menu-toggle-container {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 15px;
}

/* Toggle Switch */
.cosmic-menu-switch {
  position: relative;
  display: block;
  width: 60px;
  height: 30px;
  background: var(--toggle-bg);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.8),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1),
    var(--toggle-shadow);
  flex-shrink: 0;
  overflow: hidden;
}

.cosmic-menu-switch::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  background: var(--toggle-knob);
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  z-index: 2;
  box-shadow: 
    0 2px 8px rgba(255, 154, 0, 0.5),
    inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* Icons */
.cosmic-icons {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 1;
}

.sun-icon, .moon-icon {
  font-size: 14px;
  transition: all 0.5s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Label */
.toggle-label {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

/* Checked state - Dark Mode */
#cosmic-menu-toggle:checked + .cosmic-menu-switch {
  background: var(--toggle-bg);
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.4),
    var(--toggle-shadow);
}

#cosmic-menu-toggle:checked + .cosmic-menu-switch::before {
  transform: translateX(30px);
  background: var(--toggle-knob);
  box-shadow: 
    0 2px 8px rgba(192, 192, 192, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

#cosmic-menu-toggle:checked + .cosmic-menu-switch .sun-icon {
  opacity: 0.3;
  transform: scale(0.7);
}

#cosmic-menu-toggle:checked + .cosmic-menu-switch .moon-icon {
  opacity: 1;
  transform: scale(1);
  filter: drop-shadow(0 0 4px rgba(192, 192, 192, 0.8));
}

/* ========== BASE THEME STYLES ========== */
body {
  background-color: var(--background-color);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-skin {
  background: radial-gradient(130% 55% at 10% -30%, #000000 -90%, #180138 100%), #180138;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
}

a {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* ========== LAYOUT COMPONENTS ========== */
.content-wrapper {
  background-color: var(--background-color);
}

.main-header {
  /* background-color: var(--header-bg); */
}

.main-sidebar {
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
}

/* ========== CARD ICONS - LIGHT & DARK MODE ========== */

/* ----- LIGHT MODE (Default) - Purple Blue #565cb3 ----- */
:root {
    /* Card Colors - Light Mode */
    --card-bg-light: #ffffff;
    --card-bg-secondary-light: #f8faff;
    --card-bg-tertiary-light: #f5f8ff;
    --card-gradient-light: linear-gradient(145deg, #ffffff, #f8faff);
    --card-gradient-hover-light: linear-gradient(145deg, #ffffff, #f0f5ff);
    --border-color-light: rgba(86, 92, 179, 0.08);
    --border-color-accent-light: rgba(86, 92, 179, 0.25);
    --border-hover-light: rgba(86, 92, 179, 0.4);
    --shadow-color-light: rgba(0, 0, 0, 0.04);
    --shadow-hover-light: rgba(86, 92, 179, 0.15);
    --text-primary-light: #172b4c;
    --text-secondary-light: #5C607B;
    --text-muted-light: #6f7287;
    
    /* Icon Colors - Light Mode (#565cb3) */
    --icon-primary-light: #565cb3;
    --icon-secondary-light: #6b70c2;
    --icon-hover-light: #4449a0;
    --icon-glow-light: rgba(86, 92, 179, 0.2);
    --icon-bg-light: rgba(86, 92, 179, 0.08);
    --icon-bg-hover-light: rgba(86, 92, 179, 0.15);
    
    /* Accent Colors */
    --accent-color-light: #565cb3;
    --accent-glow-light: rgba(86, 92, 179, 0.2);
    
    /* Default theme (Light) */
    --card-bg: var(--card-bg-light);
    --card-bg-secondary: var(--card-bg-secondary-light);
    --card-bg-tertiary: var(--card-bg-tertiary-light);
    --card-gradient: var(--card-gradient-light);
    --card-gradient-hover: var(--card-gradient-hover-light);
    --border-color: var(--border-color-light);
    --border-accent: var(--border-color-accent-light);
    --border-hover: var(--border-hover-light);
    --shadow-color: var(--shadow-color-light);
    --shadow-hover: var(--shadow-hover-light);
    --text-primary: var(--text-primary-light);
    --text-secondary: var(--text-secondary-light);
    --text-muted: var(--text-muted-light);
    
    /* Icons */
    --icon-primary: var(--icon-primary-light);
    --icon-secondary: var(--icon-secondary-light);
    --icon-hover: var(--icon-hover-light);
    --icon-glow: var(--icon-glow-light);
    --icon-bg: var(--icon-bg-light);
    --icon-bg-hover: var(--icon-bg-hover-light);
    
    /* Accent */
    --accent-color: var(--accent-color-light);
    --accent-glow: var(--accent-glow-light);
}

/* ----- DARK MODE - Mint Green #21c292 ----- */
body.dark-skin,
[data-theme="dark"] {
    /* Card Colors - Dark Mode */
    --card-bg-dark: #0f1a1f;
    --card-bg-secondary-dark: #1a2a2f;
    --card-bg-tertiary-dark: #1f3136;
    --card-gradient-dark: linear-gradient(145deg, #000000, #12153b);
    --card-gradient-hover-dark: linear-gradient(145deg, #565cb3, #565cb3);
    --border-color-dark: rgba(33, 194, 146, 0.15);
    --border-color-accent-dark: rgba(33, 194, 146, 0.25);
    --border-hover-dark: rgba(33, 194, 146, 0.4);
    --shadow-color-dark: rgba(0, 0, 0, 0.3);
    --shadow-hover-dark: rgba(33, 194, 146, 0.15);
    --text-primary-dark: #ffffff;
    --text-secondary-dark: #b5b5c3;
    --text-muted-dark: #a0aec0;
    
    /* Icon Colors - Dark Mode (#21c292) */
    --icon-primary-dark: #21c292;
    --icon-secondary-dark: #3ed9a8;
    --icon-hover-dark: #1aa87a;
    --icon-glow-dark: rgba(33, 194, 146, 0.3);
    --icon-bg-dark: rgba(33, 194, 146, 0.12);
    --icon-bg-hover-dark: rgba(33, 194, 146, 0.2);
    
    /* Accent Colors */
    --accent-color-dark: #21c292;
    --accent-glow-dark: rgba(33, 194, 146, 0.25);
    
    /* Apply dark theme */
    --card-bg: var(--card-bg-dark);
    --card-bg-secondary: #565cb3;
    --card-bg-tertiary: #565cb3;
    --card-gradient: var(--card-gradient-dark);
    --card-gradient-hover: var(--card-gradient-hover-dark);
    --border-color: var(--border-color-dark);
    --border-accent: var(--border-color-accent-dark);
    --border-hover: var(--border-hover-dark);
    --shadow-color: var(--shadow-color-dark);
    --shadow-hover: var(--shadow-hover-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --text-muted: var(--text-muted-dark);
    
    /* Icons */
    --icon-primary: var(--icon-primary-dark);
    --icon-secondary: var(--icon-secondary-dark);
    --icon-hover: var(--icon-hover-dark);
    --icon-glow: var(--icon-glow-dark);
    --icon-bg: var(--icon-bg-dark);
    --icon-bg-hover: var(--icon-bg-hover-dark);
    
    /* Accent */
    --accent-color: var(--accent-color-dark);
    --accent-glow: var(--accent-glow-dark);
}

/* ===== ICON STYLES ===== */

/* Card Header Icon */
.card-header-icon {
    color: var(--icon-primary);
    font-size: 22px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.card-header.has-icon .card-header-icon {
    margin-right: 8px;
}

.card-header-icon:hover {
    color: var(--icon-hover);
    transform: scale(1.1);
}

/* Card Icon Wrapper - For circular backgrounds */
.card-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--icon-bg);
    color: var(--icon-primary);
    transition: all 0.3s ease;
}

.card-icon-wrapper:hover {
    background: var(--icon-bg-hover);
    color: var(--icon-hover);
    transform: translateY(-2px);
}

/* Card Icon - Standalone */
.card-icon {
    color: var(--icon-primary);
    font-size: 20px;
    transition: all 0.3s ease;
}

.card-icon:hover {
    color: var(--icon-hover);
    transform: scale(1.15);
    filter: drop-shadow(0 4px 8px var(--icon-glow));
}

/* Card Action Icons (Edit, Delete, etc) */
.card-action-icon {
    color: var(--text-secondary);
    font-size: 18px;
    transition: all 0.3s ease;
    padding: 6px;
    border-radius: 8px;
}

.card-action-icon:hover {
    color: var(--icon-primary);
    background: var(--icon-bg);
    transform: translateY(-2px);
}

/* ===== CARD VARIANTS WITH ICONS ===== */

/* Primary Card - Left Border Accent */
.card-primary .card-header-icon,
.card-primary .card-icon {
    color: var(--icon-primary);
}

/* Gradient Card - Top Border Accent */
.card-gradient .card-header-icon,
.card-gradient .card-icon {
    color: var(--icon-secondary);
}

/* Glass Card */
.card-glass .card-icon-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

/* ===== CARD BADGE WITH ICON ===== */
.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 8px var(--accent-glow);
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-badge i,
.card-badge svg {
    font-size: 14px;
    color: white;
}

/* ===== CARD RIBBON ===== */
.card-ribbon {
    position: absolute;
    top: 20px;
    left: -8px;
    background: var(--accent-color);
    color: white;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 0 50px 50px 0;
    box-shadow: 0 4px 8px var(--shadow-color);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-ribbon i,
.card-ribbon svg {
    font-size: 14px;
    color: white;
}

/* ===== ICON POSITIONING ===== */

/* Icon Left */
.icon-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-left i,
.icon-left svg {
    color: var(--icon-primary);
    font-size: 18px;
}

/* Icon Right */
.icon-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row-reverse;
}

.icon-right i,
.icon-right svg {
    color: var(--icon-primary);
    font-size: 18px;
}

/* Icon Top */
.icon-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.icon-top i,
.icon-top svg {
    color: var(--icon-primary);
    font-size: 24px;
    margin-bottom: 4px;
}

/* ===== ICON SIZES ===== */
.icon-xs {
    font-size: 14px !important;
}

.icon-sm {
    font-size: 18px !important;
}

.icon-md {
    font-size: 24px !important;
}

.icon-lg {
    font-size: 32px !important;
}

.icon-xl {
    font-size: 48px !important;
}

/* ===== ICON SHAPES ===== */
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--icon-bg);
    color: var(--icon-primary);
    transition: all 0.3s ease;
}

.icon-circle:hover {
    background: var(--icon-bg-hover);
    color: var(--icon-hover);
    transform: scale(1.1);
    box-shadow: 0 8px 16px var(--icon-glow);
}

.icon-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--icon-bg);
    color: var(--icon-primary);
    transition: all 0.3s ease;
}

.icon-square:hover {
    background: var(--icon-bg-hover);
    color: var(--icon-hover);
    transform: rotate(5deg) scale(1.1);
}

/* ===== ICON ANIMATIONS ===== */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 var(--icon-glow));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 10px var(--icon-glow));
    }
}

.icon-pulse {
    animation: iconPulse 2s infinite;
}

@keyframes iconSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.icon-spin {
    animation: iconSpin 3s linear infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.icon-bounce {
    animation: iconBounce 2s ease infinite;
}

/* ===== CARD FOOTER ICONS ===== */
.card-footer-icon {
    color: var(--icon-primary);
    font-size: 18px;
    transition: all 0.3s ease;
    padding: 6px;
    border-radius: 8px;
}

.card-footer-icon:hover {
    color: var(--icon-hover);
    background: var(--icon-bg);
    transform: translateY(-2px);
}

/* ===== CARD STATUS ICONS ===== */
.card-status-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
}

.card-status-icon i,
.card-status-icon svg {
    color: var(--icon-primary);
    font-size: 16px;
}

.card-status-icon.success i {
    color: #28a745;
}

.card-status-icon.warning i {
    color: #ffc107;
}

.card-status-icon.danger i {
    color: #dc3545;
}

.card-status-icon.info i {
    color: #17a2b8;
}

/* ===== DARK MODE ICON SPECIFIC STYLES ===== */
body.dark-skin .card-header-icon,
[data-theme="dark"] .card-header-icon {
    color: var(--icon-primary);
    text-shadow: 0 0 10px var(--icon-glow);
}

body.dark-skin .card-icon-wrapper,
[data-theme="dark"] .card-icon-wrapper {
    background: var(--icon-bg);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(33, 194, 146, 0.1);
}

body.dark-skin .card-icon-wrapper:hover,
[data-theme="dark"] .card-icon-wrapper:hover {
    background: var(--icon-bg-hover);
    border-color: rgba(33, 194, 146, 0.3);
    box-shadow: 0 0 20px var(--icon-glow);
}

body.dark-skin .card-icon:hover,
[data-theme="dark"] .card-icon:hover {
    filter: drop-shadow(0 0 8px var(--icon-glow));
}

body.dark-skin .icon-circle,
[data-theme="dark"] .icon-circle,
body.dark-skin .icon-square,
[data-theme="dark"] .icon-square {
    background: var(--icon-bg);
    border: 1px solid rgba(33, 194, 146, 0.15);
}

body.dark-skin .icon-circle:hover,
[data-theme="dark"] .icon-circle:hover,
body.dark-skin .icon-square:hover,
[data-theme="dark"] .icon-square:hover {
    background: var(--icon-bg-hover);
    border-color: var(--icon-primary);
    box-shadow: 0 0 25px var(--icon-glow);
}

/* ===== RESPONSIVE ICON STYLES ===== */
@media (max-width: 768px) {
    .card-header-icon {
        font-size: 20px;
    }
    
    .card-icon-wrapper {
        width: 36px;
        height: 36px;
    }
    
    .icon-lg {
        font-size: 28px !important;
    }
    
    .icon-xl {
        font-size: 40px !important;
    }
    
    .icon-circle,
    .icon-square {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .card-header-icon {
        font-size: 18px;
    }
    
    .card-icon-wrapper {
        width: 32px;
        height: 32px;
    }
    
    .icon-lg {
        font-size: 24px !important;
    }
    
    .icon-xl {
        font-size: 36px !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .card-header-icon,
    .card-icon,
    .card-icon-wrapper {
        color: #000 !important;
        background: transparent !important;
        box-shadow: none !important;
        filter: none !important;
    }
}

/* ========== ICON SYSTEM - LIGHT & DARK MODE ========== */

/* ----- LIGHT MODE (Default) ----- */
:root {
    /* Icon Colors - Light Mode */
    --icon-color-light: #565cb3;        /* Your light mode color */
    --icon-color-hover-light: #4348a0;  /* Darker shade for hover */
    --icon-bg-light: rgba(86, 92, 179, 0.08);
    --icon-border-light: rgba(86, 92, 179, 0.2);
    
    /* Default theme (Light) */
    --icon-color: var(--icon-color-light);
    --icon-color-hover: var(--icon-color-hover-light);
    --icon-bg: var(--icon-bg-light);
    --icon-border: var(--icon-border-light);
}

/* ----- DARK MODE ----- */
body.dark-skin,
[data-theme="dark"] {
    /* Icon Colors - Dark Mode */
    --icon-color-dark: #21c292;         /* Your dark mode color */
    --icon-color-hover-dark: #1aa57a;   /* Darker shade for hover */
    --icon-bg-dark: rgba(33, 194, 146, 0.12);
    --icon-border-dark: rgba(33, 194, 146, 0.25);
    
    /* Apply dark theme */
    --icon-color: var(--icon-color-dark);
    --icon-color-hover: var(--icon-color-hover-dark);
    --icon-bg: var(--icon-bg-dark);
    --icon-border: var(--icon-border-dark);
}

/* ===== BASE ICON STYLES ===== */
/* All bx bxs icons */
.bx.bxs,
[class*="bxs-"] {
    color: var(--icon-color);
    transition: color 0.2s ease;
}

/* Hover effect for interactive icons */
.bx.bxs:hover,
[class*="bxs-"]:hover,
[role="button"] .bx.bxs:hover,
.copyIcon .bx.bxs:hover {
    color: var(--icon-color-hover);
}

/* ===== COPY ICON SPECIFIC ===== */
.copyIcon .bx.bxs-copy {
    color: var(--icon-color);
    font-size: 22px;
    padding: 8px;
    border-radius: 50%;
    background: var(--icon-bg);
}

.copyIcon:hover .bx.bxs-copy {
    color: var(--icon-color-hover);
    background: var(--icon-bg);
}

/* Copy feedback alert */
.copy-feedback-referral {
    background: var(--icon-bg);
    color: var(--icon-color);
    border: 1px solid var(--icon-border);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
}

/* ===== STATS CARD ICONS ===== */
.card .bx.bxs {
    color: var(--icon-color);
    font-size: 24px;
    padding: 12px;
    border-radius: 16px;
    background: var(--icon-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.card:hover .bx.bxs {
    color: var(--icon-color-hover);
}

/* Individual stat icons */
.bx.bxs-user-plus,
.bx.bxs-time,
.bx.bxs-group {
    color: var(--icon-color);
}

/* ===== SWIPER STAT CARDS ===== */
.swiper-stat .card {
    min-width: 180px;
    border: 1px solid var(--border-color);
    background: var(--card-gradient);
}

.swiper-stat .card:hover {
    border-color: var(--icon-border);
}

.swiper-stat .card .card-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.swiper-stat .card .fs-12 {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.swiper-stat .card .fs-16 {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
}

/* ===== REFERRAL LINK SECTION ===== */
.mycard.copyIcon {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--card-gradient);
    border: 1px solid var(--icon-border);
    border-radius: 20px;
    cursor: pointer;
}

.referral-link {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    max-width: 280px;
}

.mycard.copyIcon:hover .referral-link {
    color: var(--icon-color);
}

.fs-15.fw-700 {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
}

/* ===== ICON SIZES ===== */
.bx.bxs-xs { font-size: 16px; }
.bx.bxs-sm { font-size: 20px; }
.bx.bxs-md { font-size: 24px; }
.bx.bxs-lg { font-size: 32px; }
.bx.bxs-xl { font-size: 40px; }


/* ===== RESPONSIVE (same layout) ===== */
@media (max-width: 768px) {

    .mycard.copyIcon{
        padding: 16px;
        gap: 12px;
    }

    .referral-link{
        max-width: 180px;
        font-size: 12px;
    }

    .fs-15.fw-700{
        font-size: 14px;
    }

    .bx.bxs-xl{
        font-size: 32px;
    }

}

@media (max-width: 480px){

    .mycard.copyIcon{
        padding: 14px;
        gap: 10px;
    }

    .referral-link{
        max-width: 140px;
        font-size: 11px;
    }

}
/* ===== CARDING ===== */

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
   border: 1px solid var(--border-color);
    background: var(--card-gradient);
    color: var(--text-primary);
    background-clip: border-box;
    border-radius: 0.25rem;
}

.card>hr {
    margin-right: 0;
    margin-left: 0;
}

.card>.list-group {
    border-top: inherit;
    border-bottom: inherit;
}

.card>.list-group:first-child {
    border-top-width: 0;
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}

.card>.list-group:last-child {
    border-bottom-width: 0;
    border-bottom-right-radius: calc(0.25rem - 1px);
    border-bottom-left-radius: calc(0.25rem - 1px);
}

.card>.card-header+.list-group,
.card>.list-group+.card-footer {
    border-top: 0;
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
}

.card-title {
    margin-bottom: 0.5rem;
}

.card-subtitle {
    margin-top: -0.25rem;
    margin-bottom: 0;
}

.card-text:last-child {
    margin-bottom: 0;
}

.card-link:hover {
    text-decoration: none;
}

.card-link+.card-link {
    margin-left: 1rem;
}

.card-header {
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
    border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-footer {
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-footer:last-child {
    border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}

.card-header-tabs {
    margin-right: -0.5rem;
    margin-bottom: -0.5rem;
    margin-left: -0.5rem;
    border-bottom: 0;
}

.card-header-pills {
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}

.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    border-radius: calc(0.25rem - 1px);
}

.card-img,
.card-img-top,
.card-img-bottom {
    width: 100%;
}

.card-img,
.card-img-top {
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}

.card-img,
.card-img-bottom {
    border-bottom-right-radius: calc(0.25rem - 1px);
    border-bottom-left-radius: calc(0.25rem - 1px);
}

.card-group>.card {
    margin-bottom: 0.75rem;
}

@media (min-width: 576px) {
    .card-group {
        display: flex;
        flex-flow: row wrap;
    }
    .card-group>.card {
        flex: 1 0 0%;
        margin-bottom: 0;
    }
    .card-group>.card+.card {
        margin-left: 0;
        border-left: 0;
    }
    .card-group>.card:not(:last-child) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .card-group>.card:not(:last-child) .card-img-top,
    .card-group>.card:not(:last-child) .card-header {
        border-top-right-radius: 0;
    }
    .card-group>.card:not(:last-child) .card-img-bottom,
    .card-group>.card:not(:last-child) .card-footer {
        border-bottom-right-radius: 0;
    }
    .card-group>.card:not(:first-child) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
    .card-group>.card:not(:first-child) .card-img-top,
    .card-group>.card:not(:first-child) .card-header {
        border-top-left-radius: 0;
    }
    .card-group>.card:not(:first-child) .card-img-bottom,
    .card-group>.card:not(:first-child) .card-footer {
        border-bottom-left-radius: 0;
    }
}
/* ===== END ===== */
/* ===== ICON WITH BACKGROUND CIRCLE ===== */
.bx.bxs-circle-bg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--icon-bg);
    color: var(--icon-color);
}

.bx.bxs-circle-bg::before {
    position: absolute;
    font-size: 24px;
}

.bx.bxs-circle-bg:hover {
    color: var(--icon-color-hover);
    background: var(--icon-bg);
}

/*form-element*/

.form-element .input-group .input-group-addon {
    border: none;
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    background-color: transparent;
    background-position: center bottom, center calc(100% - 1px);
    background-repeat: no-repeat;
    background-size: 0 2px, 100% 1px;
}

.form-element .form-control {
   color: var(--text-primary);
    min-height: 45px;
    padding-left: 10px;
    border-radius: 4px;
    float: none;
    background: none;
}

.form-element .form-control :focus {
    border: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    float: none;
    background-size: 100% 2px, 100% 1px;
    outline: 0;
    -webkit-transition-duration: .3s;
    -o-transition-duration: .3s;
    transition-duration: .3s;
}

.form-element .form-control .focus {
    background-size: 100% 2px, 100% 1px;
    outline: 0;
    -webkit-transition-duration: .3s;
    -o-transition-duration: .3s;
    transition-duration: .3s;
}

.form-group {
    margin-bottom: 1rem;
}

/* ===== ICON WITH SQUARE BACKGROUND ===== */
.bx.bxs-square-bg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--icon-bg);
    color: var(--icon-color);
}

.bx.bxs-square-bg:hover {
    color: var(--icon-color-hover);
    background: var(--icon-bg);
}

/* ===== ICON GROUP ===== */
.icon-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-group .bx.bxs {
    padding: 10px;
    border-radius: 12px;
    background: var(--icon-bg);
    color: var(--icon-color);
    font-size: 20px;
}

.icon-group .bx.bxs:hover {
    color: var(--icon-color-hover);
    background: var(--icon-bg);
}

/* ===== DARK MODE SPECIFIC ICON ADJUSTMENTS ===== */
body.dark-skin .bx.bxs,
[data-theme="dark"] .bx.bxs {
    color: #21c292;
}

body.dark-skin .copyIcon .bx.bxs-copy,
[data-theme="dark"] .copyIcon .bx.bxs-copy {
    background: rgba(33, 194, 146, 0.08);
    color: #21c292;
}

body.dark-skin .card .bx.bxs,
[data-theme="dark"] .card .bx.bxs {
    background: rgba(33, 194, 146, 0.08);
    color: #21c292;
}

body.dark-skin .mycard.copyIcon,
[data-theme="dark"] .mycard.copyIcon {
    border-color: rgba(33, 194, 146, 0.15);
}

body.dark-skin .mycard.copyIcon:hover,
[data-theme="dark"] .mycard.copyIcon:hover {
    border-color: #21c292;
}

/* ===== RESPONSIVE ICON STYLES ===== */
@media (max-width: 768px) {
    .bx.bxs {
        font-size: 20px;
    }
    
    .copyIcon .bx.bxs-copy {
        font-size: 20px;
        padding: 6px;
    }
    
    .card .bx.bxs {
        font-size: 22px;
        padding: 10px;
    }
    
    .bx.bxs-circle-bg {
        width: 40px;
        height: 40px;
    }
    
    .bx.bxs-circle-bg::before {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .bx.bxs {
        font-size: 18px;
    }
    
    .copyIcon .bx.bxs-copy {
        font-size: 18px;
        padding: 5px;
    }
    
    .card .bx.bxs {
        font-size: 20px;
        padding: 8px;
    }
}

/* ===== UTILITY CLASSES ===== */
/* Disabled icon */
.bx.bxs.disabled,
.bx.bxs:disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Icon with custom color (override) */
.bx.bxs.custom-color {
    color: currentColor !important;
}

/* ===== PRINT STYLES ===== */
@media print {
    .bx.bxs {
        color: #000 !important;
    }
}

/* ========== BOTTOM NAVIGATION - LIGHT & DARK MODE ========== */

/* ----- LIGHT MODE (Default) ----- */
:root {
    /* Bottom Nav - Light Mode */
    --bottom-nav-bg-light: rgba(255, 255, 255, 0.85);
    --bottom-nav-border-light: rgba(86, 92, 179, 0.2);
    --bottom-nav-item-color-light: #5C607B;
    --bottom-nav-item-active-light: #565cb3;
    --bottom-nav-item-hover-light: #565cb3;
    --bottom-nav-item-name-light: #5C607B;
    --bottom-nav-button-bg-light: #565cb3;
    --bottom-nav-button-shadow-light: rgba(86, 92, 179, 0.42);
    --bottom-nav-button-icon-light: #ffffff;
    --bottom-nav-rainbow-bg-light: rgba(86, 92, 179, 0.08);
    
    /* Default theme (Light) */
    --bottom-nav-bg: var(--bottom-nav-bg-light);
    --bottom-nav-border: var(--bottom-nav-border-light);
    --bottom-nav-item-color: var(--bottom-nav-item-color-light);
    --bottom-nav-item-active: var(--bottom-nav-item-active-light);
    --bottom-nav-item-hover: var(--bottom-nav-item-hover-light);
    --bottom-nav-item-name: var(--bottom-nav-item-name-light);
    --bottom-nav-button-bg: var(--bottom-nav-button-bg-light);
    --bottom-nav-button-shadow: var(--bottom-nav-button-shadow-light);
    --bottom-nav-button-icon: var(--bottom-nav-button-icon-light);
    --bottom-nav-rainbow-bg: var(--bottom-nav-rainbow-bg-light);
}

/* ----- DARK MODE ----- */
body.dark-skin,
[data-theme="dark"] {
    /* Bottom Nav - Dark Mode */
    --bottom-nav-bg-dark: rgba(0, 29, 34, 0.85);
    --bottom-nav-border-dark: rgba(33, 194, 146, 0.25);
    --bottom-nav-item-color-dark: #b5b5c3;
    --bottom-nav-item-active-dark: #21c292;
    --bottom-nav-item-hover-dark: #21c292;
    --bottom-nav-item-name-dark: #b5b5c3;
    --bottom-nav-button-bg-dark: #21c292;
    --bottom-nav-button-shadow-dark: rgba(33, 194, 146, 0.42);
    --bottom-nav-button-icon-dark: #ffffff;
    --bottom-nav-rainbow-bg-dark: rgba(33, 194, 146, 0.12);
    
    /* Apply dark theme */
    --bottom-nav-bg: var(--bottom-nav-bg-dark);
    --bottom-nav-border: var(--bottom-nav-border-dark);
    --bottom-nav-item-color: var(--bottom-nav-item-color-dark);
    --bottom-nav-item-active: var(--bottom-nav-item-active-dark);
    --bottom-nav-item-hover: var(--bottom-nav-item-hover-dark);
    --bottom-nav-item-name: var(--bottom-nav-item-name-dark);
    --bottom-nav-button-bg: var(--bottom-nav-button-bg-dark);
    --bottom-nav-button-shadow: var(--bottom-nav-button-shadow-dark);
    --bottom-nav-button-icon: var(--bottom-nav-button-icon-dark);
    --bottom-nav-rainbow-bg: var(--bottom-nav-rainbow-bg-dark);
}

/* ===== BOTTOM NAVIGATION CONTAINER ===== */
.bottom-nav {
    z-index: 999;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    border-top: 1px solid var(--bottom-nav-border);
    /* background-color: var(--bottom-nav-bg) !important; */
    padding: 5px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* ===== BOTTOM NAVIGATION ITEMS ===== */
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: var(--bottom-nav-item-color);
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 50px;
    transition: color 0.2s ease, background-color 0.2s ease;
    position: relative;
}

.bottom-nav-item .bx {
    font-size: 24px;
    transition: color 0.2s ease;
}

.bottom-nav-item .item-name {
    font-size: 11px;
    color: var(--bottom-nav-item-name);
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

/* Active & Hover States */
.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--bottom-nav-item-active);
}

.bottom-nav-item.active .item-name,
.bottom-nav-item:hover .item-name {
    color: var(--bottom-nav-item-active);
}

.bottom-nav-item.active .bx,
.bottom-nav-item:hover .bx {
    color: var(--bottom-nav-item-active);
}

/* Active Indicator */
.bottom-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--bottom-nav-item-active);
}

/* ===== BOTTOM NAVIGATION BUTTON (FLOATING ACTION) ===== */
.bottom-nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: var(--bottom-nav-button-bg);
    border-radius: 50%;
    position: relative;
    box-shadow: 0px 6px 18px 2px var(--bottom-nav-button-shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: -20px;
}

.bottom-nav-button .bx {
    color: var(--bottom-nav-button-icon);
    font-size: 32px;
    transition: transform 0.2s ease;
}

.bottom-nav-button:hover {
    background-color: var(--bottom-nav-item-active);
    box-shadow: 0px 8px 22px 4px var(--bottom-nav-button-shadow);
}

.bottom-nav-button:hover .bx {
    transform: scale(1.05);
}

/* ===== CARD RAINBOW ===== */
.card-rainbow {
    position: relative;
    border-radius: 15px;
    padding: 15px;
    background-color: var(--bottom-nav-rainbow-bg);
    z-index: 1;
    border: 1px solid var(--bottom-nav-border);
    backdrop-filter: blur(8px);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* ===== BOTTOM NAVIGATION VARIANTS ===== */

/* Compact Bottom Nav */
.bottom-nav.compact {
    padding: 4px 12px;
    width: 90%;
    border-radius: 30px;
    bottom: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.bottom-nav.compact .bottom-nav-item {
    padding: 6px 10px;
}

.bottom-nav.compact .bottom-nav-item .bx {
    font-size: 22px;
}

.bottom-nav.compact .bottom-nav-item .item-name {
    font-size: 10px;
}

.bottom-nav.compact .bottom-nav-button {
    width: 48px;
    height: 48px;
}

.bottom-nav.compact .bottom-nav-button .bx {
    font-size: 28px;
}

/* Bottom Nav with Icons Only */
.bottom-nav.icons-only .bottom-nav-item .item-name {
    display: none;
}

.bottom-nav.icons-only .bottom-nav-item .bx {
    font-size: 26px;
}

/* ===== LIGHT MODE SPECIFIC ===== */
body:not(.dark-skin) .bottom-nav {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-top-color: rgba(86, 92, 179, 0.15);
}

body:not(.dark-skin) .bottom-nav-item {
    color: #5C607B;
}

body:not(.dark-skin) .bottom-nav-item.active,
body:not(.dark-skin) .bottom-nav-item:hover {
    color: #565cb3;
}

body:not(.dark-skin) .bottom-nav-item.active .item-name,
body:not(.dark-skin) .bottom-nav-item:hover .item-name {
    color: #565cb3;
}

body:not(.dark-skin) .bottom-nav-button {
    background-color: #565cb3;
    box-shadow: 0px 6px 18px 2px rgba(86, 92, 179, 0.42);
}

/* ===== DARK MODE SPECIFIC ===== */
body.dark-skin .bottom-nav {
    /* background-color: rgba(0, 29, 34, 0.9) !important; */
    border-top-color: rgba(33, 194, 146, 0.25);
    backdrop-filter: blur(12px);
}

body.dark-skin .bottom-nav-item {
    color: #b5b5c3;
}

body.dark-skin .bottom-nav-item.active,
body.dark-skin .bottom-nav-item:hover {
    color: #21c292;
}

body.dark-skin .bottom-nav-item.active .item-name,
body.dark-skin .bottom-nav-item:hover .item-name {
    color: #21c292;
}

body.dark-skin .bottom-nav-item.active .bx,
body.dark-skin .bottom-nav-item:hover .bx {
    color: #21c292;
}

body.dark-skin .bottom-nav-item.active::after {
    background-color: #21c292;
}

body.dark-skin .bottom-nav-button {
    background-color: #21c292;
    box-shadow: 0px 6px 18px 2px rgba(33, 194, 146, 0.42);
}

body.dark-skin .bottom-nav-button .bx {
    color: #ffffff;
}

body.dark-skin .card-rainbow {
    background-color: rgba(33, 194, 146, 0.08);
    border-color: rgba(33, 194, 146, 0.2);
}

/* Preserve your original dark-skin.theme-primary.fixed override */
.dark-skin.theme-primary.fixed .bottom-nav {
    /* background: rgba(0, 29, 34, 0.95) !important; */
    border-top-color: #21c292;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .bottom-nav {
        padding: 6px 12px;
    }
    
    .bottom-nav-item {
        padding: 6px 8px;
    }
    
    .bottom-nav-item .bx {
        font-size: 22px;
    }
    
    .bottom-nav-item .item-name {
        font-size: 10px;
    }
    
    .bottom-nav-button {
        width: 52px;
        height: 52px;
    }
    
    .bottom-nav-button .bx {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .bottom-nav {
        padding: 4px 8px;
    }
    
    .bottom-nav-item {
        padding: 4px 6px;
        gap: 2px;
    }
    
    .bottom-nav-item .bx {
        font-size: 20px;
    }
    
    .bottom-nav-item .item-name {
        font-size: 9px;
    }
    
    .bottom-nav-button {
        width: 48px;
        height: 48px;
    }
    
    .bottom-nav-button .bx {
        font-size: 26px;
    }
}

/* ===== SAFE AREA FOR NOTCHED DEVICES ===== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .bottom-nav {
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }
    
    .bottom-nav.compact {
        bottom: calc(10px + env(safe-area-inset-bottom));
    }
}

/* ===== BOTTOM NAVIGATION ITEMS WRAPPER ===== */
.bottom-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 4px;
}

/* ===== DIVIDER BETWEEN ITEMS ===== */
.bottom-nav-divider {
    width: 1px;
    height: 24px;
    background-color: var(--bottom-nav-border);
    margin: 0 4px;
}

/* ===== DISABLED STATE ===== */
.bottom-nav-item.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ===== BOTTOM NAVIGATION WITH LABELS ===== */
.bottom-nav.with-labels .bottom-nav-item {
    padding: 8px 16px;
}

.bottom-nav.with-labels .bottom-nav-item .bx {
    font-size: 22px;
}

.bottom-nav.with-labels .bottom-nav-item .item-name {
    display: block;
    font-size: 11px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .bottom-nav {
        display: none;
    }
}

/* ========== TABLES ========== */
.table {
  color: var(--text-primary);
}

.table > thead > tr > th {
  background-color: var(--table-header-bg);
  border-color: var(--table-border);
  color: var(--text-primary);
}

.table > tbody > tr > td,
.table > tbody > tr > th {
  border-color: var(--table-border);
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.05);
}
/* ========== CUSTOM LIST - LIGHT & DARK MODE ========== */

/* ----- LIGHT MODE (Default) ----- */
:root {
    /* List Colors - Light Mode */
    --list-bg-light: transparent;
    --list-item-bg-light: #ffffff;
    --list-item-hover-light: rgba(86, 92, 179, 0.04);
    --list-border-light: rgba(23, 43, 76, 0.08);
    --list-text-primary-light: #172b4c;
    --list-text-secondary-light: #5C607B;
    --list-text-muted-light: #6f7287;
    --list-icon-color-light: #565cb3;
    --list-amount-color-light: #172b4c;
    --list-date-color-light: #6f7287;
    --list-type-color-light: #5C607B;
    --list-view-all-color-light: #565cb3;
    
    /* Default theme (Light) */
    --list-bg: var(--list-bg-light);
    --list-item-bg: var(--list-item-bg-light);
    --list-item-hover: var(--list-item-hover-light);
    --list-border: var(--list-border-light);
    --list-text-primary: var(--list-text-primary-light);
    --list-text-secondary: var(--list-text-secondary-light);
    --list-text-muted: var(--list-text-muted-light);
    --list-icon-color: var(--list-icon-color-light);
    --list-amount-color: var(--list-amount-color-light);
    --list-date-color: var(--list-date-color-light);
    --list-type-color: var(--list-type-color-light);
    --list-view-all-color: var(--list-view-all-color-light);
}

/* ----- DARK MODE ----- */
body.dark-skin,
[data-theme="dark"] {
    /* List Colors - Dark Mode */
    --list-bg-dark: transparent;
    --list-item-bg-dark: transparent;
    --list-item-hover-dark: rgba(33, 194, 146, 0.05);
    --list-border-dark: rgba(33, 194, 146, 0.15);
    --list-text-primary-dark: #ffffff;
    --list-text-secondary-dark: #b5b5c3;
    --list-text-muted-dark: #a0aec0;
    --list-icon-color-dark: #21c292;
    --list-amount-color-dark: #21c292;
    --list-date-color-dark: #a0aec0;
    --list-type-color-dark: #b5b5c3;
    --list-view-all-color-dark: #21c292;
    
    /* Apply dark theme */
    --list-bg: var(--list-bg-dark);
    --list-item-bg: var(--list-item-bg-dark);
    --list-item-hover: var(--list-item-hover-dark);
    --list-border: var(--list-border-dark);
    --list-text-primary: var(--list-text-primary-dark);
    --list-text-secondary: var(--list-text-secondary-dark);
    --list-text-muted: var(--list-text-muted-dark);
    --list-icon-color: var(--list-icon-color-dark);
    --list-amount-color: var(--list-amount-color-dark);
    --list-date-color: var(--list-date-color-dark);
    --list-type-color: var(--list-type-color-dark);
    --list-view-all-color: var(--list-view-all-color-dark);
}

/* ===== CUSTOM LIST CONTAINER ===== */
.custom-list {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin: 0;
    width: 100%;
    list-style: none;
    background: var(--list-bg);
}

/* ===== LIST ITEMS ===== */
.custom-list li {
    position: relative;
    padding: 1.2rem 1rem;
    color: var(--list-text-primary);
    border-bottom: 1px solid var(--list-border);
    background: var(--list-item-bg);
    transition: background-color 0.2s ease, border-color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hover effect */
.custom-list li:hover {
    background: var(--list-item-hover);
}

/* Remove border from last item */
.custom-list li:last-child {
    border-bottom: none;
}

/* ===== LIST ITEM CONTENT ===== */
.custom-list li .d-flex.gap-3 {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* Icon styles */
.custom-list li .ri-cash-line,
.custom-list li [class*="ri-"] {
    color: var(--list-icon-color);
    font-size: 20px;
    transition: color 0.2s ease;
    margin-top: 2px;
}

/* Type text */
.custom-list li .fs-12 {
    font-size: 13px;
    font-weight: 600;
    color: var(--list-type-color);
    line-height: 1.4;
    text-transform: capitalize;
}

/* Date text */
.custom-list li p {
    font-size: 11px;
    color: var(--list-date-color);
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
}

/* Amount text */
.custom-list li .text-success,
.custom-list li .text-primary,
.custom-list li .text-warning,
.custom-list li .text-danger,
.custom-list li span[class*="text-"] {
    font-size: 16px;
    font-weight: 700;
    color: var(--list-amount-color) !important;
}

/* ===== HEADER SECTION ===== */
.d-flex.justify-content-between.align-items-end.w-p100.mb-10 {
    margin-bottom: 15px;
    width: 100%;
}

.d-flex.justify-content-between.align-items-end.w-p100.mb-10 .fw-bolder.text-black {
    color: var(--list-text-primary) !important;
    font-size: 18px;
    font-weight: 700;
}

/* View all link */
.d-flex.justify-content-between.align-items-end.w-p100.mb-10 a {
    color: var(--list-view-all-color);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 50px;
    background: var(--list-item-hover);
    transition: all 0.2s ease;
}

.d-flex.justify-content-between.align-items-end.w-p100.mb-10 a:hover {
    background: var(--list-icon-color);
    color: white;
}

/* ===== EMPTY STATE ===== */
.custom-list li.text-center.fs-12 {
    justify-content: center;
    color: var(--list-text-muted);
    padding: 2rem 1rem;
    font-style: italic;
}

/* ===== LIST VARIANTS ===== */

/* Bordered List */
.custom-list.bordered li {
    border: 1px solid var(--list-border);
    border-bottom: none;
    border-radius: 0;
}

.custom-list.bordered li:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.custom-list.bordered li:last-child {
    border-bottom: 1px solid var(--list-border);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Card Style List */
.custom-list.card-style li {
    background: var(--card-bg);
    margin-bottom: 8px;
    border-radius: 12px;
    border: 1px solid var(--list-border);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.custom-list.card-style li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-hover);
}

/* Compact List */
.custom-list.compact li {
    padding: 0.8rem 1rem;
}

.custom-list.compact li .fs-12 {
    font-size: 12px;
}

.custom-list.compact li p {
    font-size: 10px;
}

.custom-list.compact li .text-success {
    font-size: 14px;
}

/* ===== LIGHT MODE SPECIFIC ===== */
body:not(.dark-skin) .custom-list li {
    border-bottom-color: rgba(86, 92, 179, 0.08);
}

body:not(.dark-skin) .custom-list li .ri-cash-line {
    color: #565cb3;
}

body:not(.dark-skin) .custom-list li .fs-12 {
    color: #5C607B;
}

body:not(.dark-skin) .custom-list li p {
    color: #6f7287;
}

body:not(.dark-skin) .custom-list li .text-success {
    color: #28a745 !important;
}

body:not(.dark-skin) .custom-list li .text-primary {
    color: #565cb3 !important;
}

body:not(.dark-skin) .custom-list li .text-warning {
    color: #ffc107 !important;
}

body:not(.dark-skin) .custom-list li .text-danger {
    color: #dc3545 !important;
}

/* ===== DARK MODE SPECIFIC ===== */
body.dark-skin .custom-list li {
    border-bottom-color: rgba(33, 194, 146, 0.15);
    color: #ffffff;
}

body.dark-skin .custom-list li .ri-cash-line {
    color: #21c292;
}

body.dark-skin .custom-list li .fs-12 {
    color: #b5b5c3;
}

body.dark-skin .custom-list li p {
    color: #a0aec0;
}

body.dark-skin .custom-list li .text-success {
    color: #21c292 !important;
}

body.dark-skin .custom-list li .text-primary {
    color: #21c292 !important;
}

body.dark-skin .custom-list li .text-warning {
    color: #ffd400 !important;
}

body.dark-skin .custom-list li .text-danger {
    color: #ff6b6b !important;
}

body.dark-skin .d-flex.justify-content-between.align-items-end.w-p100.mb-10 .fw-bolder.text-black {
    color: #ffffff !important;
}

body.dark-skin .d-flex.justify-content-between.align-items-end.w-p100.mb-10 a {
    color: #21c292;
    background: rgba(33, 194, 146, 0.1);
}

body.dark-skin .d-flex.justify-content-between.align-items-end.w-p100.mb-10 a:hover {
    background: #21c292;
    color: #ffffff;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .custom-list li {
        padding: 1rem 0.8rem;
    }
    
    .custom-list li .ri-cash-line {
        font-size: 18px;
    }
    
    .custom-list li .fs-12 {
        font-size: 12px;
    }
    
    .custom-list li p {
        font-size: 10px;
    }
    
    .custom-list li .text-success {
        font-size: 14px;
    }
    
    .d-flex.justify-content-between.align-items-end.w-p100.mb-10 .fw-bolder.text-black {
        font-size: 16px;
    }
    
    .d-flex.justify-content-between.align-items-end.w-p100.mb-10 a {
        font-size: 12px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .custom-list li {
        padding: 0.8rem 0.6rem;
    }
    
    .custom-list li .d-flex.gap-3 {
        gap: 8px;
    }
    
    .custom-list li .ri-cash-line {
        font-size: 16px;
    }
    
    .custom-list li .fs-12 {
        font-size: 11px;
    }
    
    .custom-list li p {
        font-size: 9px;
    }
    
    .custom-list li .text-success {
        font-size: 13px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-list li {
    animation: fadeIn 0.3s ease forwards;
}

.custom-list li:nth-child(1) { animation-delay: 0.05s; }
.custom-list li:nth-child(2) { animation-delay: 0.1s; }
.custom-list li:nth-child(3) { animation-delay: 0.15s; }
.custom-list li:nth-child(4) { animation-delay: 0.2s; }
.custom-list li:nth-child(5) { animation-delay: 0.25s; }

/* ===== PRINT STYLES ===== */
@media print {
    .custom-list li {
        border-bottom: 1px solid #ddd;
        color: #000;
    }
    
    .custom-list li .ri-cash-line {
        color: #000 !important;
    }
    
    .custom-list li .fs-12,
    .custom-list li p,
    .custom-list li .text-success {
        color: #000 !important;
    }
    
    .d-flex.justify-content-between.align-items-end.w-p100.mb-10 a {
        display: none;
    }
}


/* ========== GAMES SECTION - LIGHT & DARK MODE ========== */

/* ----- LIGHT MODE (Default) ----- */
:root {
    /* Games Section - Light Mode */
    --games-bg-light: transparent;
    --games-header-color-light: #172b4c;
    --games-hint-color-light: #5C607B;
    --game-card-bg-light: #ffffff;
    --game-card-border-light: rgba(86, 92, 179, 0.15);
    --game-card-shadow-light: 0 8px 20px rgba(0, 0, 0, 0.03);
    --game-card-hover-shadow-light: 0 12px 28px rgba(86, 92, 179, 0.15);
    --game-title-color-light: #172b4c;
    --game-cta-bg-light: #565cb3;
    --game-cta-color-light: #ffffff;
    --game-cta-hover-bg-light: #4348a0;
    --game-card-overlay-light: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, transparent 100%);
    
    /* Default theme (Light) */
    --games-bg: var(--games-bg-light);
    --games-header-color: var(--games-header-color-light);
    --games-hint-color: var(--games-hint-color-light);
    --game-card-bg: var(--game-card-bg-light);
    --game-card-border: var(--game-card-border-light);
    --game-card-shadow: var(--game-card-shadow-light);
    --game-card-hover-shadow: var(--game-card-hover-shadow-light);
    --game-title-color: var(--game-title-color-light);
    --game-cta-bg: var(--game-cta-bg-light);
    --game-cta-color: var(--game-cta-color-light);
    --game-cta-hover-bg: var(--game-cta-hover-bg-light);
    --game-card-overlay: var(--game-card-overlay-light);
}

/* ----- DARK MODE ----- */
body.dark-skin,
[data-theme="dark"] {
    /* Games Section - Dark Mode */
    --games-bg-dark: transparent;
    --games-header-color-dark: #ffffff;
    --games-hint-color-dark: #b5b5c3;
    --game-card-bg-dark: #1a2a3a;
    --game-card-border-dark: rgba(33, 194, 146, 0.2);
    --game-card-shadow-dark: 0 8px 20px rgba(0, 0, 0, 0.3);
    --game-card-hover-shadow-dark: 0 12px 28px rgba(33, 194, 146, 0.2);
    --game-title-color-dark: #ffffff;
    --game-cta-bg-dark: #21c292;
    --game-cta-color-dark: #ffffff;
    --game-cta-hover-bg-dark: #1aa57a;
    --game-card-overlay-dark: linear-gradient(to top, rgba(26,42,58,0.95) 0%, rgba(26,42,58,0.8) 50%, transparent 100%);
    
    /* Apply dark theme */
    --games-bg: var(--games-bg-dark);
    --games-header-color: var(--games-header-color-dark);
    --games-hint-color: var(--games-hint-color-dark);
    --game-card-bg: var(--game-card-bg-dark);
    --game-card-border: var(--game-card-border-dark);
    --game-card-shadow: var(--game-card-shadow-dark);
    --game-card-hover-shadow: var(--game-card-hover-shadow-dark);
    --game-title-color: var(--game-title-color-dark);
    --game-cta-bg: var(--game-cta-bg-dark);
    --game-cta-color: var(--game-cta-color-dark);
    --game-cta-hover-bg: var(--game-cta-hover-bg-dark);
    --game-card-overlay: var(--game-card-overlay-dark);
}

/* ===== GAMES SECTION WRAPPER ===== */
.games-section-wrapper {
    width: 100%;
    padding: 24px 20px;
    background: var(--games-bg);
    position: relative;
    overflow: hidden;
}

/* ===== GAMES SECTION HEADER ===== */
.games-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.wallet-name2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--games-header-color);
    margin: 0;
    letter-spacing: -0.3px;
    font-family: 'Source Code Pro', monospace;
}

/* ===== GAMES SCROLL HINT ===== */
.games-scroll-hint {
    font-size: 13px;
    color: var(--games-hint-color);
    margin-bottom: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
}

.games-scroll-hint::after {
    content: 'â†’';
    font-size: 18px;
    animation: slideHint 1.5s infinite;
}

/* ===== GAMES TICKER (HORIZONTAL SCROLL) ===== */
.games-ticker {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    padding: 8px 4px 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar for cleaner look */
.games-ticker::-webkit-scrollbar {
    height: 4px;
}

.games-ticker::-webkit-scrollbar-track {
    background: var(--game-card-border);
    border-radius: 10px;
}

.games-ticker::-webkit-scrollbar-thumb {
    background: var(--game-cta-bg);
    border-radius: 10px;
    opacity: 0.5;
}

.games-ticker::-webkit-scrollbar-thumb:hover {
    background: var(--game-cta-hover-bg);
}

/* ===== GAME CARD ITEM ===== */
.game-card-item {
    flex: 0 0 auto;
    width: 160px;
    border-radius: 20px;
    background: var(--game-card-bg);
    border: 1px solid var(--game-card-border);
    box-shadow: var(--game-card-shadow);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.game-card-item:hover {
    transform: translateY(-6px);
    border-color: var(--game-cta-bg);
    box-shadow: var(--game-card-hover-shadow);
}

/* ===== GAME CARD IMAGE ===== */
.game-card-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.game-card-item:hover .game-card-image {
    transform: scale(1.08);
}

/* ===== GAME CARD INFO ===== */
.game-card-info {
    padding: 16px 12px;
    background: var(--game-card-overlay);
    position: relative;
}

/* ===== GAME CARD TITLE ===== */
.game-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--game-title-color);
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== GAME CARD CTA BUTTON ===== */
.game-card-cta {
    display: inline-block;
    padding: 8px 16px;
    background: var(--game-cta-bg);
    color: var(--game-cta-color);
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    text-align: center;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border: none;
    width: fit-content;
}

.game-card-item:hover .game-card-cta {
    background: var(--game-cta-hover-bg);
    transform: scale(1.05);
}

/* ===== GAME CARD VARIANTS ===== */

/* Featured Game Card */
.game-card-item.featured {
    width: 200px;
    border: 2px solid var(--game-cta-bg);
}

.game-card-item.featured .game-card-cta {
    background: var(--game-cta-hover-bg);
    font-weight: 700;
}

/* Compact Game Card */
.game-card-item.compact {
    width: 140px;
}

.game-card-item.compact .game-card-image {
    height: 120px;
}

.game-card-item.compact .game-card-info {
    padding: 12px 10px;
}

.game-card-item.compact .game-card-title {
    font-size: 14px;
    margin-bottom: 8px;
}

.game-card-item.compact .game-card-cta {
    padding: 6px 14px;
    font-size: 11px;
}

/* ===== LIGHT MODE SPECIFIC ===== */
body:not(.dark-skin) .game-card-item {
    background: #ffffff;
    border-color: rgba(86, 92, 179, 0.15);
}

body:not(.dark-skin) .game-card-title {
    color: #172b4c;
}

body:not(.dark-skin) .game-card-cta {
    background: #565cb3;
    color: #ffffff;
}

body:not(.dark-skin) .game-card-item:hover .game-card-cta {
    background: #4348a0;
}

/* ===== DARK MODE SPECIFIC ===== */
body.dark-skin .game-card-item {
    background: #1a2a3a;
    border-color: rgba(33, 194, 146, 0.2);
    backdrop-filter: blur(4px);
}

body.dark-skin .game-card-title {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

body.dark-skin .game-card-cta {
    background: #21c292;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(33, 194, 146, 0.2);
}

body.dark-skin .game-card-item:hover .game-card-cta {
    background: #1aa57a;
    box-shadow: 0 6px 16px rgba(33, 194, 146, 0.3);
}

body.dark-skin .games-ticker::-webkit-scrollbar-track {
    background: rgba(33, 194, 146, 0.1);
}

body.dark-skin .games-ticker::-webkit-scrollbar-thumb {
    background: #21c292;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .games-section-wrapper {
        padding: 20px 16px;
    }
    
    .wallet-name2 {
        font-size: 18px;
    }
    
    .games-scroll-hint {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .game-card-item {
        width: 150px;
    }
    
    .game-card-image {
        height: 130px;
    }
    
    .game-card-info {
        padding: 14px 10px;
    }
    
    .game-card-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .game-card-cta {
        padding: 7px 14px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .games-section-wrapper {
        padding: 16px 12px;
    }
    
    .wallet-name2 {
        font-size: 16px;
    }
    
    .games-scroll-hint {
        font-size: 11px;
    }
    
    .game-card-item {
        width: 140px;
    }
    
    .game-card-image {
        height: 120px;
    }
    
    .game-card-info {
        padding: 12px 8px;
    }
    
    .game-card-title {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .game-card-cta {
        padding: 6px 12px;
        font-size: 10px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideHint {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(6px);
        opacity: 0.7;
    }
}

/* Infinite scroll animation for ticker */
.games-ticker {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse effect on CTA */
.game-card-item:hover .game-card-cta {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

/* ===== EMPTY STATE ===== */
.games-ticker:empty::after {
    content: 'No games available';
    display: block;
    width: 100%;
    padding: 40px;
    text-align: center;
    color: var(--games-hint-color);
    font-size: 14px;
}

/* ===== LOADING STATE ===== */
.games-ticker.loading {
    position: relative;
    min-height: 200px;
}

.games-ticker.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--game-card-border);
    border-top-color: var(--game-cta-bg);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== PRINT STYLES ===== */
@media print {
    .games-section-wrapper {
        page-break-inside: avoid;
    }
    
    .game-card-item {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .game-card-cta {
        background: #f0f0f0;
        color: #000;
        border: 1px solid #ccc;
    }
    
    .games-scroll-hint {
        display: none;
    }
}

/* ===== TOUCH OPTIMIZATION ===== */
@media (hover: none) and (pointer: coarse) {
    .game-card-item:hover {
        transform: none;
    }
    
    .game-card-item:active {
        transform: scale(0.98);
    }
    
    .games-ticker {
        -webkit-overflow-scrolling: touch;
    }
}

/* ========== FORMS ========== */
.form-control, .form-select {
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  background-color: var(--input-bg);
  border-color: var(--accent-color);
  /* box-shadow: 0 0 0 0.2rem rgba(0, 153, 51, 0.25); */
}

.input-group-text {
  background-color: var(--input-bg);
  border-color: var(--input-border);
  color: var(--text-secondary);
}

/* ========== BUTTONS ========== */
.btn {
  transition: all 0.3s ease;
}

.btn-default {
  background-color: var(--surface-color);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.btn-default:hover,
.btn-default:active,
.btn-default.active {
  background-color: var(--hover-bg);
  border-color: var(--accent-color);
}

.btn-outline {
  color: var(--text-secondary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  color: var(--text-primary);
  background-color: var(--hover-bg);
}

/* ========== NAVIGATION ========== */
.nav-tabs {
  border-color: var(--border-color);
}

.nav-tabs .nav-link {
  color: var(--text-secondary);
  border-color: var(--border-color);
}

.nav-tabs .nav-link.active {
  color: var(--text-primary);
  border-color: var(--border-color) var(--border-color) var(--background-color);
}

.nav-pills .nav-link {
  color: var(--text-secondary);
}

.nav-pills .nav-link.active {
  color: #ffffff;
  background-color: var(--accent-color);
}

/* ========== SIDEBAR MENU ========== */
.sidebar-menu > li > a {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.sidebar-menu > li:hover > a {
  color: var(--text-primary);
  background-color: var(--hover-bg);
}

.sidebar-menu > li.active > a {
  background-color: var(--accent-color);
  color: #ffffff;
}

.sidebar-menu > li > a > i,
.sidebar-menu > li > a > svg {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.sidebar-menu > li:hover > a > i,
.sidebar-menu > li:hover > a > svg {
  color: var(--text-primary);
}

.sidebar-menu > li.active > a > i,
.sidebar-menu > li.active > a > svg {
  color: #ffffff;
}

/* ========== MODALS ========== */
.modal-content {
    border: 1px solid var(--border-color);
    background: var(--card-gradient);
}

.modal-header {
  border-bottom: 1px solid var(--border-color);
  background: var(--card-gradient);
   color: var(--text-secondary);
}
.modal-body {
  background: var(--card-gradient);
   color: var(--text-secondary);
}
.modal-footer {
  background: var(--card-gradient);
   color: var(--text-secondary);
}

/* ========== DROPDOWNS ========== */
.dropdown-menu {
  background-color: var(--dropdown-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 12px var(--shadow-color);
}

.dropdown-item {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--hover-bg);
  color: var(--text-primary);
}

/* ========== ALERTS & BADGES ========== */
.alert {
  background-color: var(--surface-color);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.badge {
  color: #ffffff;
}

.alert-primary { background-color: rgba(23, 43, 76, 0.1); border-color: var(--primary-color); }
.alert-success { background-color: rgba(40, 167, 69, 0.1); border-color: var(--success-color); }
.alert-warning { background-color: rgba(255, 193, 7, 0.1); border-color: var(--warning-color); }
.alert-danger { background-color: rgba(220, 53, 69, 0.1); border-color: var(--danger-color); }
.alert-info { background-color: rgba(23, 162, 184, 0.1); border-color: var(--info-color); }

/* ========== PROGRESS BARS ========== */
.progress {
  background-color: var(--surface-color);
}

.progress-bar {
  background-color: var(--accent-color);
}

/* ========== LIST GROUPS ========== */
.list-group-item {
  background-color: var(--card-bg);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.list-group-item:hover {
  background-color: var(--hover-bg);
}


        /* task list spacing: replicates "space-y-2 mt-4" exactly */
        .task-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;      /* space-y-2 = 0.5rem (8px) */
            margin-top: 1rem;  /* mt-4 = 1rem */
        }

        /* card link styling: block level, no underline, smooth transition */
        .task-link {
            display: block;
            text-decoration: none;
            outline: none;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .task-link:active {
            transform: scale(0.99);
        }

        /* card base: white background, rounded-lg, shadow-sm, padding, flex alignment */
        .task-card {
            display: flex;
            gap: 0.5rem;          /* gap-x-2 = 0.5rem */
            align-items: center;
            border: 1px solid var(--icon-border);
     background: transparent;
            padding: 0.75rem;      /* p-3 = 0.75rem */
            border-radius: 0.5rem; /* rounded-lg = 0.5rem */
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05), 0 1px 3px 0 rgba(0, 0, 0, 0.05);
            transition: box-shadow 0.2s, background-color 0.2s;
            /* opacity & transform originally set to 1 / none, but we keep as default */
            opacity: 1;
            transform: none;
        }

        .task-card:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
        }

        /* image wrapper: rounded, bg-gray-100 equivalent */
        .img-wrapper {
            border-radius: 0.375rem;  /* rounded default for inner */
            background-color: #f3f4f6; /* gray-100 */
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .task-image {
            width: 2.25rem;    /* size-9 = 36px */
            height: 2.25rem;
            border-radius: 0.375rem;
            object-fit: cover;
            display: block;
        }

        /* flex-1 text area */
        .task-info {
            flex: 1;
            min-width: 0; /* avoid overflow issues */
        }

        .task-title {
            font-size: 0.875rem;   /* text-sm */
            font-weight: 500;      /* font-medium */
            /*color: var(--icon-color);*/
            line-height: 1.4;
            margin-bottom: 0.125rem;
        }

        .task-date {
            font-size: 0.75rem;    /* text-xs */
            letter-spacing: 0.01em;
        }

        /* price area with gap-x-2 and green text */
        .price-area {
            display: flex;
            align-items: center;
            gap: 0.5rem;          /* gap-x-2 */
            flex-shrink: 0;
        }

        .task-price {
            font-size: 0.875rem;   /* text-sm */
            font-weight: 500;
            color: var(--icon-color);     /* green-600 */
            white-space: nowrap;
        }

        /* small responsive: on narrow screens, keep everything readable */
        @media (max-width: 480px) {
            body {
                padding: 1rem;
            }
            .task-card {
                padding: 0.65rem;
            }
            .task-title {
                font-size: 0.8rem;
            }
            .task-price {
                font-size: 0.8rem;
            }
        }

        /* optional micro-animation for cards */
        .task-link:focus-visible {
            outline: 2px solid #3b82f6;
            outline-offset: 2px;
            border-radius: 0.5rem;
        }

        /* consistent styling for the container to match original bg feel */
        .footer-note {
            margin-top: 2rem;
            text-align: center;
            font-size: 0.7rem;
            color: #8c9aa8;
            border-top: 1px solid #e2e8f0;
            padding-top: 1.5rem;
        }
/* ========== PAGINATION ========== */
.page-item .page-link {
  background-color: var(--card-bg);
  border-color: var(--border-color);
  color: var(--text-secondary);
}

.page-item.active .page-link {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
}

.page-item.disabled .page-link {
  background-color: var(--surface-color);
  color: var(--text-muted);
}

/* ========== UTILITY CLASSES ========== */
.bg-light {
  background-color: var(--surface-color) !important;
}

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

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

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

/* ========== DARK THEME SPECIFIC ADJUSTMENTS ========== */
[data-theme="dark"] {
  /* Form Elements */
  .form-element .form-control {
    background-color: #0a0a09ab;
    color: #f4fffc;
  }
  
  /* Nav Tabs */
  .nav-tabs .nav-link {
    color: #000000;
  }
  
  .nav-tabs .nav-link.active {
    color: #ff0000 !important;
  }
  
  /* Main Sidebar */
  .main-sidebar {
    border-color: #009933;
    backdrop-filter: blur(8px);
  }
  
  /* User Panel */
  .user-panel > .info {
    color: #ff0101;
  }
  
  .user-panel > .info > a {
    color: #ff0000;
  }
  
  /* Sidebar Icons */
  .sidebar-menu > li:hover > a > i {
    color: #5e73e2;
  }
  
  .sidebar-menu > li.active > a > i {
    color: #8cade4;
  }
  
  .sidebar-menu > li > a > i {
    color: #21c292;
  }
  
  .sidebar-menu > li.menu-open > a > i {
    color: #5e73e2;
  }
  
  /* Button Light */
  .btn.btn-light {
    background-color: #efe4e4;
    color: #ff0000 !important;
  }
}


/* ========== CUSTOM BUTTONS - LIGHT & DARK MODE ========== */

/* ----- LIGHT MODE (Default) ----- */
:root {
    /* Light Mode Button Colors */
    --btn-primary-light: #565cb3;        /* Your light mode primary */
    --btn-secondary-light: #2b3087;      /* Your light mode secondary */
    --btn-glow-light: rgba(43, 48, 135, 0.3);
    --btn-text-light: #ffffff;
    --btn-hover-bg-light: rgba(43, 48, 135, 0.1);
    
    /* Default theme (Light) */
    --btn-primary: var(--btn-primary-light);
    --btn-secondary: var(--btn-secondary-light);
    --btn-glow: var(--btn-glow-light);
    --btn-text: var(--btn-text-light);
    --btn-hover-bg: var(--btn-hover-bg-light);
}

/* ----- DARK MODE ----- */
body.dark-skin,
[data-theme="dark"] {
    /* Dark Mode Button Colors */
    --btn-primary-dark: #21c292;          /* Your dark mode primary */
    --btn-secondary-dark: #1aa57a;         /* Darker shade for hover */
    --btn-glow-dark: rgba(33, 194, 146, 0.4);
    --btn-text-dark: #ffffff;
    --btn-hover-bg-dark: rgba(33, 194, 146, 0.15);
    
    /* Apply dark theme */
    --btn-primary: var(--btn-primary-dark);
    --btn-secondary: var(--btn-secondary-dark);
    --btn-glow: var(--btn-glow-dark);
    --btn-text: var(--btn-text-dark);
    --btn-hover-bg: var(--btn-hover-bg-dark);
}

/* ===== BASE CUSTOM BUTTON ===== */
.btn-custom {
    position: relative;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--btn-primary);
    border-radius: 12px;
    background: transparent;
    color: var(--btn-primary);
    justify-content: center;
    align-items: center;
    display: inline-flex;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    overflow: hidden;
    z-index: 1;
}

/* Glow effect overlay */
.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--btn-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

/* Neon glow effect */
.btn-custom {
    box-shadow: 
        inset 0 0 10px var(--btn-glow),
        0 0 10px var(--btn-glow);
}

/* Hover state */
.btn-custom:hover {
    color: var(--btn-text);
    border-color: var(--btn-secondary);
    transform: translateY(-2px);
    box-shadow: 
        inset 0 0 20px var(--btn-glow),
        0 0 30px var(--btn-glow);
}

.btn-custom:hover::before {
    opacity: 1;
}

/* Active/Pressed state */
.btn-custom:active {
    transform: translateY(0);
    box-shadow: 
        inset 0 0 15px var(--btn-glow),
        0 0 20px var(--btn-glow);
}

/* ===== INVERTED BUTTON VARIANT ===== */
.btn-custom-invert {
    background: var(--btn-primary);
    color: var(--btn-text);
    border: 2px solid var(--btn-primary);
    box-shadow: 0 0 20px var(--btn-glow);
}

.btn-custom-invert::before {
    background: var(--btn-secondary);
}

.btn-custom-invert:hover {
    background: var(--btn-secondary);
    border-color: var(--btn-secondary);
    color: var(--btn-text);
    box-shadow: 0 0 30px var(--btn-glow);
}

/* ===== BUTTON VARIANTS ===== */

/* Outline Button */
.btn-custom-outline {
    background: transparent;
    border: 2px solid var(--btn-primary);
    color: var(--btn-primary);
    box-shadow: none;
}

.btn-custom-outline:hover {
    background: var(--btn-primary);
    color: var(--btn-text);
    box-shadow: 0 0 20px var(--btn-glow);
}

/* Gradient Button */
.btn-custom-gradient {
    background: linear-gradient(145deg, var(--btn-primary), var(--btn-secondary));
    border: none;
    color: var(--btn-text);
    box-shadow: 0 0 20px var(--btn-glow);
}

.btn-custom-gradient:hover {
    background: linear-gradient(145deg, var(--btn-secondary), var(--btn-primary));
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--btn-glow);
}

/* Ghost Button */
.btn-custom-ghost {
    background: transparent;
    border: 2px solid var(--btn-primary);
    color: var(--btn-primary);
    box-shadow: none;
}

.btn-custom-ghost:hover {
    background: var(--btn-hover-bg);
    border-color: var(--btn-primary);
    color: var(--btn-primary);
    box-shadow: none;
    transform: translateY(-2px);
}

/* ===== BUTTON SIZES ===== */
.btn-custom-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
    border-radius: 10px;
}

.btn-custom-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 14px;
}

.btn-custom-xl {
    padding: 20px 44px;
    font-size: 1.2rem;
    border-radius: 16px;
}

/* ===== BUTTON WITH ICON ===== */
.btn-custom-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-custom-icon i,
.btn-custom-icon svg {
    font-size: 1.2em;
    transition: transform 0.2s ease;
}

.btn-custom-icon:hover i,
.btn-custom-icon:hover svg {
    transform: translateX(4px);
}

/* Icon on left */
.btn-custom-icon-left i {
    order: -1;
}

/* Icon on right */
.btn-custom-icon-right i {
    order: 1;
}

/* ===== BUTTON STATES ===== */

/* Disabled State */
.btn-custom:disabled,
.btn-custom.disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(0.3);
    transform: none !important;
    box-shadow: none !important;
}

/* Loading State */
.btn-custom.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-custom.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid var(--btn-text);
    border-top-color: transparent;
    border-radius: 50%;
    animation: button-spin 0.8s linear infinite;
}

/* Success State */
.btn-custom.success {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

/* Error State */
.btn-custom.error {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

/* ===== BUTTON GROUPS ===== */
.btn-group-custom {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-group-custom .btn-custom {
    flex: 1 1 auto;
}

/* ===== FULL WIDTH BUTTON ===== */
.btn-custom-block {
    width: 100%;
    display: flex;
}

/* ===== ROUNDED VARIANTS ===== */
.btn-custom-rounded-sm {
    border-radius: 25px;
}

.btn-custom-rounded-md {
    border-radius: 35px;
}

.btn-custom-rounded-lg {
    border-radius: 50px;
}

.btn-custom-rounded-xl {
    border-radius: 100px;
}

/* ===== LIGHT MODE SPECIFIC ===== */
body:not(.dark-skin) .btn-custom {
    --btn-primary: #565cb3;
    --btn-secondary: #2b3087;
    --btn-glow: rgba(43, 48, 135, 0.25);
    --btn-text: #ffffff;
    --btn-hover-bg: rgba(43, 48, 135, 0.08);
}

body:not(.dark-skin) .btn-custom-invert {
    background: #565cb3;
    color: white;
}

body:not(.dark-skin) .btn-custom-outline {
    color: #565cb3;
}

/* ===== DARK MODE SPECIFIC ===== */
body.dark-skin .btn-custom {
    --btn-primary: #21c292;
    --btn-secondary: #1aa57a;
    --btn-glow: rgba(33, 194, 146, 0.35);
    --btn-text: #ffffff;
    --btn-hover-bg: rgba(33, 194, 146, 0.12);
    
    border-color: #21c292;
    color: #21c292;
    box-shadow: 
        inset 0 0 12px rgba(33, 194, 146, 0.25),
        0 0 15px rgba(33, 194, 146, 0.2);
}

body.dark-skin .btn-custom:hover {
    color: #ffffff;
    border-color: #1aa57a;
    box-shadow: 
        inset 0 0 25px rgba(33, 194, 146, 0.35),
        0 0 35px rgba(33, 194, 146, 0.3);
    background: transparent;
}

body.dark-skin .btn-custom-invert {
    background: #21c292;
    color: #ffffff;
    border-color: #21c292;
    box-shadow: 0 0 25px rgba(33, 194, 146, 0.35);
}

body.dark-skin .btn-custom-invert:hover {
    background: #1aa57a;
    border-color: #1aa57a;
    box-shadow: 0 0 35px rgba(33, 194, 146, 0.45);
}

body.dark-skin .btn-custom-outline {
    color: #21c292;
    border-color: #21c292;
    box-shadow: none;
}

body.dark-skin .btn-custom-outline:hover {
    background: #21c292;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(33, 194, 146, 0.3);
}

body.dark-skin .btn-custom-gradient {
    background: linear-gradient(145deg, #21c292, #1aa57a);
    border: none;
}

body.dark-skin .btn-custom-gradient:hover {
    background: linear-gradient(145deg, #1aa57a, #21c292);
}

body.dark-skin .btn-custom-ghost:hover {
    background: rgba(33, 194, 146, 0.1);
    color: #21c292;
}
/* ===== IMAGE CARD ==== */
/* content-bg */
.content-bg {
    width: 100%;
    height: 315px;
    background: linear-gradient(135.04deg, #96EE42 0.52%, #ffc672 64.67%);
    /* border-radius: 0px 0px 23px 23px; */
    position: absolute;
    top: 0;
    left: 0;
}

.content-image {
    background-image: url(../images/history-data.svg);
    background-size: cover;
    width: 280px;
    height: 280px;
}

.content .greeting {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 2px 5px;
}

.greeting {
    color: white;
}

.content .profile-pic {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-top: 4px solid var(--icon-color);
    border-right: 1px solid var(--icon-color);
    border-bottom: 2px solid var(--icon-color);
    border-left: 4px solid var(--icon-color);
    background-color: var(--icon-color);
    animation: swirl 2s infinite linear;
}

.image-edit {
    position: absolute;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--icon-color);
    padding: 10px;
    border: 2px solid white;
    border-radius: 50%;
    left: 60px;
    bottom: 0px;
}

.image-edit i {
    font-size: 20px;
    color: #ffffff;
}

.content .profile-pic-b {
    border-radius: 50%;
    width: 140px;
    height: 140px;
    object-fit: cover;
    /* border:4px solid #96EE42; */
    background-color: #ffffff;
}
/* END */
/* ===== ANIMATIONS ===== */
@keyframes button-pulse {
    0%, 100% {
        box-shadow: 
            inset 0 0 15px var(--btn-glow),
            0 0 20px var(--btn-glow);
    }
    50% {
        box-shadow: 
            inset 0 0 25px var(--btn-glow),
            0 0 35px var(--btn-glow);
    }
}

.btn-custom-pulse {
    animation: button-pulse 2s infinite;
}

@keyframes button-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes button-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.btn-custom-shake:hover {
    animation: button-shake 0.5s ease;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .btn-custom {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
    
    .btn-custom-sm {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
    
    .btn-custom-lg {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .btn-group-custom {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .btn-custom {
        padding: 8px 20px;
        font-size: 0.8rem;
        /* width: 100%; */
        justify-content: center;
    }
    
    .btn-group-custom {
        flex-direction: column;
    }
    
    .btn-group-custom .btn-custom {
        width: 100%;
    }
}

/* ===== FOCUS STATE FOR ACCESSIBILITY ===== */
.btn-custom:focus-visible {
    outline: 2px solid var(--btn-primary);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .btn-custom {
        border: 1px solid #000;
        color: #000;
        box-shadow: none;
        background: transparent;
    }
}


/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 768px) {
  .menu-toggle-container {
    gap: 10px;
  }
  
  .cosmic-menu-switch {
    width: 50px;
    height: 25px;
  }
  
  .cosmic-menu-switch::before {
    width: 21px;
    height: 21px;
  }
  
  #cosmic-menu-toggle:checked + .cosmic-menu-switch::before {
    transform: translateX(25px);
  }
  
  .sun-icon, .moon-icon {
    font-size: 12px;
  }
  
  .toggle-label {
    font-size: 13px;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes knob-pulse {
  0%, 100% {
    box-shadow: 
      0 0 8px rgba(255, 255, 255, 0.4),
      0 0 16px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 
      0 0 12px rgba(255, 255, 255, 0.8),
      0 0 24px rgba(255, 255, 255, 0.4);
  }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
  70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@keyframes icon-glow {
  from {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
  }
  to {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
  }
}

/* ========== THEME TRANSITION HANDLER ========== */
* {
  transition: background-color 0.3s ease, 
              border-color 0.3s ease, 
              color 0.3s ease,
              box-shadow 0.3s ease;
}

/* Exclude elements that shouldn't transition */
img,
svg,
video,
iframe,
canvas {
  transition: none;
}