/* Custom background pattern */
.bg-dot-pattern {
    background-image: radial-gradient(rgba(59, 130, 246, 0.20) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0b1120;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

/* Mobile menu toggle class */
.menu-open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Navbar transition and scroll effect */
#navbar {
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-scrolled {
    background-color: rgba(11, 17, 32, 0.94);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
    border-bottom-color: rgba(59, 130, 246, 0.25);
}

/* Refined Gradient Glow Ring for Profile Avatar */
.avatar-glow-ring {
    position: relative;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.95) 0%, rgba(56, 189, 248, 0.85) 50%, rgba(99, 102, 241, 0.95) 100%);
    box-shadow: 0 0 50px -8px rgba(59, 130, 246, 0.45);
    transition: all 0.5s ease;
}

.avatar-glow-ring:hover {
    box-shadow: 0 0 65px 0px rgba(56, 189, 248, 0.6);
    transform: scale(1.02);
}

.avatar-inner {
    border-radius: 50%;
    background: #0b1120;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* Custom scrollbar for modal */
.custom-modal-scroll::-webkit-scrollbar {
    width: 6px;
}

.custom-modal-scroll::-webkit-scrollbar-track {
    background: rgba(11, 17, 32, 0.5);
    border-radius: 8px;
}

.custom-modal-scroll::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.4);
    border-radius: 8px;
}

.custom-modal-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.8);
}

/* Modal active visibility state */
.modal-active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.modal-active #modal-container {
    transform: scale(1) translateY(0) !important;
}



