* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            padding: 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
        }
        
        .container {
            max-width: 1600px;
            margin: 0 auto;
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        }
        
        h1 {
            text-align: center;
            color: #2c3e50;
            margin-bottom: 10px;
            font-size: 2em;
        }
        
        .subtitle {
            text-align: center;
            color: #7f8c8d;
            margin-bottom: 30px;
            font-size: 0.9em;
        }
        
        .legend {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }
        
        .legend-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 15px;
            background: #f8f9fa;
            border-radius: 20px;
            font-size: 0.85em;
        }
        
        .legend-box {
            width: 20px;
            height: 20px;
            border-radius: 4px;
        }
        
        .deadline { background: #e74c3c; }
        .abstract { background: #f39c12; }
        .notification { background: #3498db; }
        .conference { background: #2ecc71; }
        .cfp { background: #9b59b6; }
        
        .timeline {
            margin-top: 20px;
            overflow-x: auto;
            isolation: isolate;
            position: relative; /* Added for positioning the vertical marker */
        }
        
        .today-vertical-marker {
            position: absolute;
            width: 2px; /* Thin line */
            background-color: #e74c3c; /* Red color, same as deadline */
            z-index: 999; /* Ensure it's above other elements but below modal */
            pointer-events: none; /* Allow interaction with elements behind the line */
        }        
        table {
            width: 100%;
            border-collapse: collapse;
            min-width: 1400px;
        }
        
        .conference-name {
            position: -webkit-sticky; /* For Safari */
            position: sticky;
            left: 0;
            z-index: 100;
        }

        th {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 12px 8px;
            text-align: center;
            font-size: 0.85em;
            font-weight: 600;
            position: sticky;
            top: 0;
            z-index: 10;
        }

        th:first-child {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        
        .category-header {
            cursor: pointer;
            user-select: none;
        }
        
        .category-header td {
            background: #34495e;
            color: white;
            font-weight: bold;
            padding: 10px;
            text-align: left; /* FIX: Explicitly align left */
            font-size: 1.1em;
            position: relative;
            padding-left: 35px !important; /* Space for icon */
        }

        .category-header td::before {
            content: '−';
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            font-weight: bold;
            font-size: 1.2em;
        }
        
        .category-header.collapsed td::before {
            content: '+';
        }

        .category-header.collapsed td::before {
            content: '+';
        }

        .conference-row {
            border-bottom: 1px solid #ecf0f1;
        }
        
        .conference-name {
            font-weight: 600;
            padding: 15px 10px;
            background: #f8f9fa;
            width: 140px;
            font-size: 0.9em;
            color: #2c3e50;
                cursor: pointer;
                transition: all 0.3s ease;        }
        
        .conference-name:hover {
            background: #e3f2fd;
            color: #1976d2;
            transform: scale(1.02);
        }
        
        .conference-name::after {
            content: " ℹ️";
            font-size: 0.8em;
            opacity: 0.6;
        }
        
        td {
            padding: 8px 4px;
            text-align: center;
            font-size: 0.75em;
            min-width: 60px;
            position: relative;
        }
        
        .event {
            padding: 4px 6px;
            border-radius: 4px;
            /* margin: 2px 0; */
            font-size: 0.85em;
            font-weight: 500;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        
        .event:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        
        .event.deadline { background: #e74c3c; color: white; }
        .event.abstract { background: #f39c12; color: white; }
        .event.notification { background: #3498db; color: white; }
        .event.conference { background: #2ecc71; color: white; }
        .event.cfp { background: #9b59b6; color: white; }

        .cycle-group-odd {
            background: linear-gradient(180deg, rgba(135, 206, 250, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
        }

        .cycle-group-even {
            background: linear-gradient(180deg, rgba(255, 228, 181, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
        }

        .today-marker {
            border-left: 3px solid #e74c3c !important;
        }

        .today-marker {
            border-left: 3px solid #e74c3c !important;
        }

        .event {
            border: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .multi-event {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }
        
        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            animation: fadeIn 0.3s;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideIn {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        .modal-content {
            background-color: #fefefe;
            margin: 5% auto;
            padding: 0;
            border-radius: 15px;
            width: 90%;
            max-width: 700px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
            animation: slideIn 0.4s;
            max-height: 85vh;
            overflow-y: auto;
        }
        
        .modal-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 25px 30px;
            border-radius: 15px 15px 0 0;
            position: relative;
        }
        
        .modal-header h2 {
            margin: 0;
            font-size: 1.8em;
            margin-bottom: 5px;
        }
        
        .modal-header .conference-full-name {
            font-size: 0.9em;
            opacity: 0.9;
            margin-top: 5px;
        }
        
        .close {
            position: absolute;
            right: 20px;
            top: 20px;
            color: white;
            font-size: 35px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s;
            line-height: 1;
        }
        
        .close:hover {
            transform: scale(1.2) rotate(90deg);
        }
        
        .modal-body {
            padding: 30px;
        }
        
        .info-section {
            margin-bottom: 25px;
        }
        
        .info-section h3 {
            color: #667eea;
            margin-bottom: 12px;
            font-size: 1.2em;
            border-bottom: 2px solid #667eea;
            padding-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .info-row {
            display: flex;
            margin-bottom: 12px;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 8px;
        }
        
        .info-label {
            font-weight: 600;
            color: #495057;
            min-width: 140px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .info-value {
            color: #212529;
            flex: 1;
        }
        
        .tier-badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.9em;
        }
        
        .tier-a-star {
            background: #ffd700;
            color: #000;
        }
        
        .tier-a {
            background: #28a745;
            color: white;
        }
        
        .tier-b {
            background: #17a2b8;
            color: white;
        }
        
        .difficulty {
            display: flex;
            gap: 3px;
            align-items: center;
        }
        
        .difficulty-star {
            color: #ffc107;
            font-size: 1.2em;
        }
        
        .acceptance-rate {
            font-size: 1.3em;
            font-weight: bold;
            color: #667eea;
        }
        
        .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 8px;
        }
        
        .tag {
            background: #e3f2fd;
            color: #1976d2;
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 0.85em;
            font-weight: 500;
        }
        
        @media (max-width: 768px) {
            .modal-content {
                width: 95%;
                margin: 10% auto;
            }
            
            .info-row {
                flex-direction: column;
            }
            
            .info-label {
                min-width: auto;
                margin-bottom: 5px;
            }
        }

.category-header {
    cursor: pointer;
    user-select: none; /* Prevent text selection on click */
}

.category-header td {
    position: relative;
    padding-left: 35px !important;
}

.category-header td::before {
    content: '−'; /* Minus sign for expanded state */
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 1.2em;
}

.category-header.collapsed td::before {
    content: '+'; /* Plus sign for collapsed state */
}

.conference-row.hidden {
    display: none;
}

.date-popover {
    position: absolute;
    background: #2c3e50;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    font-size: 0.9em;
    line-height: 1.4;
}

.navbar {
    display: flex;
    justify-content: center; /* Changed back to center */
    align-items: center; /* Keep this for vertical alignment */
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.navbar a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}
.navbar a:hover {
    background: #e3f2fd;
    color: #1976d2;
}
.navbar a.active {
    background: #3498db !important;
    color: white !important;
}

.github-corner {
    position: absolute;
    top: 20px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    z-index: 1001; /* Ensure it's above everything else */
}

.github-corner a {
    color: #24292e; /* GitHub dark color */
    font-size: 2em; /* Make the icon size appropriate */
    transition: color 0.3s ease;
}

.github-corner a:hover {
    color: #3498db; /* Highlight on hover */
}
