/* Custom CSS for Conference Events App */

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Ensure smooth transitions for Alpine.js */
[x-cloak] {
    display: none !important;
}

/* Custom focus styles for better accessibility */
.focus-visible:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Ensure proper z-index stacking */
.z-50 {
    z-index: 50;
}

/* Custom animation for timeline dots */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.timeline-dot-active {
    animation: pulse 2s infinite;
}

/* Ensure proper mobile touch targets */
button, [role="button"] {
    min-height: 44px;
    min-width: 44px;
}

/* Custom styles for better mobile experience */
@media (max-width: 640px) {
    .max-w-4xl {
        max-width: 100%;
        margin: 0;
    }
    
    .p-4 {
        padding: 1rem;
    }
    
    .space-x-2 > * + * {
        margin-left: 0.5rem;
    }
    
    .space-x-3 > * + * {
        margin-left: 0.75rem;
    }
}
