/* ======================
   CSS VARIABLES & THEME
   ====================== */
:root {
    /* Colors */
    --bg-color: #2b2b2b;
    --card-bg: #3a3a3a;
    --header-color: #590037;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent-green: #4ade80;
    --accent-red: #f87171;
    --accent-yellow: #facc15;
    --accent-coffee: #4ade80;
    
    /* Typography */
    --font-stack: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-size-small: 11px;
    --font-size-normal: 13px;
    --font-size-large: 20px;
    --font-size-xlarge: 36px;
    
    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    
    /* Effects */
    --border-radius: 16px;
    --border-radius-small: 8px;
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
    --shadow-small: 0 4px 6px rgba(0, 0, 0, 0.2);
    --shadow-large: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* ======================
   BASE STYLES
   ====================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-stack);
    background-color: #1e1e1e;
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
}

/* Gridstack overrides - IMPORTANT */
.grid-stack {
    position: relative;
}

.grid-stack-item {
    position: absolute;
}

.grid-stack-item > .grid-stack-item-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
}

/* ======================
   LAYOUT
   ====================== */
.dashboard-container {
    display: grid;
    grid-template-columns: 600px 1fr 400px;
    width: 100%;
    height: 100%;
}

/* Sidebar */
.sidebar {
    background-color: var(--bg-color);
    padding: var(--spacing-sm);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

/* Right Sidebar */
.sidebar-right {
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    transition: width var(--transition-fast), padding var(--transition-fast), opacity var(--transition-fast);
}

.sidebar-right.hidden {
    width: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
}

.dashboard-container.right-sidebar-hidden {
    grid-template-columns: 600px 1fr 1px;
}

/* Main Content */
.main-content {
    position: relative;
    background-color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Map Header */
.map-header {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0 0 20px 0;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 4px;
    z-index: 20;
    pointer-events: none;
    text-shadow: 0 4px 10px #3c0025;
    opacity: 0.8;
}

/* Floor Plan */
.floorplan-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: opacity var(--transition-medium) ease;
}

.floorplan-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floorplan-image svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

#desk-icon-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.update-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.6);
    color: #aaa;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    font-size: 13px;
    pointer-events: none;
}

.creator-badge {
    position: absolute;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.6);
    color: #aaa;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    font-size: 13px;
    pointer-events: none;
}

/* Versjon nede til høyre */
.version-badge {
    position: fixed;
    bottom: var(--spacing-xs);
    right: var(--spacing-sm);
    color: var(--text-muted);
    font-size: var(--font-size-small);
    opacity: 0.6;
    pointer-events: none;
    z-index: 50;
}

/* Promofilm i fullskjerm */
.promo-overlay {
    position: fixed;
    /* Ikke bruk "inset" – Samsung-TV-ene (Tizen 6.5 / Chrome 85) støtter det ikke */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background: #000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.promo-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.promo-overlay video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Fremdriftslinje: tid til neste promofilm */
.promo-progress {
    position: absolute;
    left: var(--spacing-lg);
    right: 80px;
    bottom: var(--spacing-lg);
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    pointer-events: none;
    z-index: 20;
}

.promo-progress[hidden] {
    display: none;
}

.promo-progress-fill {
    width: 100%;
    height: 100%;
    background: var(--accent-red);
    transform: scaleX(0);
    transform-origin: left;
}

.promo-progress.running .promo-progress-fill {
    animation: promoProgress var(--promo-interval, 120s) linear forwards;
}

@keyframes promoProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* ======================
   CARD STYLES
   ====================== */
.grid-stack-item > .grid-stack-item-content {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-small);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: background-color var(--transition-fast), 
                box-shadow var(--transition-fast);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
}

