/* Custom color classes for legacy and extra styles */
.bg-emerald-gradient {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}
.text-emerald {
    color: #10b981;
}
.text-teal {
    color: #14b8a6;
}
.bg-dark {
    background-color: #111827;
}
.bg-glass {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Layout fixes to handle gaps between content and footer */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

/* Sticky header enhancements - no opacity reduction */
.glass-effect {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.glass-effect.scrolled {
    background: rgba(17, 24, 39, 0.98);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Custom enhanced green scrollbar */
::-webkit-scrollbar {
    width: 16px; /* Increased width slightly */
}

::-webkit-scrollbar-track {
    background: rgba(17, 24, 39, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #10b981 0%, #059669 50%, #047857 100%);
    border-radius: 12px;
    border: 2px solid rgba(17, 24, 39, 0.8);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #34d399 0%, #10b981 50%, #059669 100%);
    box-shadow: 
        0 0 15px rgba(16, 185, 129, 0.8),
        0 0 25px rgba(16, 185, 129, 0.4),
        inset 0 0 5px rgba(52, 211, 153, 0.3);
    transform: scale(1.02);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #6ee7b7 0%, #34d399 50%, #10b981 100%);
    box-shadow: 
        0 0 20px rgba(16, 185, 129, 1),
        0 0 35px rgba(16, 185, 129, 0.6),
        inset 0 0 8px rgba(110, 231, 183, 0.4);
    transform: scale(1.05);
}

/* Firefox scrollbar styling */
* {
    scrollbar-width: auto; /* Changed from thin to auto for slightly wider scrollbar */
    scrollbar-color: #10b981 rgba(17, 24, 39, 0.8);
}
