/* Transition for Theme Toggle */
body, header, footer, main, section, nav, a, button, input, select, textarea {
    transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 300ms cubic-bezier(0.4, 0, 0.2, 1), 
                color 200ms cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
.dark ::-webkit-scrollbar-thumb {
    background: #1e293b;
    border: 2px solid #030712;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border: 2px solid #f8fafc;
    border-radius: 9999px;
}
.dark ::-webkit-scrollbar-thumb:hover {
    background: #334155;
}
::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

/* Background glowing meshes */
.bg-glow-indigo {
    position: absolute;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0) 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

.bg-glow-rose {
    position: absolute;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.08) 0%, rgba(244, 63, 94, 0) 70%);
    filter: blur(55px);
    pointer-events: none;
    z-index: 0;
}

/* Custom classes for typography and layout */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.dark .glass-panel {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Modern E-Ticket component styles */
.ticket-dashed-line {
    border-top: 2px dashed rgba(226, 232, 240, 0.5);
}
.dark .ticket-dashed-line {
    border-top: 2px dashed rgba(51, 65, 85, 0.6);
}

.ticket-barcode-line {
    display: inline-block;
    width: 2px;
    height: 36px;
    background-color: currentColor;
    margin: 0 1px;
}

.ticket-shine {
    position: relative;
    overflow: hidden;
}
.ticket-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(25deg);
    animation: ticket-shine-anim 7s infinite ease-in-out;
}
@keyframes ticket-shine-anim {
    0% { left: -60%; }
    12% { left: 130%; }
    100% { left: 130%; }
}

/* Modern inputs reset */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: opacity(0.5);
    transition: filter 0.2s;
}
.dark input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.75);
}
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    filter: opacity(1);
}
.dark input[type="date"]::-webkit-calendar-picker-indicator:hover {
    filter: invert(1) opacity(1);
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}