/* Dayeuhkolot Travel - Custom CSS
   Cloudflare Dashboard Style
   border-radius: max 2px
*/

/* Base */
* {
    border-radius: 0px;
}

.rounded-sm, .rounded, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl {
    border-radius: 2px !important;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Modal backdrop */
.fixed.inset-0 {
    transition: opacity 0.2s ease;
}

/* Seat map grid adjustments */
.seat-grid {
    display: grid;
    gap: 12px;
    justify-items: center;
    align-items: center;
}

/* Seat button hover effects */
.seat-btn:not([disabled]):hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.seat-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Scrollbar styling (Cloudflare style) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Form inputs focus ring */
input:focus, select:focus, button:focus {
    outline: none;
    ring: 2px solid #3b82f6;
    ring-offset: 2px;
}

/* Card transitions */
.hover\:shadow-md:hover {
    transition: box-shadow 0.2s ease;
}

/* Loading spinner */
.spinner {
    border: 3px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .seat-grid {
        gap: 8px;
    }
    
    .seat-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.75rem;
    }
}

/* Print styles for e-ticket later */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
    }
}