        /* Finished/canceled/postponed badge styles */
        .finished-badge {
            position: absolute;
            top: 0;
            right: 0;
            background: #888;
            color: #fff;
            font-size: 0.75rem;
            padding: 0.25rem 0.5rem;
            border-bottom-left-radius: 6px;
            z-index: 10;
        }
        .canceled-badge {
            background: #b30000;
        }
        .postponed-badge {
            background: #e6a100;
        }
        .schedule-card,
        .schedule-row {
            position: relative;
        }

        /* Toggle switch styles */
        .view-toggle {
            text-align: center;
            margin-top: 1rem;
        }
        .switch {
            position: relative;
            display: inline-block;
            width: 170px;
            height: 36px;
        }
        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .slider {
            position: absolute;
            cursor: pointer;
            background-color: #ccc;
            border-radius: 36px;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            transition: 0.4s;
            font-size: 14px;
            font-weight: bold;
            color: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 12px;
            box-sizing: border-box;
            user-select: none;
        }
        .slider:before {
            position: absolute;
            content: "";
            height: 28px;
            width: 81px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            border-radius: 28px;
            transition: 0.4s;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }
        input:checked + .slider {
            background-color: #2196F3;
        }
        input:checked + .slider:before {
            transform: translateX(80px);
        }
        .slider .label-grid {
            z-index: 1;
            pointer-events: none;
            color: #2196F3;
        }
        input:checked + .slider .label-grid {
            color: white;
        }
        .slider .label-list {
            z-index: 1;
            pointer-events: none;
            color: white;
        }
        input:checked + .slider .label-list {
            color: #ccc;
        }

        /* Schedule styles */
        .schedule-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1rem;
            padding: 2rem;
        }
        .schedule-list {
            display: none;
            padding: 2rem;
        }

        .schedule-card,
        .schedule-row {
            background: #333;
            color: #fff;
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform 0.2s;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            margin-bottom: 1rem;
        }
        .schedule-card:hover,
        .schedule-row:hover {
            transform: scale(1.03);
        }
        .card-header,
        .row-header {
				display: flex;
				align-items: center;
				height: 50px; /* or whatever height you want for the header */
				font-weight: bold;
				text-align: center;
				background: #aaa;
        }
        .card-body,
        .row-body {
  background-position: center calc(50% + 50px);
  background-repeat: no-repeat;
  background-size: cover;
        		padding-top: 50px;
            padding: 1rem;
            flex-grow: 1;
        }
        .country-flag {
            height: 100%;
            width: auto;
            vertical-align: middle;
            margin-right: 0.5rem;
            display: block;
        }
        .event-title {
            font-size: 1.1rem;
            margin: 0.2rem 0;
        }
        .event-location,
        .event-date {
            font-size: 0.95rem;
            margin: 0.22rem 0;
        }

