/* Ndako Book Styles */
body { 

    font-family: BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif; 
}
.bg-booking-blue { 
    background-color: #003580; 
}
.bg-booking-yellow { 
    background-color: #FEBA02; 
}
.room-card { 
    transition: box-shadow 0.3s ease, transform 0.3s ease; 
}
.room-card:hover { 
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); transform: translateY(-2px); 
}
.room-card .price { 
    transition: opacity 0.3s ease; 
}
.btn-show-prices { 
    transition: background-color 0.3s ease; 
}
.btn-show-prices:hover { 
    background-color: #002b66;
    color: #fff;
}
.flatpickr-calendar { 
    border-radius: 8px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); 
}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange { 
    background: #003580; border-color: #003580; color: white; 
}
.flatpickr-day.unavailable { 
    background: #e6e6e6; color: #999; cursor: not-allowed; 
}
.header-bg { 
    background-image: linear-gradient(rgba(0, 53, 128, 0.7), rgba(0, 53, 128, 0.7)), url('https://images.unsplash.com/photo-1570214476695-19bd467e6f7a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-position: center; 
}
.dropdown-menu { 
    transition: opacity 0.2s ease, transform 0.2s ease; transform: translateY(10px); opacity: 0; pointer-events: none; 
}
.dropdown-menu:not(.hidden) { 
    transform: translateY(0); opacity: 1; pointer-events: auto; 
}
.spinner { 
    border: 4px solid #f3f3f3; border-top: 4px solid #003580; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 20px auto; 
}
@keyframes spin { 
    0% { 
    transform: rotate(0deg); 
} 100% { 
    transform: rotate(360deg); 
} }
.modal { 
    transition: opacity 0.3s ease, transform 0.3s ease; transform: scale(0.95); 
}
.modal:not(.hidden) { 
    transform: scale(1); 
}
.search-form input, .search-form select { 
    color: #1f2937; border-radius: 9999px; transition: border-color 0.3s ease; 
}
.search-form input:focus { 
    border-color: #003580; 
}
.search-form input::placeholder { 
    color: #6b7280; 
}
.search-form input[readonly] { 
    background-color: #f9fafb; cursor: pointer; 
}
.star-rating { 
    color: #FEBA02; 
}
.genius-badge { 
    background-color: #E6F0FA; color: #003580; font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 4px; 
}
.map-modal iframe { 
    width: 100%; height: 400px; border: 0; 
}
.nav-icon { 
    margin-right: 0.5rem; 
}
.fade-out { 
    opacity: 0; transition: opacity 0.2s ease; 
}
.fade-in { 
    animation: fadeIn 0.3s ease-in; 
}
@keyframes fadeIn { 
    from { 
    opacity: 0; transform: translateY(10px); 
} to { 
    opacity: 1; transform: translateY(0); 
} }
.carousel { 
    position: relative; overflow: hidden; 
}
.carousel img { 
    width: 100%; height: 200px; object-fit: cover; border-radius: 8px; 
}
.carousel .arrow { 
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.5); color: white; padding: 10px; cursor: pointer; border-radius: 50%; 
}
.carousel .arrow.left { 
    left: 10px; 
}
.carousel .arrow.right { 
    right: 10px; 
}
.modal-content { 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); border-radius: 12px; 
}
@media (max-width: 640px) {

    .search-form { 
        flex-direction: column; gap: 1rem; 
    }
    .search-form > div { 
        margin-bottom: 0 !important; 
    }
    .header-bg .container { 
        padding-left: 1rem; padding-right: 1rem; 
    }
    .room-card { 
        flex-direction: column; 
    }
    .room-card img { 
        width: 100%; height: 200px; 
    }
    .dropdown-menu { 
        width: 100%; right: 0; 
    }
    .modal-content { 
        flex-direction: column; 
    }
    .carousel img { 
        height: 150px; 
    }
}
@media (min-width: 640px) and (max-width: 1024px) {

    .room-card { 
        flex-direction: row; flex-wrap: wrap; 
    }
    .room-card img { 
        width: 40%; height: 150px; 
    }
    .room-card > div { 
        width: 60%; 
    }
}