/* ==========================================================================
   AUTOSALONE AREA RISERVATA - STILI PERSONALIZZATI COMPLETI
   ========================================================================== */

/* RIMOZIONE COMPLETA BORDI ARROTONDATI */
* {
    border-radius: 0 !important;
}

/* Eccezioni per elementi che devono mantenere forme circolari */
.btn-close,
.carousel-control-prev,
.carousel-control-next,
.carousel-indicators button,
.rounded-circle,
.circle {
    border-radius: 50% !important;
}

/* CSS per evitare flickering */
body {
    visibility: hidden;
}

/* Loading overlay durante inizializzazione */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Login Container */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0 !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
}

/* CORREZIONE PRINCIPALE: Dashboard con margini laterali */
#dashboardPage {
    padding: 0 2rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    min-height: 100vh;
}

/* CORREZIONE: Navbar con margini consistenti */
.navbar {
    margin-left: -2rem !important;
    margin-right: -2rem !important;
    padding-left: 4rem !important;
    padding-right: 4rem !important;
}

/* Search Section */
.search-section {
    background: white;
    padding: 2rem;
    border-radius: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.search-section h3 {
    color: #495057;
    margin-bottom: 20px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.results-header {
    margin-top: 1rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* Vehicle Cards - Hide/Show Prices */
.vehicle-card .price-details {
    transition: all 0.3s ease;
}

.vehicle-card .price-details.hidden {
    display: none;
}

.vehicle-card .price-simple {
    display: none;
}

.vehicle-card .price-simple.visible {
    display: block;
}

.vehicle-card {
    transition: transform 0.2s ease-in-out;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 0 !important;
    overflow: hidden;
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.vehicle-card img {
    transition: transform 0.3s ease;
}

.vehicle-card:hover img {
    transform: scale(1.05);
}

/* Price and Badges */
.price-badge {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    border: none;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
    border-radius: 0 !important;
}

.spec-badge {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    font-size: 0.85em;
    transition: background-color 0.3s ease;
    border-radius: 0 !important;
}

.spec-badge:hover {
    background: #e9ecef;
}

.reserved-badge {
    background: #dc3545;
    color: white;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
    border-radius: 0 !important;
}

/* Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Form Controls */
.form-control:focus,
.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control,
.form-select {
    border-radius: 0 !important;
}

/* Buttons */
.btn {
    border-radius: 0 !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
}

.btn-success {
    background: linear-gradient(45deg, #28a745, #1e7e34);
    border: none;
}

.btn-outline-primary {
    border: 2px solid #007bff;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #007bff;
    transform: translateY(-2px);
}

/* ==========================================================================
   MODAL FULLSCREEN CON BORDI LATERALI - CORREZIONE PRINCIPALE
   ========================================================================== */

/* DIALOG FULLSCREEN CON BORDI LATERALI */
.vehicle-detail-modal .modal-dialog {
    max-width: calc(100% - 4rem) !important;
    width: calc(100% - 4rem) !important;
    height: 100vh !important;
    margin: 0 auto !important;
    position: fixed !important;
    top: 0 !important;
    left: 2rem !important;
    right: 2rem !important;
}

.vehicle-detail-modal .modal-content {
    border-radius: 0 !important;
    border: none;
    height: 100vh !important;
    overflow-y: auto;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.vehicle-detail-modal .modal-header {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-bottom: none;
    padding: 1rem 2rem;
    border-radius: 0 !important;
    position: sticky;
    top: 0;
    z-index: 1050;
}

.vehicle-detail-modal .modal-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

.vehicle-detail-modal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem;
    position: sticky;
    bottom: 0;
    z-index: 1050;
    background: #f8f9fa;
    border-radius: 0 !important;
}

/* Nuovo layout a righe per il dettaglio veicolo */
.vehicle-detail-container {
    min-height: calc(100vh - 160px);
}

/* Riga 1: Titolo veicolo */
.vehicle-title-row {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    text-align: center;
    border-bottom: 3px solid #007bff;
}

.vehicle-title-row h1 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    color: #007bff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* TAB SPAZIATI DALL'HEADER */
.vehicle-photos-pricing-row {
    padding-top: 1.5rem !important;
}

.vehicle-photos-row {
    padding: 2rem;
    background: #f8f9fa;
}

.fullscreen-carousel {
    height: 50vh;
    min-height: 400px;
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.fullscreen-carousel .carousel-item {
    height: 100%;
}

.fullscreen-carousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0 !important;
}

.fullscreen-carousel .carousel-control-prev,
.fullscreen-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(0,123,255,0.8);
    border-radius: 50% !important;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.fullscreen-carousel .carousel-control-prev:hover,
.fullscreen-carousel .carousel-control-next:hover {
    background: rgba(0,123,255,1);
    transform: translateY(-50%) scale(1.1);
}

.fullscreen-carousel .carousel-control-prev {
    left: 20px;
}

.fullscreen-carousel .carousel-control-next {
    right: 20px;
}

.fullscreen-carousel .carousel-indicators {
    bottom: 20px;
}

.fullscreen-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50% !important;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.5);
}

.fullscreen-carousel .carousel-indicators button.active {
    background-color: #007bff;
}

/* Elementi comuni per pricing */
.price-listino {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 0 !important;
    padding: 1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.price-listino.collapsed {
    display: none;
}

.toggle-listino-btn {
    background: none;
    border: 1px solid #007bff;
    color: #007bff;
    border-radius: 0 !important;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.toggle-listino-btn:hover {
    background: #007bff;
    color: white;
}

.availability-badge {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0 !important;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.availability-badge.available {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
}

.availability-badge.reserved {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
}

/* COLORI ARANCIONE ELEGANTE - OVERRIDE COMPLETO */
.pricing-card,
.pricing-info-sidebar .pricing-card,
.vehicle-detail-container .pricing-card {
    background: linear-gradient(135deg, #fff8e1, #ffecb3) !important;
    border: 2px solid #ff9800 !important;
    border-radius: 0 !important;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before,
.pricing-info-sidebar .pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #ff9800, #ff5722) !important;
}

.price-main,
.pricing-info-sidebar .price-main {
    font-size: 2rem;
    font-weight: bold;
    color: #e65100 !important;
    margin: 0;
    text-shadow: 0 2px 4px rgba(230, 81, 0, 0.2);
}

/* Riga 3: Prezzi e disponibilità */
.vehicle-pricing-row {
    background: white;
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.pricing-card {
    background: linear-gradient(135deg, #e8f5e8, #d4edda);
    border: 2px solid #28a745;
    border-radius: 0 !important;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #28a745, #20c997);
}

.price-main {
    font-size: 2.5rem;
    font-weight: bold;
    color: #28a745;
    margin: 0;
}

/* Riga 4: Info tecniche veicolo */
.vehicle-specs-row {
    background: #f8f9fa;
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.spec-item {
    background: white;
    padding: 1rem;
    border-radius: 0 !important;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-left-color: #28a745;
}

.spec-item i {
    color: #007bff;
    font-size: 1.2rem;
    margin-right: 0.5rem;
    width: 24px;
    text-align: center;
}

.spec-item strong {
    color: #495057;
    font-weight: 600;
}

/* Riga 5: Informazioni tecniche aggiuntive */
.vehicle-additional-row {
    background: white;
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.additional-info-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0 !important;
    padding: 1.5rem;
}

.additional-info-card h6 {
    color: #007bff;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

/* Riga 6: Optionals con ogni singolo optional bordato */
.vehicle-optionals-row {
    background: #f8f9fa;
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.optionals-container h6 {
    color: #007bff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(45deg, #007bff, #28a745);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.optionals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.optional-item {
    background: white;
    border: 2px solid #007bff;
    border-radius: 0 !important;
    padding: 0.50rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: #495057;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    line-height: 1.4;
}

.optional-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107);
    transition: left 0.5s ease;
}

.optional-item:hover::before {
    left: 0;
}

.optional-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,123,255,0.2);
    border-color: #28a745;
}

/* Riga 7: Note */
.vehicle-notes-row {
    background: white;
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.notes-container {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 0 !important;
    padding: 1.5rem;
    border-left: 5px solid #ffc107;
}

.notes-container h6 {
    color: #856404;
    font-weight: bold;
    margin-bottom: 1rem;
}

.notes-content {
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

/* Empty State */
.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: #6c757d;
}

.empty-state i {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #007bff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alerts */
.alert {
    border: none;
    border-radius: 0 !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.alert-success {
    background: linear-gradient(45deg, #d4edda, #c3e6cb);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(45deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.alert-info {
    background: linear-gradient(45deg, #d1ecf1, #bee5eb);
    color: #0c5460;
}

/* Results Count */
#resultsCount {
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 0 !important;
}

/* === PHOTO TABS STYLES CON SPAZIATURA === */
.photo-tabs {
    margin-top: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.photo-tabs .nav-link {
    font-weight: bold;
    color: #495057;
    border: 1px solid #dee2e6;
    border-bottom: none;
    border-radius: 0 !important;
    margin-right: 5px;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}

.photo-tabs .nav-link:hover {
    background: #f8f9fa;
    color: #007bff;
}

.photo-tabs .nav-link.active {
    background: #007bff !important;
    color: white !important;
    border-color: #007bff;
}

.photo-tabs .nav-link.disabled {
    color: #adb5bd;
    pointer-events: not-allowed;
    opacity: 0.5;
}

/* Mantieni altezza minima per il carousel */
.carousel-inner {
    min-height: 300px;
    display: flex;
    align-items: center;
}

.carousel-item img {
    object-fit: cover;
//    max-height: 50vh;
    width: 100%;
    border-radius: 0 !important;
}

/* Indicatori centrati */
.carousel-indicators {
    bottom: 10px;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.5);
    border: none;
}

.carousel-indicators button.active {
    background: #007bff;
}

/* Control buttons grandi */
.carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 123, 255, 0.8);
    border-radius: 50% !important;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    background: #007bff;
    opacity: 1;
}

/* Badges senza bordi arrotondati */
.badge {
    border-radius: 0 !important;
}

/* Responsive Design CON MARGINI MANTENUTI */
@media (max-width: 1200px) {
    #dashboardPage {
        max-width: 100% !important;
        padding: 0 1.5rem !important;
    }
    
    .navbar {
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
}

@media (max-width: 768px) {
    #dashboardPage {
        padding: 0 1rem !important;
    }
    
    .navbar {
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
    
    /* DIALOG RESPONSIVE */
    .vehicle-detail-modal .modal-dialog {
        max-width: calc(100% - 2rem) !important;
        width: calc(100% - 2rem) !important;
        left: 1rem !important;
        right: 1rem !important;
    }
    
    .vehicle-photos-pricing-row {
        padding-top: 1rem !important;
    }
    
    .photo-tabs {
        margin-top: 0.5rem !important;
    }
    
    .login-card {
        margin: 20px;
    }
    
    .search-section {
        padding: 1rem;
        margin-bottom: 20px;
    }
    
    .vehicle-card {
        margin-bottom: 20px;
    }
    
    .vehicle-detail-modal .modal-body {
        padding: 20px;
    }
    
    .spec-item {
        margin-bottom: 10px;
        text-align: center;
    }
    
    .btn-group-vertical .btn {
        margin-bottom: 10px;
    }
    
    /* Mobile adjustments for modal */
    .vehicle-title-row h1 {
        font-size: 2rem;
    }
    
    .optionals-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .optional-item {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .price-main {
        font-size: 2rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicle-pricing-row,
    .vehicle-specs-row,
    .vehicle-additional-row,
    .vehicle-optionals-row,
    .vehicle-notes-row {
        padding: 1rem;
    }
    
    .fullscreen-carousel {
        height: 40vh;
        min-height: 300px;
    }
    
    .vehicle-photos-row {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    #dashboardPage {
        padding: 0 0.5rem !important;
    }
    
    .navbar {
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* DIALOG MOBILE */
    .vehicle-detail-modal .modal-dialog {
        max-width: calc(100% - 1rem) !important;
        width: calc(100% - 1rem) !important;
        left: 0.5rem !important;
        right: 0.5rem !important;
    }
    
    .navbar-brand {
        font-size: 1.2em;
    }
    
    .search-section .row.g-3 > .col-md-3,
    .search-section .row.g-3 > .col-md-4 {
        margin-bottom: 15px;
    }
    
    .price-badge {
        font-size: 1em;
    }
    
    .spec-badge {
        font-size: 0.75em;
        padding: 4px 8px;
    }
    
    .vehicle-title-row {
        padding: 1rem;
    }
    
    .vehicle-title-row h1 {
        font-size: 1.5rem;
    }
    
    .fullscreen-carousel .carousel-control-prev,
    .fullscreen-carousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .fullscreen-carousel .carousel-control-prev {
        left: 10px;
    }
    
    .fullscreen-carousel .carousel-control-next {
        right: 10px;
    }
    
    .photo-tabs .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    .photo-tabs .nav-link i {
        font-size: 0.9em;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body * {
        visibility: hidden;
    }
    
    #vehicleModal, #vehicleModal * {
        visibility: visible;
    }
    
    #vehicleModal {
        position: static !important;
        background: white !important;
        padding: 0 !important;
    }
    
    .modal-dialog {
        max-width: 100% !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .modal-content {
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    
    .modal-header {
        background: white !important;
        color: black !important;
        border-bottom: 2px solid #333 !important;
        page-break-after: avoid;
    }
    
    .modal-body {
        padding: 20px 0 !important;
    }
    
    .fullscreen-carousel .carousel-control-prev,
    .fullscreen-carousel .carousel-control-next,
    .fullscreen-carousel .carousel-indicators {
        display: none !important;
    }
    
    .fullscreen-carousel .carousel-item {
        display: block !important;
    }
    
    .fullscreen-carousel .carousel-item + .carousel-item {
        display: none !important;
    }
    
    .spec-item {
        border: 1px solid #ddd !important;
        margin-bottom: 5px !important;
        page-break-inside: avoid;
    }
    
    .text-primary {
        color: #333 !important;
    }
    
    .pricing-card {
        border: 2px solid #28a745 !important;
        page-break-inside: avoid;
    }
    
    .fullscreen-carousel .carousel-item img {
        max-height: 200px !important;
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .vehicle-title-row,
    .vehicle-pricing-row,
    .vehicle-specs-row,
    .vehicle-additional-row,
    .vehicle-optionals-row,
    .vehicle-notes-row {
        page-break-inside: avoid;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .search-section {
        background: #343a40;
        border-color: #495057;
        color: #fff;
    }
    
    .search-section h3 {
        color: #fff;
        border-bottom-color: #007bff;
    }
    
    .spec-badge {
        background: #495057;
        border-color: #6c757d;
        color: #fff;
    }
    
    .pricing-card {
        background: linear-gradient(135deg, #495057, #343a40);
    }
    
    .spec-item {
        background: #495057 !important;
        color: #fff;
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.box-shadow-sm {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.box-shadow-lg {
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.border-radius-lg {
    border-radius: 0 !important;
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

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

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}


/* INFO MODAL STYLES */
.info-content {
    padding: 1rem 0;
}

.contact-info .btn {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-numbers {
    background: #f8f9fa;
    padding: 0.75rem;
    margin: 1rem 0;
}

/* CONDIZIONI MODAL STYLES */
.condizioni-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.condizioni-list {
    counter-reset: item;
    padding-left: 0;
}

.condizioni-list li {
    display: block;
    margin: 1rem 0;
    padding: 0.75rem;
    background: #f8f9fa;
    border-left: 4px solid #ffc107;
    position: relative;
    padding-left: 3rem;
}

.condizioni-list li::before {
    content: counter(item);
    counter-increment: item;
    background: #ffc107;
    color: #000;
    font-weight: bold;
    font-size: 0.9rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
}

.condizioni-footer {
    border-top: 2px solid #dee2e6;
    padding-top: 1rem;
}

/* Responsive per mobile */
@media (max-width: 768px) {
    .contact-info .row {
        text-align: center;
    }
    
    .condizioni-list li {
        padding-left: 2.5rem;
        font-size: 0.9rem;
    }
    
    .condizioni-list li::before {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.8rem;
    }
}