/* ====================================
   ENHANCED DASHBOARD NAVIGATION
   ==================================== */

/* Dashboard Navigation Tabs - Premium Redesign */
.dashboard-nav {
    display: flex;
    gap: 12px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.dashboard-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Icon styling */
.dashboard-tab i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

/* Hover effect */
.dashboard-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.dashboard-tab:hover i {
    transform: scale(1.1);
}

/* Active state - Gold gradient with glow */
.dashboard-tab.active {
    background: linear-gradient(135deg, var(--gold-primary), #d4a017);
    border-color: var(--gold-primary);
    color: #000;
    font-weight: 700;
    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
}

.dashboard-tab.active i {
    color: #000;
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* Press effect */
.dashboard-tab:active {
    transform: scale(0.98);
}

/* Shimmer effect on active tab */
.dashboard-tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 100%;
    }
}

/* ====================================
   ENHANCED MODE SWITCHER
   ==================================== */

/* Mode Switcher - Wall Panel / Mobile App */
.mode-switcher {
    display: flex;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(10px);
    padding: 6px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    gap: 6px;
    margin-bottom: 25px;
}

.mode-btn {
    flex: 1;
    background: transparent !important;
    border: 1px solid transparent !important;
    color: rgba(255, 255, 255, 0.5) !important;
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    border-radius: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.mode-btn:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-1px);
}

.mode-btn.active {
    background: linear-gradient(135deg, var(--gold-primary), #d4a017) !important;
    color: #000 !important;
    font-weight: 700 !important;
    border-color: var(--gold-primary) !important;
    box-shadow:
        0 0 15px rgba(212, 175, 55, 0.4),
        0 3px 10px rgba(0, 0, 0, 0.3) !important;
}

/* Glow pulse on active mode button */
.mode-btn.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
    opacity: 0.5;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

/* ====================================
   MOBILE RESPONSIVE
   ==================================== */

@media (max-width: 768px) {
    .dashboard-nav {
        gap: 8px;
        padding: 6px;
    }

    .dashboard-tab {
        padding: 10px 12px;
        font-size: 0.85rem;
        flex-direction: column;
        gap: 4px;
    }

    .dashboard-tab i {
        font-size: 1.2rem;
    }

    .dashboard-tab span {
        font-size: 0.75rem;
    }

    .mode-btn {
        padding: 10px 12px !important;
        font-size: 0.85rem !important;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .dashboard-tab {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}