/*«Midnight Clarity» (#242e4c + Белый)*/
        :root {
            --brand-dark: #242e4c;
            --brand-white: #ffffff;
            --brand-bg: #f8f9fa;
            --accent-teal: #20c997;
            /* Тот самый микро-акцент */
            --text-muted: #6c757d;
            --border-color: #e2e8f0;
            --bg-top: #e3f6f0;
            --bg-bottom: #cdece3;
            --line-rgb: 32, 201, 151;
            --line-accent-rgb: 15, 120, 90;
            --wave-color: #d8f1e9; 
        }

        
        body {
            margin: 0;
            padding: 0;
            min-height: 100vh;
            background: linear-gradient(165deg, var(--bg-top) 0%, var(--bg-bottom) 100%) fixed;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: sans-serif;
        }

        .background-waves {
            position: fixed;
            top: 50%;
            left: 0;
            width: 100%;
            height: 150px;
            transform: translateY(-50%);
            z-index: -1;
            pointer-events: none;
            overflow: hidden;
        }

        .waves-svg {
            width: 100%;
            height: 100%;
        }

        .stop-animation-waves .parallax>use {
            animation-play-state: paused !important;
        }

        .parallax>use {
            animation: move-forever 20s cubic-bezier(.55, .5, .45, .5) infinite;
        }

        .parallax>use:nth-child(1) {
            animation-delay: -2s;
            animation-duration: 7s;
            fill: var(--bg-top);
            opacity: 0.6;
        }

        .parallax>use:nth-child(2) {
            animation-delay: -3s;
            animation-duration: 10s;
            fill: var(--bg-bottom);
            opacity: 0.4;
        }

        .parallax>use:nth-child(3) {
            animation-delay: -4s;
            animation-duration: 13s;
            fill: #ffffff;
            opacity: 0.3;
        }

        .parallax>use:nth-child(4) {
            animation-delay: -5s;
            animation-duration: 20s;
            fill: var(--bg-bottom);
            opacity: 0.8;
        }

        @keyframes move-forever {
            0% {
                transform: translate3d(-90px, 0, 0);
            }

            100% {
                transform: translate3d(85px, 0, 0);
            }
        }

        .btn-brand {
            background-color: var(--brand-dark);
            color: var(--brand-black);
            border-radius: 8px;
            padding: 0.6rem 1.5rem;
            font-weight: 600;
        }

        .btn-brand:hover {
            background-color: #1a223a;
            color: var(--brand-white);
        }

        .hover-lift {
            transition: transform 0.2s ease, shadow 0.2s ease;
        }

        .hover-lift:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
            background-color: #212529;
            color: #fff;
        }

        .status-dot {
            height: 10px;
            width: 10px;
            background-color: var(--accent-teal);
            border-radius: 50%;
            display: inline-block;
            margin-right: 8px;
            box-shadow: 0 0 8px var(--accent-teal);
        }

        .table {
            --bs-table-hover-bg: #f1f4f9;
        }

        .table thead th {
            background-color: var(--brand-bg);
            color: var(--text-muted);
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: none;
        }

        .search-input {
            border: 2px solid var(--border-color);
            border-radius: 10px;
            padding-left: 1rem;
        }

        .search-input:focus {
            border-color: var(--brand-dark);
            box-shadow: none;
        }

        .custom-modal-content {
            background-color: var(--brand-dark);
            /* Наш глубокий синий #242e4c */
            color: var(--brand-white);
            border: none;
            border-radius: 24px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
        }

        .info-icon-wrapper {
            width: 80px;
            height: 80px;
            background: rgba(32, 201, 151, 0.1);
            /* Мягкий бирюзовый фон */
            color: var(--accent-teal);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
        }

        .event-name-badge {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 12px 20px;
            border-radius: 12px;
            font-weight: 600;
            color: var(--accent-teal);
            font-size: 1.1rem;
        }

        .modal.fade .modal-dialog {
            transform: scale(0.9) translateY(20px);
            transition: transform 0.3s ease-out;
        }

        .modal.show .modal-dialog {
            transform: scale(1) translateY(0);
        }

        .btn-brand {
            background-color: var(--accent-teal);
            border: none;
            color: var(--brand-dark);
            font-weight: 700;
            transition: all 0.3s ease;
        }

        .btn-brand:hover {
            background-color: #1bb386;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(32, 201, 151, 0.3);
        }

        .animate-fade-in {
            animation: fadeIn 0.5s ease-in;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-5px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .bi-hourglass-split {
            animation: pulse-red 2s infinite;
        }

        @keyframes pulse-red {
            0% {
                transform: scale(1);
                opacity: 1;
            }

            50% {
                transform: scale(1.1);
                opacity: 0.7;
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        .card-selected {
            transition: all 0.3s ease-in-out;
            border: 2px solid transparent !important;
            cursor: pointer;
            background: white;
            border-radius: 2.5rem;
        }

        .card-selected:hover {
            transform: translateY(-12px);
            border-color: #20c997 !important; 
            box-shadow: 0 1.5rem 3rem rgba(32, 201, 151, 0.2) !important;
        }

                .btn-disabled-custom {
            background-color: #e9ecef !important;
            color: #adb5bd !important;
            border: none !important;
            cursor: not-allowed !important;
        }
