/* ===============================================
   ENHANCED TAB RESTORATION EFFECTS
   Complete CSS for main and nested tab animations
   =============================================== */

/* Main Tab Restoration Effects */
.tab.restoring {
    opacity: 0.7;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.95);
    position: relative;
    overflow: hidden;
}

/* Glowing restoration effect */
.tab.restoring::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(var(--rgb-theme-color, 0, 255, 204), 0.3),
        transparent
    );
    animation: restoreShine 1.2s ease-out;
    z-index: 1;
}

/* Shine animation */
@keyframes restoreShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Pulse effect for the restoring tab */
.tab.restoring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(var(--rgb-theme-color, 0, 255, 204), 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: restorePulse 1s ease-out;
    z-index: 0;
}

@keyframes restorePulse {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

/* Icon bounce effect when restoring */
.tab.restoring i {
    animation: iconBounce 0.6s ease-out;
    transform-origin: center;
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-4px) scale(1.1);
    }
    60% {
        transform: translateY(-2px) scale(1.05);
    }
}

/* Restored state - smooth transition back */
.tab.restored {
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 15px rgba(var(--rgb-theme-color, 0, 255, 204), 0.3);
}

/* Enhanced active state for restored tab */
.tab.restored.active {
    background: rgba(var(--rgb-theme-color, 0, 255, 204), 0.1);
    border-bottom: 2px solid var(--theme-color, #00ffcc);
    position: relative;
}

/* Glowing underline animation */
.tab.restored.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--theme-color, #00ffcc);
    box-shadow: 0 0 10px rgba(var(--rgb-theme-color, 0, 255, 204), 0.6);
    animation: glowUnderline 1.5s ease-out;
}

@keyframes glowUnderline {
    0% {
        box-shadow: 0 0 5px rgba(var(--rgb-theme-color, 0, 255, 204), 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(var(--rgb-theme-color, 0, 255, 204), 0.8);
    }
    100% {
        box-shadow: 0 0 10px rgba(var(--rgb-theme-color, 0, 255, 204), 0.6);
    }
}

/* Loading dots animation for tab content */
.tab-content.loading {
    position: relative;
    opacity: 0.5;
}

.tab-content.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(var(--rgb-theme-color, 0, 255, 204), 0.2);
    border-top: 3px solid var(--theme-color, #00ffcc);
    border-radius: 50%;
    animation: contentSpin 1s linear infinite;
    z-index: 1000;
}

@keyframes contentSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Tab content fade-in effect */
.tab-content.fade-in {
    animation: tabContentFadeIn 0.6s ease-out forwards;
}

@keyframes tabContentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notification badge pulse for restored tab */
.tab.restoring .notification-badge {
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(255, 51, 102, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(255, 51, 102, 0.8);
    }
}

/* Restore completion flash */
.tab.restore-complete {
    animation: restoreFlash 0.3s ease-out;
}

@keyframes restoreFlash {
    0% {
        background: rgba(var(--rgb-theme-color, 0, 255, 204), 0.3);
    }
    100% {
        background: transparent;
    }
}

/* Digital matrix effect for tech feel */
.tab.restoring .matrix-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        0deg,
        transparent 0%,
        rgba(var(--rgb-theme-color, 0, 255, 204), 0.05) 50%,
        transparent 100%
    );
    animation: matrixScan 1.5s ease-out;
    pointer-events: none;
}

@keyframes matrixScan {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Holographic effect for restored tab */
.tab.restored::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(var(--rgb-theme-color, 0, 255, 204), 0.1) 50%,
        transparent 70%
    );
    animation: holographicShift 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes holographicShift {
    0%, 100% {
        transform: translateX(-10px);
        opacity: 0.3;
    }
    50% {
        transform: translateX(10px);
        opacity: 0.6;
    }
}

/* Hash navigation special effect */
.tab.hash-navigation {
    animation: hashNavigationPulse 1s ease-out;
}

