/* ========================================
           GLOBAL STYLES
        ======================================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

:root {
            --primary-color: #1e3a8a;
            --secondary-color: #3b82f6;
            --accent-color: #1e3a8a;
            --light-bg: #f0f8ff;
            --dark-text: #333;
            --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--light-bg);
            overflow-x: hidden;
        }

/* Hide all sections by default */
        .page-section {
            display: none !important;
            min-height: 100vh;
        }

.page-section.active {
            display: flex !important;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

@keyframes spin {
            to { transform: rotate(360deg); }
        }

/* ========================================
           BACK BUTTON COMMON STYLE
        ======================================== */
        .back-to-main {
            position: fixed;
            top: 20px;
            left: 20px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            z-index: 10000;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s;
            display: none; /* Hidden by default */
            align-items: center;
            gap: 8px;
        }

.back-to-main.show {
            display: flex; /* Only show when explicitly enabled */
        }

.back-to-main:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }

.back-to-main i {
            font-size: 16px;
        }

@keyframes fadeIn {
            from { opacity: 0; transform: scale(0.8); }
            to { opacity: 1; transform: scale(1); }
        }

@keyframes logoFloatIn {
            from {
                opacity: 0;
                transform: translateY(-30px) scale(0.8);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

@keyframes logoGlow {
            0%, 100% {
                filter: drop-shadow(0 0 5px rgba(255, 0, 79, 0.6));
            }
            50% {
                filter: drop-shadow(0 0 15px rgba(255, 0, 79, 1));
            }
        }

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

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 2000px;
    }
}

#upcoming-title {
            margin-top: 1px;
        }

.tooltip {
            position: relative;
            display: inline-block;
        }

.tooltip .tooltiptext {
            visibility: hidden;
            width: 150px;
            background-color: #333;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 8px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -75px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 12px;
            font-weight: 400;
        }

.tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #333 transparent transparent transparent;
        }

.tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }

.card-actions {
            margin-top: 20px;
            position: relative;
        }

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

@keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
