body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f9fb;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #4f46e5;
    transition: background-color 0.15s;
}

.btn-primary:hover {
    background-color: #4338ca;
}

.btn-secondary {
    background-color: #d1d5db;
    color: #1f2937;
    transition: background-color 0.15s;
}

.btn-secondary:hover {
    background-color: #9ca3af;
}

.timer-handle {
    touch-action: none;
}

#judging-timer-card {
    transition: background-color 0.25s ease, border-color 0.25s ease,
                box-shadow 0.25s ease, color 0.25s ease;
}

#judging-timer-card.timer-warning {
    background: rgba(254, 249, 195, 0.98);
    border-color: #eab308;
    box-shadow: 0 14px 30px rgba(234, 179, 8, 0.26);
}

#judging-timer-card.timer-warning #judging-timer-label,
#judging-timer-card.timer-warning #judging-countdown,
#judging-timer-card.timer-warning #judging-next-deadline {
    color: #a16207;
}

#judging-timer-card.timer-warning #judging-timer-toggle {
    border-color: #facc15;
    color: #854d0e;
    background: rgba(255, 255, 255, 0.7);
}

#judging-timer-card.timer-danger {
    background: rgba(254, 226, 226, 0.98);
    border-color: #ef4444;
    box-shadow: 0 16px 34px rgba(239, 68, 68, 0.28);
}

#judging-timer-card.timer-danger #judging-timer-label,
#judging-timer-card.timer-danger #judging-countdown,
#judging-timer-card.timer-danger #judging-next-deadline {
    color: #dc2626;
}

#judging-timer-card.timer-danger #judging-timer-toggle {
    border-color: #fca5a5;
    color: #b91c1c;
    background: rgba(255, 255, 255, 0.65);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #4f46e5;
    cursor: pointer;
    border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #4f46e5;
    cursor: pointer;
    border-radius: 50%;
}