@keyframes hashNavigationPulse {
    0% {
        box-shadow: 0 0 0 rgba(var(--rgb-theme-color, 0, 255, 204), 0.7);
    }
    50% {
        box-shadow: 0 0 20px rgba(var(--rgb-theme-color, 0, 255, 204), 0.7);
    }
    100% {
        box-shadow: 0 0 0 rgba(var(--rgb-theme-color, 0, 255, 204), 0);
    }
}

/* ===============================================
   PROFILE SUB-TAB RESTORATION EFFECTS
   =============================================== */

/* Sub-Tab Restoration Effects (Profile Tabs) */
.profile-tab.sub-restoring {
    opacity: 0.8;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.98);
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect for sub-tabs */
.profile-tab.sub-restoring .sub-glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(var(--rgb-theme-color, 0, 255, 204), 0.15),
        transparent
    );
    animation: subGlowSweep 0.8s ease-out;
    pointer-events: none;
}

@keyframes subGlowSweep {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Sub-tab restored state */
.profile-tab.sub-restored {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 8px rgba(var(--rgb-theme-color, 0, 255, 204), 0.2);
}

/* Sub-tab completion flash */
.profile-tab.sub-restore-complete {
    animation: subRestoreFlash 0.2s ease-out;
}

@keyframes subRestoreFlash {
    0% {
        background: rgba(var(--rgb-theme-color, 0, 255, 204), 0.2);
    }
    100% {
        background: transparent;
    }
}

/* Sub-tab content loading */
.profile-tab-content.sub-loading {
    position: relative;
    opacity: 0.6;
}

.profile-tab-content.sub-loading::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(var(--rgb-theme-color, 0, 255, 204), 0.3);
    border-top: 2px solid var(--theme-color, #00ffcc);
    border-radius: 50%;
    animation: subContentSpin 0.8s linear infinite;
    z-index: 100;
}

@keyframes subContentSpin {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

/* Sub-tab content fade-in */
.profile-tab-content.sub-fade-in {
    animation: subTabContentFadeIn 0.4s ease-out forwards;
}

@keyframes subTabContentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced profile tab active state */
.profile-tab.active {
    position: relative;
}

.profile-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--theme-color, #00ffcc);
    animation: subTabUnderline 0.3s ease-out;
}

@keyframes subTabUnderline {
    0% {
        width: 0;
        left: 50%;
    }
    100% {
        width: 100%;
        left: 0;
    }
}

/* Profile tab hover effects */
.profile-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--rgb-theme-color, 0, 255, 204), 0.15);
    transition: all 0.3s ease;
}

.profile-tab:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--rgb-theme-color, 0, 255, 204), 0.05);
    pointer-events: none;
    opacity: 0;
    animation: hoverGlow 0.3s ease forwards;
}

@keyframes hoverGlow {
    to {
        opacity: 1;
    }
}

/* Profile tab switching transition */
.profile-tab {
    transition: all 0.2s ease;
}

.profile-tab-content {
    transition: opacity 0.2s ease;
}

/* ===============================================
   RESPONSIVE ADJUSTMENTS
   =============================================== */

