/* ===== SportLab - Main Styles ===== */
/* Цвета: белый, черный, синий (#0d6efd), зеленый (#198754) */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #198754;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --accent-blue: #0066cc;
    --accent-green: #00a651;
}

/* ===== Base Styles ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f5f7fa;
    color: var(--dark-color);
}

/* ===== Navbar ===== */
.navbar {
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-brand .text-primary {
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

.min-vh-75 {
    min-height: 75vh;
}

/* ===== Cards ===== */
.card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
}

/* ===== Buttons ===== */
.btn {
    font-weight: 500;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-green));
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--accent-green), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.4);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* ===== Стеклянные кнопки (glassmorphism) ===== */
.btn-glass {
    --glass-tint: 255, 255, 255;   /* цвет подсветки стекла */
    --glass-text: #fff;

    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.95rem 2rem;
    border-radius: 999px;
    overflow: hidden;

    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    color: var(--glass-text);
    cursor: pointer;

    background:
        linear-gradient(135deg,
            rgba(var(--glass-tint), 0.30) 0%,
            rgba(var(--glass-tint), 0.10) 100%);
    border: 1px solid rgba(var(--glass-tint), 0.45);
    backdrop-filter: blur(14px) saturate(170%);
    -webkit-backdrop-filter: blur(14px) saturate(170%);
    box-shadow:
        0 8px 24px rgba(10, 20, 40, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);

    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.28s ease,
                background 0.28s ease,
                border-color 0.28s ease;
}

