body {
  margin: 0;
  padding: 0;
}

/* Race Day Countdown Timer Styles */
.rdct-container {
    background: linear-gradient(to bottom right, #1e293b, #0f172a, #1e293b);
    border-radius: 8px;
    padding: 1px;
    color: #fff;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rdct-header {
    text-align: center;
    margin-bottom: 20px;
}

.rdct-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rdct-title h2 {
    font-size: 1.75rem;
    font-weight: bold;
    color: #fff;
    margin: 0;
}

.rdct-subtitle {
    color: #cbd5e1;
    font-size: 1rem;
    margin-top: 5px;
}

.rdct-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.rdct-trophy:before {
    content: '📡';
    font-size: 20px;
}

.rdct-table-container {
    overflow-x: auto;
    border: 1px solid #334155;
    border-radius: 6px;
}

.rdct-table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(30px, 41, 59, 0.3);
}

.rdct-table th {
    background-color: rgba(51, 65, 85, 0.5);
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px;
    border-bottom: 1px solid #334155;
}

.rdct-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #334155;
    color: #e2e8f0;
    width: auto;
    white-space: nowrap;
}

.rdct-table tbody {
    background-color: rgba(30, 41, 59, 0.3);
    transition: background-color 0.2s;
}

.rdct-table tbody tr:hover {
    background-color: rgba(51, 65, 85, 0.4);
}

.rdct-category {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rdct-category-dot {
    width: 10px;
    height: 10px;
    background-color: #eab308;
    border-radius: 50%;
}

.rdct-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rdct-countdown-clock:before {
    content: '🕒';
    font-size: 16px;
}

.rdct-timer {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 600;
}

.rdct-timer.started {
    color: #4ade80;
}

.rdct-warning {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rdct-warning-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.rdct-warning-green {
    background-color: #22c55e;
}

.rdct-warning-blue {
    background-color: #3b82f6;
}

.rdct-warning-yellow {
    background-color: #eab308;
}

.rdct-warning-orange {
    background-color: #f97316;
}

.rdct-warning-red {
    background-color: #ef4444;
}

.rdct-warning-text {
    font-weight: 600;
    color: #fff;
}

.rdct-empty-message {
    text-align: center;
    padding: 48px 20px;
    color: #94a3b8;
    font-size: 1.1rem;
}

.rdct-empty-subtitle {
    color: #64748b;
    margin-top: 8px;
    font-size: 0.9rem;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

@media only screen and (max-width: 768px) {
  .rdct-table th, .rdct-table td {
    padding: 6px 8px;
    font-size: 12px;
  }
  .rdct-column-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .rdct-column-toggle label {
    margin-right: 0;
  }
  .rdct-title h2 {
    font-size: 1rem;
  }
  .rdct-subtitle {
    font-size: 0.8rem;
  }
  .rdct-container {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .full-text {
    display: none;
  }
  .abbr-text {
    display: inline;
  }
}

@media only screen and (min-width: 769px) {
  .rdct-column-toggle {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
  }
  .rdct-column-toggle label {
    margin-right: 0;
    font-size: 16px;
  }
  .rdct-table-container {
    overflow-x: auto;
  }
  .full-text {
    display: inline;
  }
  .abbr-text {
    display: none;
  }
}

.rdct-timer.finished {
    color: #22c55e;
}

@keyframes flash {
    10% {
        opacity: 1;
    }
    99% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.flashing {
    animation: flash 4s infinite;
    animation-direction: normal;
}
.rdct-table {
  table-layout: fixed;
}

.rdct-table td:nth-child(1), .rdct-table td:nth-child(1) {
  width: 50px;
}

.rdct-table th:nth-child(2), .rdct-table td:nth-child(2) {
  width: 150px 
}
.rdct-Logo-column {
  width: 100px;
}

.rdct-category-column {
  width: 100px;
}

.rdct-start-time-column {
  width: 100px;
}

.rdct-finish-time-column {
  width: 100px;
}

.rdct-countdown-column {
  width: 200px;
}

.rdct-warning-status-column {
  width: 200px;
}

.rdct-date-column {
  width: 100px;
}
