/* Base styles  */
body {
    font-family: "Outfit", sans-serif;
}
html {
    scroll-behavior: smooth;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Improved Topbar Styling */
.sp-topbar {
    background: white;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
}

/* Enhanced Sidebar Styling */
.sp-sidebar {
    background: white;
    border-right: 1px solid #f3f4f6;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.04);
}

.sidebar-link {
    position: relative;
    overflow: hidden;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.sidebar-link:hover::before,
.sidebar-link.active::before {
    background: currentColor;
}

/* Notification Badge Animation */
@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animate-pulse {
    animation: pulse-badge 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

#install-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease-in-out;
}
#install-button:hover {
    background: linear-gradient(135deg, #0056b3, #003d82);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}
.sound-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 16px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #1e1e2f, #2d2d4d);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}
.sound-toggle:hover {
    background: linear-gradient(135deg, #2d2d4d, #3d3d5d);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}
.sound-toggler {
    position: fixed;
    bottom: 100px;
    right: 20px;
    padding: 10px 16px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #1f2937, #374151);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transition: all 0.3s ease;
}
.sound-toggler:hover {
    background: linear-gradient(135deg, #374151, #4b5563);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: scale(1.05) translateY(-2px);
}
.animate-ping-once {
    animation: ping-once 0.5s ease;
}
@keyframes ping-once {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

    
    /* Tooltip customization */
    .tippy-box[data-theme~='light'] {
        background-color: white;
        color: #374151;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 
                    0 10px 10px -5px rgba(0, 0, 0, 0.04);
        border-radius: 0.75rem;
        font-size: 0.875rem;
        border: 1px solid #e5e7eb;
    }
    
    .tippy-box[data-theme~='light'][data-placement^='top'] > .tippy-arrow::before {
        border-top-color: white;
    }
    
    .tippy-box[data-theme~='light'][data-placement^='bottom'] > .tippy-arrow::before {
        border-bottom-color: white;
    }
    
    .tippy-box[data-theme~='light'][data-placement^='left'] > .tippy-arrow::before {
        border-left-color: white;
    }
    
    .tippy-box[data-theme~='light'][data-placement^='right'] > .tippy-arrow::before {
        border-right-color: white;
    }



#supportButton {
    transform-origin: right center;
}

.support-text {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease-in-out;
    visibility: hidden;
}

.support-text.expanded {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

#supportIcon {
    transition: all 0.3s ease-in-out;
}

#supportIcon.shrunk {
    transform: scale(0.8);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 1s ease-in-out;
}