/* Mobile optimizations */
@media (max-width: 768px) {
    .tab.restoring {
        transform: scale(0.98);
    }
    
    .tab.restoring::before,
    .tab.restoring::after {
        display: none; /* Simplify on mobile for performance */
    }
    
    .tab.restoring i {
        animation: none; /* Disable icon bounce on mobile */
    }
    
    .tab.restored::before {
        display: none; /* Disable holographic effect on mobile */
    }
    
    .profile-tab.sub-restoring {
        transform: scale(0.99);
    }
    
    .profile-tab.sub-restoring .sub-glow-effect {
        display: none; /* Simplify on mobile */
    }
    
    .profile-tab:hover {
        transform: none; /* Disable hover transforms on mobile */
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .tab.restoring {
        transform: scale(0.97);
    }
    
    .profile-tab.sub-restoring {
        transform: scale(0.99);
    }
}

/* Large screen enhancements */
@media (min-width: 1200px) {
    .tab.restored {
        box-shadow: 0 0 20px rgba(var(--rgb-theme-color, 0, 255, 204), 0.4);
    }
    
    .profile-tab.sub-restored {
        box-shadow: 0 0 12px rgba(var(--rgb-theme-color, 0, 255, 204), 0.3);
    }
}

/* ===============================================
   THEME SPECIFIC ENHANCEMENTS
   =============================================== */

/* Dark theme specific enhancements */
body.dark-theme .tab.restoring {
    box-shadow: 0 0 20px rgba(var(--rgb-theme-color, 0, 255, 204), 0.2);
}

body.dark-theme .profile-tab.sub-restoring {
    box-shadow: 0 0 10px rgba(var(--rgb-theme-color, 0, 255, 204), 0.15);
}

body.dark-theme .tab.restored {
    background: rgba(var(--rgb-theme-color, 0, 255, 204), 0.05);
}

body.dark-theme .profile-tab.active {
    background: rgba(var(--rgb-theme-color, 0, 255, 204), 0.08);
}

/* Light theme specific enhancements */
body.light-theme .tab.restoring {
    box-shadow: 0 0 15px rgba(var(--rgb-theme-color, 0, 255, 204), 0.25);
    background: rgba(var(--rgb-theme-color, 0, 255, 204), 0.08);
}

body.light-theme .profile-tab.sub-restoring {
    box-shadow: 0 0 8px rgba(var(--rgb-theme-color, 0, 255, 204), 0.15);
    background: rgba(var(--rgb-theme-color, 0, 255, 204), 0.05);
}

body.light-theme .tab.restored {
    background: rgba(var(--rgb-theme-color, 0, 255, 204), 0.1);
    border: 1px solid rgba(var(--rgb-theme-color, 0, 255, 204), 0.25);
}

body.light-theme .profile-tab.active {
    background: rgba(var(--rgb-theme-color, 0, 255, 204), 0.12);
    border: 1px solid rgba(var(--rgb-theme-color, 0, 255, 204), 0.35);
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .tab.restoring,
    .profile-tab.sub-restoring {
        border: 2px solid var(--theme-color, #00ffcc);
    }
    
    .tab.restored,
    .profile-tab.sub-restored {
        border: 2px solid var(--theme-color, #00ffcc);
        background: rgba(var(--rgb-theme-color, 0, 255, 204), 0.1);
    }
    
    .tab.restoring::before,
    .tab.restoring::after,
    .profile-tab.sub-restoring .sub-glow-effect {
        display: none; /* Remove complex animations in high contrast */
    }
}

/* ===============================================
   ACCESSIBILITY AND PERFORMANCE
   =============================================== */

/* Performance optimization for older devices */
@media (prefers-reduced-motion: reduce) {
    .tab.restoring,
    .tab.restored,
    .tab-content.fade-in,
    .profile-tab.sub-restoring,
    .profile-tab.sub-restored,
    .profile-tab-content.sub-fade-in {
        animation: none !important;
        transition: opacity 0.2s ease !important;
    }
    
    .tab.restoring::before,
    .tab.restoring::after,
    .tab.restored::before,
    .profile-tab.sub-restoring .sub-glow-effect {
        display: none !important;
    }
    
    .profile-tab:hover {
        transform: none !important;
    }
}

/* Focus indicators for keyboard navigation */
.tab:focus,
.profile-tab:focus {
    outline: 2px solid var(--theme-color, #00ffcc);
    outline-offset: 2px;
}

.tab:focus-visible,
.profile-tab:focus-visible {
    box-shadow: 0 0 0 3px rgba(var(--rgb-theme-color, 0, 255, 204), 0.5);
}

/* Screen reader support */
.tab[aria-selected="true"],
.profile-tab[aria-selected="true"] {
    font-weight: bold;
}

/* Loading state announcements */
.tab-content.loading::after,
.profile-tab-content.sub-loading::after {
    content: 'Loading content...';
    position: absolute;
    left: -9999px;
    font-size: 0;
}

/* ===============================================
   CUSTOM SCROLLBAR FOR TAB CONTENT
   =============================================== */

.tab-content::-webkit-scrollbar,
.profile-tab-content::-webkit-scrollbar {
    width: 8px;
}

.tab-content::-webkit-scrollbar-track,
.profile-tab-content::-webkit-scrollbar-track {
    background: rgba(var(--rgb-theme-color, 0, 255, 204), 0.1);
    border-radius: 4px;
}

.tab-content::-webkit-scrollbar-thumb,
.profile-tab-content::-webkit-scrollbar-thumb {
    background: rgba(var(--rgb-theme-color, 0, 255, 204), 0.3);
    border-radius: 4px;
}

.tab-content::-webkit-scrollbar-thumb:hover,
.profile-tab-content::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--rgb-theme-color, 0, 255, 204), 0.5);
}

/* ===============================================
   TAB CONTENT SPECIFIC ANIMATIONS
   =============================================== */

/* Staggered content reveal for lists */
.tab-content.fade-in .grid-item,
.profile-tab-content.sub-fade-in .grid-item {
    opacity: 0;
    transform: translateY(20px);
    animation: staggeredReveal 0.6s ease forwards;
}

.tab-content.fade-in .grid-item:nth-child(1),
.profile-tab-content.sub-fade-in .grid-item:nth-child(1) { animation-delay: 0.1s; }
.tab-content.fade-in .grid-item:nth-child(2),
.profile-tab-content.sub-fade-in .grid-item:nth-child(2) { animation-delay: 0.2s; }
.tab-content.fade-in .grid-item:nth-child(3),
.profile-tab-content.sub-fade-in .grid-item:nth-child(3) { animation-delay: 0.3s; }
.tab-content.fade-in .grid-item:nth-child(4),
.profile-tab-content.sub-fade-in .grid-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes staggeredReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Special effects for network visualization */
.profile-tab-content#profile-network-tab.sub-fade-in {
    animation: networkTabReveal 0.8s ease forwards;
}

