.glass { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); }
.dark .glass { background: rgba(31, 41, 55, 0.8); }
.timer-active { position: relative; }
.timer-active::after {
    content: ''; position: absolute; top: -4px; right: -4px; width: 12px; height: 12px;
    background: #ef4444; border-radius: 50%;
    animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes pulse-ring { 0% { transform: scale(.33); } 80%, 100% { opacity: 0; } }
input[type="datetime-local"] { color-scheme: light dark; }
.custom-scroll::-webkit-scrollbar { width: 6px; }
.custom-scroll::-webkit-scrollbar-track { background: transparent; }
.custom-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.dark .custom-scroll::-webkit-scrollbar-thumb { background: #475569; }
/* Univerzální reset pro oba inputy */
#ticket-input:-webkit-autofill,
#ticket-input:-webkit-autofill:hover,
#ticket-input:-webkit-autofill:focus,
#description-input:-webkit-autofill,
#description-input:-webkit-autofill:hover,
#description-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px rgba(0,0,0,0) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Barva textu pro SVĚTLÝ režim */
#ticket-input:-webkit-autofill,
#description-input:-webkit-autofill {
    -webkit-text-fill-color: #111827 !important;
}

/* Barva textu pro TMAVÝ režim */
.dark #ticket-input:-webkit-autofill,
.dark #description-input:-webkit-autofill {
    -webkit-text-fill-color: #ffffff !important;
}
