/* Slider & UI custom styles */
.slider {
    position: relative;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
}
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide {
    min-width: 100%;
}
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6); /* black 60% */
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 9999px; /* circle */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.prev {
    left: 10px;
}
.next {
    right: 10px;
}
.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.75); /* darker black */
    transform: translateY(-50%) scale(1.03);
}
.nav-arrow:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}
.dots {
    text-align: center;
    margin-top: 10px;
}
.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #c7d2fe; /* indigo-200 */
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}
.active {
    background-color: #6366f1; /* indigo-500 */
}
.shake {
    animation: vibrate 0.2s;
    animation-iteration-count: infinite;
}
@keyframes vibrate {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-1px); }
    75% { transform: translateX(1px); }
}
@keyframes progressPulse {
    0% { box-shadow: 0 0 5px rgba(239, 68, 68, 0.6); }
    50% { box-shadow: 0 0 15px rgba(239, 68, 68, 0.9); }
    100% { box-shadow: 0 0 5px rgba(239, 68, 68, 0.6); }
}
@keyframes lightSlide {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Topbar shining sweep effect */
.topbar-shine {
    position: relative;
    overflow: hidden;
}
.topbar-shine::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%) skewX(-20deg);
    animation: topbarSweep 3s ease-in-out infinite;
}

@keyframes topbarSweep {
    0% { transform: translateX(-100%) skewX(-20deg); }
    60% { transform: translateX(100%) skewX(-20deg); }
    100% { transform: translateX(100%) skewX(-20deg); }
}