@keyframes networkTabReveal {
    0% {
        opacity: 0;
        transform: scale(0.9) rotateY(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

/* Edit profile form animations */
.profile-tab-content#profile-edit-tab.sub-fade-in .form-group {
    opacity: 0;
    transform: translateX(-20px);
    animation: formSlideIn 0.4s ease forwards;
}

.profile-tab-content#profile-edit-tab.sub-fade-in .form-group:nth-child(1) { animation-delay: 0.1s; }
.profile-tab-content#profile-edit-tab.sub-fade-in .form-group:nth-child(2) { animation-delay: 0.2s; }
.profile-tab-content#profile-edit-tab.sub-fade-in .form-group:nth-child(3) { animation-delay: 0.3s; }

@keyframes formSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===============================================
   UTILITY CLASSES
   =============================================== */

/* Disable animations globally if needed */
.no-animations .tab,
.no-animations .profile-tab,
.no-animations .tab-content,
.no-animations .profile-tab-content {
    animation: none !important;
    transition: none !important;
}

/* Force immediate tab switch */
.instant-switch .tab,
.instant-switch .profile-tab {
    transition: none !important;
}

/* Enhanced glow effect for special occasions */
.tab.special-glow,
.profile-tab.special-glow {
    animation: specialGlow 2s ease-in-out infinite;
}

@keyframes specialGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(var(--rgb-theme-color, 0, 255, 204), 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(var(--rgb-theme-color, 0, 255, 204), 0.8);
    }
}

/* Print styles */
@media print {
    .tab.restoring,
    .tab.restored,
    .profile-tab.sub-restoring,
    .profile-tab.sub-restored {
        animation: none !important;
        box-shadow: none !important;
        transform: none !important;
    }
    
    .tab.restoring::before,
    .tab.restoring::after,
    .tab.restored::before,
    .profile-tab.sub-restoring .sub-glow-effect {
        display: none !important;
    }
}

/* Add styles for clickable stat item */
.clickable-stat {
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.clickable-stat::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(var(--rgb-theme-color), 0.2), transparent) !important;
    transition: left 0.5s ease !important;
}

