/* asset-mapper app.css */
/* custom styles */

/* Error state for form fields */
.border-red-500 {
    border-color: #ef4444 !important;
}

/* for row clicks in tables */
.tr-link:hover {
    cursor: pointer;
}
.tr-link:hover [data-tr-link-target="exclude"] {
    cursor: default;
}

/*  invitation, booking pages */
@media (max-width: 1279px) {
    /* for blocks that should be hidden on small screen */
    .xs\:hidden {
        display: none;
    }
}

/* cursor for seat select "button" */
[data-seat-picker-map-target="seat"] {
    cursor: pointer;
}
[data-seat-picker-map-target="seat"].bg-gray-50 {
    cursor: default;
}

/* make kpn-pagination link full width */
.sortable-th a {
    flex-grow: 1;
    text-align: left;
}

/* spinner animation for loading states */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.spinner {
    animation: spin 1s linear infinite;
}

/* print booking */
@media print {
    body * {
        visibility: hidden;
    }
    #printableSection, #printableSection * {
        visibility: visible;
    }
    #printableSection {
        position: absolute;
        left: 0;
        top: 0;
        /* Rimuovi l'altezza fissa e imposta overflow */
        height: auto !important;
        overflow: visible !important;
    }
    /* Nascondi eventuali scrollbar */
    ::-webkit-scrollbar {
        display: none;
    }
}