@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.navbar-brand {
    font-size: 1.5rem;
}

.card {
    border-radius: 0.5rem;
}

.card-header {
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

/* Theme transitions */
html[data-bs-theme="dark"] {
    --bs-body-bg: #212529;
    --bs-body-color: #dee2e6;
}

html, body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

[data-bs-theme="dark"] ::-webkit-scrollbar-track {
    background: #2b3035;
}

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #6c757d;
}

/* Notification badge animation */
#notification-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Login page */
.login-page {
    isolation: isolate;
    min-height: 100vh;
    overflow: hidden;
    padding: 1.5rem;
    position: relative;
    background:
        radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.42), transparent 34rem),
        radial-gradient(circle at 85% 80%, rgba(99, 102, 241, 0.42), transparent 32rem),
        linear-gradient(135deg, #0f172a 0%, #172554 50%, #1e3a8a 100%);
}

#login-particles {
    inset: 0;
    position: absolute;
    z-index: 0;
}

.login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
}

@media (prefers-reduced-motion: reduce) {
    .login-page {
        background: #172554;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
}