.clickable-stat:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(var(--rgb-theme-color), 0.3) !important;
    border-color: rgba(var(--rgb-theme-color), 0.6) !important;
    background: rgba(var(--rgb-theme-color), 0.1) !important;
}

.clickable-stat:hover::before {
    left: 100% !important;
}

.clickable-stat:active {
    transform: translateY(-1px) scale(0.98) !important;
}

/* Add a subtle icon indicator */
.clickable-stat .stat-label::after {
    content: '→' !important;
    margin-left: 4px !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    font-size: 0.8rem !important;
}

.clickable-stat:hover .stat-label::after {
    opacity: 1 !important;
}

/* Enhanced Profile Tabs for Mobile Scrolling */
.profile-tabs {
    display: flex;
    border-bottom: 1px solid rgba(var(--rgb-theme-color), 0.3);
    margin: 2rem 0 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-behavior: smooth;
    padding-bottom: 2px; /* Space for active indicator */
}

/* Hide scrollbar for WebKit browsers */
.profile-tabs::-webkit-scrollbar {
    display: none;
}

.profile-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    gap: 0.5rem;
    color: rgba(var(--rgb-theme-color), 0.7);
    white-space: nowrap; /* Prevent text wrapping */
    flex-shrink: 0; /* Prevent tabs from shrinking */
    min-width: fit-content; /* Ensure tabs maintain their content width */
}

.profile-tab:hover {
    color: var(--theme-color);
}

.profile-tab.active {
    color: var(--theme-color);
}

.profile-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--theme-color);
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .profile-tabs {
        margin: 1.5rem 0 1rem;
        padding: 0 1rem; /* Add horizontal padding on mobile */
        scroll-snap-type: x mandatory; /* Optional: snap scrolling */
    }
    
    .profile-tab {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        scroll-snap-align: start; /* Optional: snap to tab start */
        min-width: 120px; /* Minimum width for readability */
    }
    
    .profile-tab-icon {
        font-size: 1.1rem; /* Slightly smaller icons on mobile */
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .profile-tabs {
        padding: 0 0.5rem;
    }
    
    .profile-tab {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
    
    .profile-tab span {
        display: none; /* Hide text labels on very small screens, show only icons */
    }
    
    .profile-tab-icon {
        font-size: 1.2rem;
    }
}

/* Make main navigation tabs sticky */
.tabs {
    position: sticky;
    top: 80px; /* Increased from 70px - brought down a tad for desktop */
    z-index: 50;
    background-color: #151516;
    border-bottom: 1px solid rgba(var(--rgb-theme-color), 0.2);
    padding: 10px 0;
    margin-bottom: 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Light theme background for sticky tabs */
body.light-theme .tabs {
    background-color: #ffffff;
}

/* Ensure tab content has proper spacing */
.tab-content {
    padding-top: 20px;
}

/* Make sure the main dashboard container allows for proper scrolling */
.dashboard {
    padding-top: 130px; /* Increased to account for the adjusted tab position */
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

/* Adjust for mobile - bring down a bit more since top gets cut */
@media (max-width: 768px) {
    .tabs {
        top: 75px; /* Increased from 60px - brought down a bit more for mobile */
        padding: 8px 0;
    }
    
    .dashboard {
        padding-top: 125px; /* Adjusted for new mobile tab position */
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .tabs {
        top: 75px; /* Kept same as 768px since mobile nav might be similar height */
        padding: 6px 0;
    }
    
    .dashboard {
        padding-top: 120px; /* Adjusted for very small screens */
    }
}