/* Stili globali per Park and Fly */


/* Fix per modals Bootstrap */
.park-and-fly-modal-fix .modal {
    position: fixed !important;
    z-index: 2147483647 !important;
}

.park-and-fly-modal-fix .modal-backdrop {
    z-index: 2147483646 !important;
    display: none !important;
}

/* Stili comuni per tutti gli shortcode */
.pf-vehicle-card {
    transition: all 0.3s ease;
}

.pf-vehicle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pf-spot-occupied {
    background-color: #dc3545 !important;
    color: white !important;
}

.pf-spot-free {
    background-color: #28a745 !important;
    color: white !important;
}

.pf-spot-reserved {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

/* Loading spinner */
.pf-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,.1);
    border-radius: 50%;
    border-top-color: #0073aa;
    animation: pf-spin 1s ease-in-out infinite;
}

@keyframes pf-spin {
    to { transform: rotate(360deg); }
}

/* Responsive fixes */
@media (max-width: 768px) {
    .parking-management-dashboard .dashboard-body {
        flex-direction: column;
    }
    
    .pf-vehicle-search-input {
        width: 100% !important;
    }
}