.btn-glass:hover,
.btn-glass:focus-visible {
    color: var(--glass-text);
    transform: translateY(-3px);
    background:
        linear-gradient(135deg,
            rgba(var(--glass-tint), 0.42) 0%,
            rgba(var(--glass-tint), 0.18) 100%);
    border-color: rgba(var(--glass-tint), 0.7);
    box-shadow:
        0 14px 34px rgba(10, 20, 40, 0.28),
        0 0 0 4px rgba(var(--glass-tint), 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-glass:active {
    transform: translateY(-1px) scale(0.99);
}

.btn-glass:focus-visible {
    outline: 2px solid rgba(var(--glass-tint), 0.9);
    outline-offset: 3px;
}

/* Блик, пробегающий по стеклу при наведении */
.btn-glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: -70%;
    width: 45%;
    height: 100%;
    background: linear-gradient(100deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glass:hover::after {
    left: 125%;
}

.btn-glass i {
    font-size: 1.15em;
    line-height: 1;
}

/* Настоящие логотипы ВКонтакте и МАКС вместо шрифтовых значков */
.btn-icon {
    width: 1.15em;
    height: 1.15em;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* Кнопка только с логотипом, без подписи — круглая и компактная */
.btn-glass--icon {
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border-radius: 50%;
    gap: 0;
}

.btn-glass--icon .btn-icon {
    width: 1.3rem;
    height: 1.3rem;
}

.social-links .btn-icon,
.footer .btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    vertical-align: -0.25rem;
}

/* --- Цветовые варианты --- */
.btn-glass--call {              /* Записаться / позвонить */
    --glass-tint: 255, 196, 61;
    --glass-text: #2a1e00;
}

.btn-glass--vk {                /* ВКонтакте */
    --glass-tint: 61, 146, 255;
}

.btn-glass--max {               /* Мессенджер МАКС */
    --glass-tint: 137, 106, 255;
}

.btn-glass--admin {
    --glass-tint: 255, 99, 99;
}

/* Вариант для светлого фона: тёмный текст, более плотное стекло */
.btn-glass--on-light {
    --glass-text: #17203a;
    background:
        linear-gradient(135deg,
            rgba(var(--glass-tint), 0.34) 0%,
            rgba(var(--glass-tint), 0.14) 100%);
    border-color: rgba(var(--glass-tint), 0.55);
    box-shadow:
        0 8px 22px rgba(23, 32, 58, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.btn-glass--on-light:hover {
    box-shadow:
        0 14px 30px rgba(23, 32, 58, 0.18),
        0 0 0 4px rgba(var(--glass-tint), 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Главная кнопка призыва: крупнее и с мягким «дыханием» */
.btn-glass--hero {
    padding: 1.1rem 2.4rem;
    font-size: 1.15rem;
    animation: glass-breathe 3.4s ease-in-out infinite;
}

@keyframes glass-breathe {
    0%, 100% { box-shadow: 0 8px 24px rgba(10,20,40,.22), 0 0 0 0 rgba(var(--glass-tint), .38), inset 0 1px 0 rgba(255,255,255,.45); }
    50%      { box-shadow: 0 8px 24px rgba(10,20,40,.22), 0 0 0 12px rgba(var(--glass-tint), 0), inset 0 1px 0 rgba(255,255,255,.45); }
}

.btn-glass--hero:hover {
    animation: none;
}

/* Белое матовое стекло — для главной кнопки записи и телефона.
   Плотная белая заливка + тёмный текст: читается на любом фоне. */
.btn-glass--white {
    --glass-tint: 255, 255, 255;
    --glass-text: #17203a;

    background: linear-gradient(135deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.93) 100%);
    border-color: rgba(255, 255, 255, 1);
    box-shadow:
        0 10px 28px rgba(10, 20, 40, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.btn-glass--white:hover,
.btn-glass--white:focus-visible {
    color: var(--glass-text);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 100%);
    border-color: #fff;
    box-shadow:
        0 16px 38px rgba(10, 20, 40, 0.32),
        0 0 0 4px rgba(255, 255, 255, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Компактный размер — для шапки сайта и второстепенных кнопок */
.btn-glass--sm {
    padding: 0.42rem 1.1rem;
    font-size: 0.9rem;
    gap: 0.45rem;
}

.btn-glass--sm i {
    font-size: 1em;
}

/* Ряд кнопок */
.btn-glass-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.btn-glass-row--center {
    justify-content: center;
}

@media (max-width: 575.98px) {
    .btn-glass {
        width: 100%;
        padding: 0.9rem 1.4rem;
        font-size: 1rem;
    }

    .btn-glass--hero {
        padding: 1rem 1.4rem;
        font-size: 1.05rem;
    }

    /* Кнопки-логотипы остаются круглыми и на телефоне */
    .btn-glass--icon {
        width: 2.4rem;
        padding: 0;
    }

    /* Второстепенные кнопки не растягиваем на всю ширину */
    .btn-glass--sm {
        width: auto;
    }
}

/* Если браузер не умеет backdrop-filter — делаем фон плотнее */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .btn-glass {
        background: linear-gradient(135deg,
            rgba(var(--glass-tint), 0.55) 0%,
            rgba(var(--glass-tint), 0.35) 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-glass,
    .btn-glass::after {
        transition: none;
        animation: none;
    }
}

/* ===== Фотогалерея ===== */
.gallery-section {
    background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
}

/* Кладка: колонки подстраиваются под ширину экрана,
   фотографии сохраняют свои пропорции — ничего не обрезается */
.photo-masonry {
    columns: 3;
    column-gap: 16px;
}

@media (max-width: 991.98px) {
    .photo-masonry { columns: 2; }
}

@media (max-width: 575.98px) {
    .photo-masonry { columns: 2; column-gap: 10px; }
}

.photo-tile {
    position: relative;
    display: block;
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: 14px;
    overflow: hidden;
    background: #dfe5ec;
    aspect-ratio: var(--ratio, 3 / 4);
    box-shadow: 0 6px 18px rgba(23, 32, 58, 0.12);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

@media (max-width: 575.98px) {
    .photo-tile { margin-bottom: 10px; }
}

.photo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(23, 32, 58, 0.22);
}

.photo-tile:hover img {
    transform: scale(1.06);
}

/* Значок «увеличить» */
.photo-tile__zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 0.95rem;

    background: rgba(23, 32, 58, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.photo-tile:hover .photo-tile__zoom,
.photo-tile:focus-visible .photo-tile__zoom,
.gallery-item:hover .photo-tile__zoom {
    opacity: 1;
    transform: scale(1);
}

/* Скрытые фото до нажатия «Показать все» */
.photo-tile.is-extra {
    display: none;
}

.photo-masonry.is-expanded .photo-tile.is-extra {
    display: block;
}

/* Плитки в тематических разделах (тренировки / сборы) */
.gallery-item {
    position: relative;
    display: block;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    background: #dfe5ec;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(23, 32, 58, 0.22);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* ===== Просмотр фото во весь экран ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox__figure {
    margin: 0;
    max-width: min(94vw, 1400px);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

.lightbox__img {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    transform: scale(0.96);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.32s ease;
}

.lightbox.is-open .lightbox__img {
    transform: scale(1);
    opacity: 1;
}

.lightbox__caption {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    text-align: center;
}

.lightbox__counter {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

/* Кнопки управления — то же стекло */
.lightbox__btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.lightbox__btn:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.55);
    transform: scale(1.07);
}

.lightbox__btn--close { top: 22px; right: 22px; }
.lightbox__btn--prev  { left: 22px;  top: 50%; transform: translateY(-50%); }
.lightbox__btn--next  { right: 22px; top: 50%; transform: translateY(-50%); }

.lightbox__btn--prev:hover { transform: translateY(-50%) scale(1.07); }
.lightbox__btn--next:hover { transform: translateY(-50%) scale(1.07); }

@media (max-width: 575.98px) {
    .lightbox__btn { width: 44px; height: 44px; font-size: 1.15rem; }
    .lightbox__btn--prev { left: 10px; }
    .lightbox__btn--next { right: 10px; }
    .lightbox__btn--close { top: 14px; right: 14px; }
    .lightbox__img { max-height: 70vh; }
}

/* Пока фото грузится */
.lightbox__spinner {
    position: absolute;
    width: 42px;
    height: 42px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: lightbox-spin 0.8s linear infinite;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lightbox.is-loading .lightbox__spinner {
    opacity: 1;
}

@keyframes lightbox-spin {
    to { transform: rotate(360deg); }
}

body.lightbox-open {
    overflow: hidden;
}

/* ===== Всплывающее уведомление «номер скопирован» ===== */
.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translate(-50%, 20px);
    z-index: 2000;

    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;

    color: #fff;
    font-weight: 500;
    background: rgba(23, 32, 58, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 12px 34px rgba(10, 20, 40, 0.35);

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.copy-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ===== Feature Icons ===== */
.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-sm {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Stat Icons ===== */
.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Avatar ===== */
.avatar-placeholder {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-sm {
    width: 40px;
    height: 40px;
}

.avatar-lg {
    width: 80px;
    height: 80px;
}

/* ===== Tables ===== */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 2px solid #e9ecef;
}

.table td {
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* ===== Forms ===== */
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.625rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.form-control-lg {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
}

.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* ===== Badges ===== */
.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
    border-radius: 6px;
}

/* ===== Alerts ===== */
.alert {
    border-radius: 10px;
    border: none;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* ===== Progress Bars ===== */
.progress {
    height: 20px;
    border-radius: 10px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== List Groups ===== */
.list-group-item {
    border-left: none;
    border-right: none;
    padding: 1rem 1.25rem;
}

.list-group-item:first-child {
    border-top: none;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

/* ===== Dropdown ===== */
.dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: none;
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.1);
}

/* ===== Modal ===== */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-radius: 15px 15px 0 0;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.5s ease forwards;
}

/* ===== Border utilities ===== */
.border-4 {
    border-width: 4px !important;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-group .btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* ===== Counter Animation ===== */
.counter {
    transition: all 0.5s ease;
}

/* ===== Auth pages ===== */
.auth-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== Карточка на тёмной секции =====
   Bootstrap 5.3 задаёт у .card тёмный цвет текста (--bs-body-color),
   и на тёмном фоне буквы сливаются с подложкой. Поэтому цвет и фон
   задаём явно, а не только классом bg-dark. */
.card-on-dark {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card-on-dark .card-body {
    color: #fff;
}

.card-on-dark .border-bottom,
.card-on-dark .border-secondary {
    border-color: rgba(255, 255, 255, 0.18) !important;
}

/* ===== Schedule Cards ===== */
.schedule-card {
    border-left: 4px solid var(--primary-color);
}

.schedule-card.group {
    border-left-color: var(--secondary-color);
}

/* ===== Status Colors ===== */
.status-present { color: #198754; }
.status-absent { color: #dc3545; }
.status-late { color: #ffc107; }
.status-registered { color: #6c757d; }

/* ===== Loading Spinner ===== */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ===== Notification Badge ===== */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Sidebar (for future use) ===== */
.sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    margin: 0.25rem 0.5rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* ===== Print Styles ===== */
@media print {
    .navbar, .footer, .btn, .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }
}