.grid-stack-item-content * {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.grid-stack-item-content *::-webkit-scrollbar {
    display: none;
}

/* Remove resize/drag handles */
.grid-stack > .grid-stack-item > .ui-resizable-handle {
    display: none !important;
}

.grid-stack-item {
    cursor: default !important;
}

.grid-stack-item.ui-draggable-dragging > .grid-stack-item-content {
    box-shadow: var(--shadow-large);
    opacity: 0.95;
    border: 1px solid var(--accent-green);
    cursor: grabbing;
}

/* Card Header */
h3 {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    font-weight: 600;
}

/* ======================
   WEATHER WIDGET
   ====================== */
.weather-card .grid-stack-item-content {
    background-size: cover;
    background-position: center;
    border: none;
    position: relative;
    transition: background-image var(--transition-medium) ease-in-out;
}

.weather-card .grid-stack-item-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.weather-card h3,
.weather-card .weather-row {
    position: relative;
    z-index: 2;
}

/* Weather backgrounds */
.weather-rain .grid-stack-item-content {
    background-image: url('https://images.unsplash.com/photo-1515694346937-94d85e41e6f0?q=80&w=800&auto=format&fit=crop');
}

.weather-sunny .grid-stack-item-content {
    background-image: url('https://images.unsplash.com/photo-1622393526773-021d69644b42?q=80&w=800&auto=format&fit=crop');
}

.weather-cloudy .grid-stack-item-content {
    background-image: url('https://images.unsplash.com/photo-1534088568595-a066f410bcda?q=80&w=800&auto=format&fit=crop');
}

.weather-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.temp-big {
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.weather-icon {
    font-size: 70px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* ======================
   TIME WIDGET
   ====================== */
.time-big {
    font-size: 60px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.date-sub {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

/* ======================
   OCCUPANCY GRAPH
   ====================== */
.graph-container {
    flex-grow: 1;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    position: relative;
    min-height: 0;
}

.bar-group-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    position: relative;
}

.bars-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    position: relative;
}

.bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.bar {
    width: 14px;
    background-color: #555;
    border-radius: 4px 4px 0 0;
    transition: height var(--transition-medium) ease;
    min-height: 4px;
    position: relative;
}

.bar.previous-week {
    background-color: #888;
    opacity: 0.6;
}

.bar.current-week {
    background-color: var(--header-color);
    box-shadow: 0 0 10px rgba(88, 11, 44, 0.6);
}

.bar-value {
    font-size: var(--font-size-small);
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.day-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ======================
   CLIMATE WIDGET
   ====================== */
.vitals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    flex-grow: 1;
}

.vital-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-small);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.vital-value {
    font-size: 18px;
    font-weight: bold;
    color: var(--accent-green);
}

.vital-label {
    font-size: var(--font-size-small);
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
}

/* ======================
   COFFEE WIDGET
   ====================== */
.coffee-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.coffee-count {
    font-size: var(--font-size-xlarge);
    font-weight: 800;
    color: var(--accent-coffee);
    line-height: 1;
}

.coffee-icon {
    font-size: 32px;
    background: rgba(212, 163, 115, 0.1);
    padding: var(--spacing-sm);
    border-radius: 50%;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #444;
    border-radius: 3px;
    margin-top: var(--spacing-sm);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-coffee);
    width: 0%;
    transition: width var(--transition-fast) ease;
}

/* ======================
   ROOMS WIDGET
   ====================== */
.room-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: var(--spacing-xs);
    overflow-y: auto;
}

.room-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: var(--font-size-normal);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-dot.available {
    background: var(--accent-green);
    box-shadow: 0 0 5px var(--accent-green);
}

.status-dot.opptatt {
    background: var(--accent-red);
    box-shadow: 0 0 5px var(--accent-red);
}

/* ======================
   NEWS WIDGET
   ====================== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    height: 100%;
    padding-right: var(--spacing-xs);
}

.news-item {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: var(--spacing-sm);
}

.news-item:last-child {
    border: none;
}

.news-emoji {
    font-size: var(--font-size-large);
    background: rgba(255, 255, 255, 0.05);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.news-text h4 {
    margin: 0 0 2px 0;
    font-size: var(--font-size-normal);
    font-weight: 600;
    color: #fff;
}

.news-text p {
    margin: 0;
    font-size: var(--font-size-small);
    color: var(--text-muted);
    line-height: 1.4;
}

/* ======================
   ZOOM CONTROLS
   ====================== */
.hamburger-button {
    position: absolute;
    bottom: 60px;
    right: var(--spacing-lg);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 8px;
    transition: background-color var(--transition-fast);
    z-index: 100;
}

.hamburger-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.hamburger-button span {
    display: block;
    width: 20px;
    height: 2px;
    background: #aaa;
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.zoom-menu {
    position: absolute;
    bottom: 110px;
    right: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.9);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-large);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-fast),
                visibility var(--transition-fast),
                transform var(--transition-fast);
    z-index: 99;
}

.zoom-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.zoom-section {
    padding: var(--spacing-sm) 0;
}

.zoom-section h4 {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: var(--font-size-small);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.zoom-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.zoom-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.zoom-btn:active {
    transform: scale(0.95);
}

.zoom-display {
    font-size: var(--font-size-normal);
    color: var(--text-main);
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

.zoom-reset-btn {
    width: 100%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: var(--font-size-small);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.zoom-reset-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-green);
    border-color: var(--accent-green);
}

.zoom-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: var(--spacing-sm) 0;
}

