/* ============================================================
   RESERVA — Custom Styles
   ============================================================ */

/* Smooth transitions */
* {
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Focus visible */
*:focus-visible {
    outline: 2px solid #0F6E56;
    outline-offset: 2px;
}

/* Mobile: tap highlight off */
button, a, [role="button"] {
    -webkit-tap-highlight-color: transparent;
}

/* FullCalendar custom */
.fc-event {
    cursor: pointer;
    font-size: 11px;
    padding: 1px 4px;
    border-radius: 4px;
}

.fc-event-title {
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

[data-dropdown-menu]:not(.hidden) {
    animation: fadeIn 0.15s ease;
}

/* Loading state */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Print styles untuk export */
@media print {
    aside, header, nav, .no-print {
        display: none !important;
    }
    main {
        padding: 0 !important;
    }
}
