/* Parking Search and Detail Custom Styles */

.parking-detail-sec {
    padding: 60px 0;
}

.parking-images .main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.thumbnail-images img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.thumbnail-images img:hover {
    opacity: 0.8;
}

.parking-meta {
    margin: 15px 0;
}

.parking-meta .badge {
    margin-right: 10px;
    padding: 5px 12px;
    font-size: 12px;
}

.pricing-info .price-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 15px;
}

.pricing-info .price-card h4 {
    color: #007bff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.amenity-tag {
    background: #e9ecef;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    color: #495057;
}

.booking-sidebar {
    position: sticky;
    top: 20px;
}

.booking-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.booking-card h3 {
    margin-bottom: 20px;
    color: #333;
}

.host-info, .space-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.similar-spaces {
    background: #f8f9fa;
    padding: 60px 0;
}

.pkg-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

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

.pkg-card .pkg-img {
    height: 200px;
    overflow: hidden;
}

.pkg-card .pkg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pkg-card .pkg-txt {
    padding: 15px;
}

.pkg-card .pkg-txt h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 3px;
    color: #333;
}

.pkg-card .pkg-txt p {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.3;
}

.pkg-card .pkg-txt div {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.pkg-card .pkg-txt div img,
.pkg-card .pkg-txt div i {
    margin-right: 8px;
    width: 16px;
}

.space-type {
    margin: 10px 0;
}

.space-type .badge {
    margin-right: 5px;
    font-size: 11px;
}

.card-actions {
    display: flex;
    gap: 10px;
}

.card-actions .theme_btn {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    font-size: 12px;
}

.no-results {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 40px;
}

.search-park-main-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.filter-datetime {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.filter-datetime label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.pagination-wrapper {
    margin-top: 40px;
}

.pagination-wrapper .pagination {
    justify-content: center;
}

@media (max-width: 768px) {
    .parking-detail-sec {
        padding: 30px 0;
    }

    .booking-sidebar {
        position: static;
        margin-top: 30px;
    }

    .card-actions {
        flex-direction: column;
    }

    .search-park-main-box {
        padding: 20px;
    }
}

/* Additional styles for parking detail page */
.space-badges .badge {
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 11px;
    padding: 4px 8px;
}

.additional-photos h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.thumbnail-photo {
    height: 60px;
    object-fit: cover;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail-photo:hover {
    border-color: #007bff;
}

.host-info-section h5 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.amenities-section .amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.amenity-tag {
    background: #e9ecef;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    color: #495057;
}

.instructions-section .instructions-list {
    padding-left: 20px;
    font-size: 14px;
}

.instructions-section .instructions-list li {
    margin-bottom: 5px;
}

.quick-booking {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

#map {
    border: 1px solid #dee2e6;
}

/* Mobile responsive updates */
@media (max-width: 768px) {
    .additional-photos .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .quick-booking .row .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }
}
/* Location button styles */
.location-btn {
    background: #007bff;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.location-btn:hover {
    background: #0056b3;
}

.location-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.search-btn {
    position: relative;
    display: flex;
    align-items: center;
}

.search-btn .location-btn {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 10px;
    font-size: 12px;
}

/* Additional filters styling */
.additional-filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.additional-filters label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    font-size: 14px;
}

.additional-filters .form-control {
    font-size: 14px;
    padding: 8px 12px;
}

/* Distance display in search results */
.distance-info {
    color: #6c757d;
    font-size: 12px;
    margin-top: 5px;
}

.distance-info i {
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-btn .location-btn {
        position: static;
        margin-left: 10px;
        margin-top: 10px;
        transform: none;
    }

    .additional-filters .col-md-3 {
        margin-bottom: 15px;
    }
}
/* Reduce spacing in parking detail page */
.finding_space_card .pkg-txt {
    padding: 15px !important;
}

.finding_space_card .pkg-txt p {
    margin-bottom: 5px !important;
    line-height: 1.3 !important;
}

.finding_space_card .pkg-txt div {
    margin-bottom: 4px !important;
}

.finding_space_card .pkg-txt .finding_space_p {
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
}

/* Reduce spacing in host info and amenities sections */
.host-info-section h5 {
    margin-bottom: 3px !important;
}

.host-info-section p {
    margin-bottom: 5px !important;
}

.amenities-section h5 {
    margin-bottom: 5px !important;
}

.instructions-section h5 {
    margin-bottom: 5px !important;
}

.instructions-section .instructions-list li {
    margin-bottom: 2px !important;
}

/* Reduce spacing in space badges */
.space-badges {
    margin-top: 5px !important;
    margin-bottom: 8px !important;
}

.space-badges .badge {
    margin-bottom: 3px !important;
}

/* Reduce spacing in quick booking form */
.quick-booking {
    padding: 12px !important;
    margin-top: 10px !important;
}

.quick-booking .row {
    margin-bottom: 8px !important;
}

/* Compact distance info */
.distance-info {
    margin-top: 2px !important;
    margin-bottom: 5px !important;
}

/* Reduce button spacing */
.pkg-card .pkg-txt .theme_btn {
    margin-top: 8px !important;
    margin-right: 5px !important;
    margin-bottom: 3px !important;
}

.pkg-card .pkg-txt .more_btn {
    margin-top: 8px !important;
    margin-bottom: 3px !important;
}
/* Compact additional photos section */
.additional-photos {
    margin-top: 15px !important;
}

.additional-photos h4 {
    font-size: 14px !important;
    margin-bottom: 8px !important;
}

.additional-photos .row {
    margin-bottom: 0 !important;
}

.additional-photos .col-3 {
    padding: 2px !important;
}

/* Compact main parking space details */
.finding_space_left .pkg-card .pkg-txt p:first-child {
    font-weight: bold !important;
    margin-bottom: 8px !important;
}

/* Reduce overall card padding on detail page */
.finding_space .pkg-card {
    margin-bottom: 15px !important;
}

/* Compact form elements in detail page */
.quick-booking .form-control-sm {
    padding: 6px 10px !important;
    font-size: 13px !important;
}

.quick-booking .theme_btn {
    padding: 8px 15px !important;
    font-size: 13px !important;
}