/* ======================
   MEETING ROOMS TABLE
   ====================== */
/* Meeting Rooms Timeline Widget */
.meeting-rooms-board {
    width: 100%;
}

.meeting-table-header {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    padding: 12px 0px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.meeting-table-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    column-gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    align-items: center;
    margin-bottom: 5px;
}

.meeting-room-name {
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meeting-presence {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

.meeting-presence .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.meeting-status {
    justify-self: end;
    font-weight: 650;
    font-size: 13px;
}

.meeting-status.bad {
    color: var(--accent-red);
}

.meeting-status.ok {
    color: var(--accent-green);
}

.meeting-barline {
    grid-column: 1 / -1;
    margin-top: 10px;
}

.meeting-timeline {
    position: relative;
    height: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    overflow: visible;
}

.meeting-nowline {
    position: absolute;
    top: -10px;
    height: 45px;
    width: 2px;
    background: rgba(0, 255, 17, 0.9);
    z-index: 10;
}

.meeting-block {
    position: absolute;
    top: 3px;
    height: 14px;
    border-radius: 8px;
    background: #590037;
    border: 1px solid rgba(239, 68, 68, .35);
}

.meeting-labels {
    position: relative;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-muted);
}

.meeting-label-cell {
    position: relative;
}

.meeting-tick {
    position: absolute;
    top: -26px;
    left: 0;
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.50);
}

.meeting-label-text {
    white-space: nowrap;
    transform: translateX(-18%);
}

.meeting-end-label {
    position: absolute;
    right: 0;
    top: 0;
    white-space: nowrap;
}

.meeting-left-header {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

/* ======================
   MEDAL TABLE WIDGET
   ====================== */
.medal-widget {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-small);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 10px;
}

.medal-header {
    background: linear-gradient(135deg, #590037, #77054b);
    padding: 14px var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.medal-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.medal-header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.medal-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.medal-icon.gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.medal-icon.silver {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    box-shadow: 0 0 6px rgba(156, 163, 175, 0.4);
}

.medal-icon.bronze {
    background: linear-gradient(135deg, #b45309, #92400e);
    box-shadow: 0 0 6px rgba(180, 83, 9, 0.4);
}

.medal-header-total {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.medal-table {
    display: flex;
    flex-direction: column;
}

.medal-row {
    display: grid;
    grid-template-columns: 32px 30px 1fr 44px 44px 44px 52px;
    align-items: center;
    padding: 12px var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color var(--transition-fast);
}

.medal-row:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

.medal-row:last-child {
    border-bottom: none;
}

.medal-rank {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
}

.medal-flag {
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.medal-flag-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.medal-country {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    padding-left: 6px;
}

.medal-count {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: var(--text-main);
}

.gold-count {
    color: #fbbf24;
}

.medal-total {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: var(--text-main);
}

/* ======================
   SCHEDULE WIDGET
   ====================== */
.schedule-widget {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-small);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 10px;
    margin-top: 20px;
}

.schedule-header {
    padding: 14px var(--spacing-md);
}

.schedule-title {
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.schedule-list {
    padding: var(--spacing-xs) 0;
}

.schedule-event {
    padding: 10px var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.schedule-event:last-child {
    border-bottom: none;
}

.schedule-event:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.schedule-event-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.schedule-sport-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.schedule-sport-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    flex: 1;
}

.schedule-time {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-green);
    white-space: nowrap;
}

.schedule-time.tomorrow {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 11px;
}

.schedule-event-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    padding-left: 28px;
}

.schedule-event-title {
    font-size: 12px;
    color: var(--text-muted);
}

.schedule-gender {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.schedule-gender.male {
    background-color: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.schedule-gender.female {
    background-color: rgba(244, 114, 182, 0.2);
    color: #f472b6;
}
.schedule-time.live {
    color: #00ff9c;
    font-weight: 700;
    animation: pulseLive 2s infinite;
}

.schedule-event.live-event {
    border-left: 4px solid #00ff9c;
    padding-left: 8px;
}

.schedule-time.finished {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 11px;
  opacity: 0.9;
}

@keyframes pulseLive {
    0% { opacity: 1; }
    50% { opacity: .5; }
    100% { opacity: 1; }
}
/* ======================
   THIRD PARTY OVERRIDES
   ====================== */
.elfsight-app-7ce7eeb1-ad69-4111-b25f-be300e1a6cdb {
    height: 100%;
    width: 100%;
    overflow: hidden !important;
    pointer-events: none;
}