        :root {
            --primary-color: #3046c5;
            --accent-color: #ff6b6b;
            --light-bg: #f8f9fa;
            --dark-text: #2d3748;
            --light-text: #718096;
            --success-color: #38a169;
            --warning-color: #e9b949;
            --danger-color: #e53e3e;
            --border-radius: 0.5rem;
            --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        /* Event Header Styling */
        .event-header {
            background: linear-gradient(135deg, #5b6eff, #8c5bff);
            border-radius: var(--border-radius);
            padding: 2.5rem;
            color: white;
            margin-top: 50px;
            margin-bottom: 2rem;
            position: relative;
            overflow: hidden;
            box-shadow: var(--box-shadow);
        }

        .event-header::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
            opacity: 0.2;
        }

        .event-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            color: white !important;
        }

        .event-badge {
            display: inline-flex;
            align-items: center;
            padding: 0.5rem 1rem;
            background-color: rgba(255, 255, 255, 0.15);
            border-radius: 50px;
            margin-right: 1rem;
            margin-bottom: 0.5rem;
            backdrop-filter: blur(5px);
        }

        .event-badge i {
            margin-right: 0.5rem;
        }

        .event-badge a {
            color: white !important;
            text-decoration: none;
        }

        .register-btn {
            background-color: white;
            color: var(--primary-color);
            border: none;
            padding: 0.75rem 1.5rem;
            font-weight: 600;
            border-radius: 50px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .register-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
            background-color: #f8f9fa;
        }

        /* Tabs Styling */
        .nav-tabs {
            border-bottom: none;
            margin-bottom: 1.5rem;
            gap: 0.5rem;
        }

        .nav-tabs .nav-item {
            margin-bottom: 0;
        }

        .nav-tabs .nav-link {
            border: none;
            padding: 0.75rem 1.25rem;
            border-radius: var(--border-radius);
            font-weight: 500;
            color: var(--dark-text);
            transition: all 0.3s ease;
        }

        .nav-tabs .nav-link:hover {
            background-color: rgba(0, 0, 0, 0.03);
        }

        .nav-tabs .nav-link.active {
            color: var(--primary-color);
            background-color: rgba(48, 70, 197, 0.1);
            border-bottom: 2px solid var(--primary-color);
        }

        /* Card Styling */
        .content-card {
            border: none;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .card-header {
            background-color: white;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            padding: 1.25rem 1.5rem;
        }

        .card-header h5 {
            font-weight: 600;
            color: var(--dark-text);
            margin: 0;
        }

        /* Info Item Styling */
        .info-item {
            margin-bottom: 1rem;
        }

        .info-label {
            display: block;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--light-text);
            margin-bottom: 0.25rem;
        }

        .info-value {
            display: block;
            font-weight: 500;
            color: var(--dark-text);
        }

        /* Kelas Card Styling */
        .kelas-card {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            transition: all 0.3s ease;
            height: 100%;
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .kelas-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        }

        .kelas-header {
            padding: 1.25rem;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            background: linear-gradient(to right, #f5f7ff, #fff);
        }

        .kelas-title {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
            color: var(--dark-text);
        }

        .kelas-code {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            background-color: #f0f4ff;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .kelas-body {
            padding: 1.25rem;
        }

        .kelas-detail {
            display: flex;
            align-items: center;
            margin-bottom: 0.75rem;
        }

        .kelas-detail i {
            width: 1.5rem;
            color: var(--primary-color);
            font-size: 0.9rem;
        }

        .kelas-detail span {
            font-size: 0.9rem;
        }

        .kelas-price {
            margin-top: 1.25rem;
            padding-top: 1rem;
            border-top: 1px dashed rgba(0, 0, 0, 0.1);
            text-align: right;
        }

        .price-value {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary-color);
        }

        /* Kandang Card Styling */
        .kandang-card {
            background: white;
            border-radius: var(--border-radius);
            padding: 1.5rem;
            display: flex;
            align-items: center;
            box-shadow: var(--box-shadow);
            transition: all 0.3s ease;
            border: 1px solid rgba(0, 0, 0, 0.05);
            height: 100%;
        }

        .kandang-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        }

        .kandang-icon {
            width: 3rem;
            height: 3rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f0f4ff;
            border-radius: 50%;
            margin-right: 1rem;
            color: var(--primary-color);
            font-size: 1.25rem;
        }

        .kandang-info h5 {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--dark-text);
        }

        /* Status Badge Styling */
        .status-badge {
            padding: 0.35rem 1rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .badge-open {
            background-color: rgba(56, 161, 105, 0.1);
            color: var(--success-color);
        }

        .badge-closed {
            background-color: rgba(229, 62, 62, 0.1);
            color: var(--danger-color);
        }

        .badge-ongoing {
            background-color: rgba(66, 153, 225, 0.1);
            color: #3182ce;
        }

        .badge-finished {
            background-color: rgba(113, 128, 150, 0.1);
            color: var(--light-text);
        }

        /* Animation */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeIn 0.5s ease forwards;
        }

        /* stle untuk download thb */
        .btn-download {
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 8px 16px;
            font-weight: 600;
            font-size: 0.85rem;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
        }

        .btn-download:hover {
            background: linear-gradient(135deg, #218838, #1ea882);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
            color: white;
        }

        .btn-download:active {
            transform: translateY(0);
        }

        .btn-download-primary {
            background: linear-gradient(135deg, #007bff, #6610f2);
            color: white;
            border: none;
            border-radius: 10px;
            padding: 12px 24px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3);
        }

        .btn-download-primary:hover {
            background: linear-gradient(135deg, #0056b3, #520dc2);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
            color: white;
        }

        /* Download Section Styles */
        .download-section-full {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 2px dashed #e9ecef;
        }

        .download-card {
            background: linear-gradient(135deg, #f8f9ff, #ffffff);
            border: 1px solid #e3e6f0;
            border-radius: 15px;
            padding: 25px;
            display: flex;
            align-items: center;
            gap: 20px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .download-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: linear-gradient(135deg, #007bff, #6610f2);
        }

        .download-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0, 123, 255, 0.15);
            border-color: #007bff;
        }

        .download-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #007bff, #6610f2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .download-content {
            flex-grow: 1;
        }

        .download-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 5px;
        }

        .download-subtitle {
            color: #6c757d;
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .download-action {
            flex-shrink: 0;
        }

        .file-details {
            margin-top: 8px;
        }

        .file-info {
            gap: 8px;
        }

        /* File Type Specific Styling */
        .file-type-pdf {
            color: #dc3545 !important;
        }

        .file-type-word {
            color: #007bff !important;
        }

        .file-type-excel {
            color: #28a745 !important;
        }

        .file-type-powerpoint {
            color: #fd7e14 !important;
        }

        .file-type-text {
            color: #17a2b8 !important;
        }

        .file-type-archive {
            color: #6c757d !important;
        }

        /* Loading Animation for Download */
        .btn-download.downloading {
            pointer-events: none;
            opacity: 0.7;
        }

        .btn-download.downloading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 16px;
            height: 16px;
            margin: -8px 0 0 -8px;
            border: 2px solid transparent;
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .event-header {
                padding: 1.5rem;
            }

            .event-title {
                font-size: 1.75rem;
            }

            .event-badge {
                padding: 0.35rem 0.75rem;
                font-size: 0.85rem;
            }
        }
