/**
 * DeMV Platform - Rentals CSS
 * Specific styles for the rental functionality
 */

/* Floating Compare Button */
.floating-compare-btn {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(157, 78, 221, 0.9);
    color: #e0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.7), 0 0 5px rgba(157, 78, 221, 0.5);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transform: scale(0.8);
    border: 1px solid rgba(157, 78, 221, 0.3);
}

.floating-compare-btn.active {
    opacity: 1;
    transform: scale(1);
}

.floating-compare-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff2a6d;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 42, 109, 0.7);
    border: 1px solid rgba(255, 42, 109, 0.3);
}

.floating-compare-btn i {
    font-size: 24px;
}

/* Rentals Section */
.rentals-section {
    padding: 3rem 0;
}

/* Rentals Controls */
.rentals-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.search-bar {
    display: flex;
    flex: 1;
    max-width: 500px;
    margin-right: 1rem;
}

.search-bar input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-bar button {
    border-radius: 0 4px 4px 0;
    padding: 0.75rem 1.25rem;
}

/* Filter Options - Matching marketplace styling */
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
    width: 100%;
    justify-content: space-between;
    background-color: rgba(18, 18, 30, 0.8);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    flex: 1;
}

.filter-group label {
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: #f0f0f0;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}

.filter-group select {
    padding: 10px 15px;
    border-radius: 6px;
    background-color: rgba(30, 30, 45, 0.8);
    color: #f0f0f0;
    border: 1px solid rgba(108, 99, 255, 0.3);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c63ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

.filter-group select:hover {
    border-color: rgba(108, 99, 255, 0.6);
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.2);
}

.filter-group select:focus {
    border-color: rgba(108, 99, 255, 0.8);
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.3);
}

/* View toggle buttons styling */
.view-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 1rem 0;
}

.view-toggle button {
    background-color: rgba(30, 30, 45, 0.8);
    color: #f0f0f0;
    border: 1px solid rgba(108, 99, 255, 0.3);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.view-toggle button i {
    font-size: 1rem;
}

.view-toggle button.active {
    background-color: rgba(108, 99, 255, 0.2);
    border-color: rgba(108, 99, 255, 0.8);
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.3);
}

.view-toggle button:hover:not(.active) {
    border-color: rgba(108, 99, 255, 0.6);
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.2);
    transform: translateY(-2px);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.sort-options label {
    font-size: 0.9rem;
    color: #f0f0f0;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.sort-options select {
    padding: 10px 15px;
    border-radius: 6px;
    background-color: rgba(30, 30, 45, 0.8);
    color: #f0f0f0;
    border: 1px solid rgba(108, 99, 255, 0.3);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c63ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

.sort-options select:hover {
    border-color: rgba(108, 99, 255, 0.6);
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.2);
}

.sort-options select:focus {
    border-color: rgba(108, 99, 255, 0.8);
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.3);
}

/* Clear Filters Button */
#clear-filters {
    background: linear-gradient(135deg, #6c63ff, #ff6b6b);
    border: 1px solid rgba(108, 99, 255, 0.5);
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#clear-filters::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    z-index: 1;
    transition: all 0.6s ease;
    opacity: 0;
}

#clear-filters:hover::before {
    animation: shine 1.5s infinite;
    opacity: 1;
}

#clear-filters.filter-cleared {
    animation: pulse 0.5s ease;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

@keyframes shine {
    0% {
        left: -100%;
        opacity: 0;
    }
    20% {
        left: 100%;
        opacity: 0.6;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 204, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 255, 204, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 204, 0);
    }
}

/* Rental Listings */
.rental-listings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.rental-listings.list-view {
    grid-template-columns: 1fr;
}

.rental-card {
    background-color: rgba(30, 30, 30, 0.6);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 243, 255, 0.1);
}

.rental-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 243, 255, 0.2);
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.rental-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.rental-image-container img.rental-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.rental-card:hover .rental-image-container img.rental-image {
    transform: scale(1.05);
}

/* Blockchain verification badges for rental cards */
.rental-card .blockchain-badge-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rental-card .blockchain-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 204, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.rental-card .badge-icon {
    color: #00ccff;
    font-size: 14px;
    z-index: 2;
}

.rental-card .badge-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 204, 255, 0.2) 0%, rgba(0, 204, 255, 0) 70%);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.rental-card .blockchain-badge-container.verified .badge-pulse {
    background: radial-gradient(circle, rgba(0, 204, 255, 0.3) 0%, rgba(0, 204, 255, 0) 70%);
}

.rental-card .blockchain-badge-container.pending .badge-pulse {
    background: radial-gradient(circle, rgba(255, 204, 0, 0.3) 0%, rgba(255, 204, 0, 0) 70%);
}

.rental-card .blockchain-badge-container.failed .badge-pulse {
    background: radial-gradient(circle, rgba(255, 51, 51, 0.3) 0%, rgba(255, 51, 51, 0) 70%);
}

.rental-card .blockchain-badge-container.pending .badge-icon {
    color: #ffcc00;
}

.rental-card .blockchain-badge-container.failed .badge-icon {
    color: #ff3333;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

.featured-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 243, 255, 0.8);
    color: #121212;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.rental-details {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rental-title {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #f0f0f0;
}

.rental-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #00ffcc;
    margin-bottom: 10px;
}

.rental-location {
    color: #aaaaaa;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.rental-location i {
    margin-right: 5px;
    color: #00ffcc;
}

.rental-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.feature-tag {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 204, 0.3);
    color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.vehicle-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.btn.btn-primary.book-now-btn {
    background-color: rgba(15, 15, 25, 0.7);
    border: 1px solid #00f3ff;
    color: #00f3ff;
    box-shadow: 0 0 5px rgba(0, 243, 255, 0.3);
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn.btn-primary.book-now-btn:hover {
    background-color: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5), 0 0 5px rgba(0, 243, 255, 0.3);
    transform: translateY(-2px);
}

.btn.btn-secondary.add-to-compare {
    background-color: rgba(15, 15, 25, 0.7);
    border: 1px solid #9d4edd;
    color: #9d4edd;
    box-shadow: 0 0 5px rgba(157, 78, 221, 0.3);
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn.btn-secondary.add-to-compare:hover {
    background-color: rgba(157, 78, 221, 0.1);
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.5), 0 0 5px rgba(157, 78, 221, 0.3);
    transform: translateY(-2px);
}

/* Rental Details Modal */
.rental-details-header {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: darken;
}

.rental-details-header h2 {
    margin: 0;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.rental-details-header p {
    margin: 0.5rem 0 0 0;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.rental-details-body {
    padding: 1.5rem;
}

.rental-details-price {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.rental-details-price .per-day {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-muted);
}

.rental-details-section {
    margin-bottom: 1.5rem;
}

.rental-details-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
}

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

.rental-spec {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rental-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
}

.rental-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.rental-details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.rental-details-actions button {
    flex: 1;
    min-width: 150px;
}

/* Vehicle Details Modal Styles */
.vehicle-details-content {
    max-width: 900px;
    width: 90%;
    background-color: rgba(20, 20, 30, 0.95);
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
}

.vehicle-details-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.vehicle-details-image-container {
    flex: 1;
    min-width: 300px;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.vehicle-details-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-details-image:hover {
    transform: scale(1.05);
}

.vehicle-details-info {
    flex: 1;
    min-width: 300px;
}

.vehicle-details-meta {
    margin-bottom: 15px;
}

.vehicle-details-price {
    font-size: 1.5rem;
    color: #00ffcc;
    font-weight: 600;
    margin-bottom: 10px;
}

.vehicle-details-location {
    color: #aaaaaa;
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.vehicle-details-location i {
    margin-right: 5px;
    color: #00ffcc;
}

.vehicle-details-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.vehicle-details-info-grid .info-item {
    display: flex;
    flex-direction: column;
}

.vehicle-details-info-grid .info-label {
    font-size: 0.8rem;
    color: #aaaaaa;
    margin-bottom: 5px;
}

.vehicle-details-info-grid .info-value {
    font-size: 1rem;
    color: #f0f0f0;
    font-weight: 500;
}

.vehicle-details-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.vehicle-details-features .feature-tag {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 204, 0.3);
    color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.vehicle-details-description {
    color: #f0f0f0;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.vehicle-image-gallery {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.vehicle-image-gallery img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vehicle-image-gallery img:hover {
    transform: scale(1.05);
    border-color: rgba(0, 243, 255, 0.7);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.vehicle-details-history {
    margin-bottom: 20px;
}

.vehicle-details-history h4 {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
    padding-bottom: 5px;
}

.vehicle-details-history ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vehicle-details-history li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
    font-size: 0.9rem;
}

.vehicle-details-history li:last-child {
    border-bottom: none;
}

.vehicle-details-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Rental Info Badge */
.rental-info-badge {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding: 10px 15px;
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.1), rgba(0, 204, 255, 0.05));
    border: 1px solid rgba(0, 204, 255, 0.3);
    border-radius: 5px;
    color: #e0f7ff;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.rental-info-badge i {
    margin-right: 8px;
    color: #00ccff;
    font-size: 16px;
}

.rental-info-badge .highlight-link {
    color: #00ccff;
    text-decoration: none;
    font-weight: 600;
    margin: 0 4px;
    position: relative;
    transition: all 0.3s ease;
}

.rental-info-badge .highlight-link:hover {
    text-shadow: 0 0 8px rgba(0, 204, 255, 0.8);
}

.rental-info-badge .highlight-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #00ccff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.rental-info-badge .highlight-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Verified Badge */
.verified-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(57, 255, 20, 0.8);
    color: #121212;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.verified-badge i {
    color: #121212;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vehicle-details-container {
        flex-direction: column;
    }
    
    .vehicle-details-image-container {
        height: 200px;
    }
    
    .vehicle-details-actions {
        flex-direction: column;
    }
    
    .vehicle-details-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Booking Modal */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.booking-vehicle {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.booking-vehicle-image {
    width: 100px;
    height: 70px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.booking-vehicle-details h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.2rem;
}

.booking-vehicle-details p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.booking-dates h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.booking-date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.booking-date-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.booking-date-group label {
    font-size: 0.9rem;
    font-weight: 600;
}

.date-input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.date-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0.5rem 0 0 0;
}

.booking-summary h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.booking-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.booking-summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.booking-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.booking-actions button {
    flex: 1;
}

/* Booking Confirmation */
.booking-confirmation-modal {
    background-color: rgba(0, 0, 0, 0.8);
}

.booking-confirmation {
    max-width: 600px;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
}

.booking-confirmation-header {
    background-color: var(--success-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.booking-confirmation-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.booking-details {
    padding: 1.5rem;
}

.booking-vehicle {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vehicle-image {
    width: 120px;
    height: 90px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    position: relative;
}

.verified-badge-large {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: var(--success-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.vehicle-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.vehicle-location {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.booking-dates {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.date-group h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.date-group p {
    margin: 0;
    font-weight: 600;
}

.date-divider {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.price-breakdown {
    margin-bottom: 1.5rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.price-item.total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.booking-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.booking-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.booking-note p {
    margin: 0.5rem 0;
}

/* Rental Comparison */
.rental-comparison-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(15, 15, 25, 0.9);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(157, 78, 221, 0.3);
    z-index: 998;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    transform: translateY(100%);
    opacity: 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow: hidden;
    border-top: 1px solid rgba(157, 78, 221, 0.5);
    border-left: 1px solid rgba(157, 78, 221, 0.3);
    border-right: 1px solid rgba(157, 78, 221, 0.3);
}

.rental-comparison-container:not(.hidden) {
    transform: translateY(0);
    opacity: 1;
}

.rental-comparison-container.hidden {
    transform: translateY(100%);
    opacity: 0;
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(157, 78, 221, 0.3);
    background-color: rgba(20, 20, 35, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.comparison-title {
    display: flex;
    flex-direction: column;
}

.comparison-title h3 {
    margin: 0;
    font-size: 18px;
    color: #e0f7ff;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(157, 78, 221, 0.7);
    letter-spacing: 0.5px;
}

.comparison-count {
    font-size: 14px;
    color: rgba(224, 247, 255, 0.7);
    margin-top: 4px;
}

.comparison-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-actions button {
    background-color: rgba(15, 15, 25, 0.7);
    border: 1px solid rgba(157, 78, 221, 0.3);
    color: #e0f7ff;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.comparison-actions button:hover {
    border-color: rgba(157, 78, 221, 0.8);
}

.comparison-actions .btn-primary {
    background-color: rgba(157, 78, 221, 0.2);
    border-color: rgba(157, 78, 221, 0.5);
}

.comparison-actions .btn-primary:hover {
    background-color: rgba(157, 78, 221, 0.4);
}

.comparison-actions .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.comparison-items {
    display: flex;
    padding: 20px;
    gap: 20px;
    overflow-x: auto;
    max-height: 250px;
    scrollbar-width: thin;
    scrollbar-color: rgba(157, 78, 221, 0.5) rgba(15, 15, 25, 0.3);
    background-color: rgba(15, 15, 25, 0.7);
}

.comparison-items::-webkit-scrollbar {
    height: 8px;
}

.comparison-items::-webkit-scrollbar-track {
    background: rgba(15, 15, 25, 0.3);
    border-radius: 4px;
}

.comparison-items::-webkit-scrollbar-thumb {
    background-color: rgba(157, 78, 221, 0.5);
    border-radius: 4px;
    border: 2px solid rgba(15, 15, 25, 0.3);
}

.comparison-item {
    flex: 0 0 200px;
    background-color: rgba(30, 30, 45, 0.7);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(157, 78, 221, 0.3);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.comparison-item:hover {
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
    border-color: rgba(157, 78, 221, 0.6);
}

.comparison-item-image {
    height: 120px;
    overflow: hidden;
}

.comparison-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-item-info {
    padding: 12px;
}

.comparison-item-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #e0f7ff;
    font-weight: 600;
}

.comparison-item-price {
    font-size: 14px;
    color: #ff2a6d;
    margin: 0;
    font-weight: 500;
}

.remove-from-comparison {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(15, 15, 25, 0.7);
    border: 1px solid rgba(255, 42, 109, 0.5);
    color: #ff2a6d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    opacity: 0.7;
}

.comparison-item:hover .remove-from-comparison {
    opacity: 1;
}

.remove-from-comparison:hover {
    background-color: rgba(255, 42, 109, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 8px rgba(255, 42, 109, 0.7);
}

/* Comparison Modal */
.comparison-content {
    max-width: 90%;
    width: 1200px;
    max-height: 90vh;
    background-color: rgba(15, 15, 25, 0.95);
    border: 1px solid rgba(157, 78, 221, 0.5);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.comparison-content .modal-header {
    background-color: rgba(20, 20, 35, 0.95);
    border-bottom: 2px solid rgba(157, 78, 221, 0.5);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.comparison-content .modal-header h2 {
    color: #ff2a6d;
    text-shadow: none;
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    text-align: center;
    width: 100%;
}

.comparison-content .modal-body {
    padding: 20px;
    overflow-x: auto;
    max-height: calc(90vh - 70px);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: #e0f7ff;
    font-size: 14px;
    overflow: hidden;
    border-radius: 8px;
    background-color: rgba(30, 30, 45, 0.5);
}

.comparison-table th,
.comparison-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(157, 78, 221, 0.3);
}

.comparison-table th {
    background-color: rgba(20, 20, 35, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    color: #ff2a6d;
    position: sticky;
    top: 0;
    z-index: 10;
}

.comparison-table th:first-child {
    width: 150px;
    background-color: rgba(15, 15, 25, 0.9);
}

.comparison-table tr:nth-child(odd) td {
    background-color: rgba(30, 30, 45, 0.7);
}

.comparison-table tr:nth-child(even) td {
    background-color: rgba(25, 25, 40, 0.7);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: #ff2a6d;
    background-color: rgba(15, 15, 25, 0.8) !important;
    position: sticky;
    left: 0;
    z-index: 5;
}

.comparison-table img {
    max-width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(157, 78, 221, 0.3);
}

.comparison-table .highlight-different {
    border-bottom: 2px solid #ff2a6d;
}

/* Responsive styles for comparison table */
@media (max-width: 768px) {
    .comparison-content {
        width: 95%;
    }
    
    .comparison-table {
        font-size: 12px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
    }
    
    .comparison-table img {
        max-width: 120px;
        height: 80px;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    opacity: 1;
    visibility: visible;
}

.modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-content {
    background-color: rgba(25, 25, 40, 0.95);
    border-radius: 10px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(157, 78, 221, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(157, 78, 221, 0.3);
    background-color: rgba(20, 20, 35, 0.9);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #e0f7ff;
    text-shadow: 0 0 8px rgba(157, 78, 221, 0.5);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: rgba(224, 247, 255, 0.7);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: #ff2a6d;
}

.modal-body {
    padding: 20px;
}

/* Toast and Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.toast {
    background-color: var(--card-bg);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.toast-header i {
    margin-right: 0.5rem;
}

.toast-header strong {
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-muted);
}

.toast-body {
    padding: 0.75rem 1rem;
}

.toast-success .toast-header {
    background-color: var(--success-color);
    color: white;
}

.toast-error .toast-header {
    background-color: var(--error-color);
    color: white;
}

.toast-warning .toast-header {
    background-color: var(--warning-color);
    color: white;
}

.toast-info .toast-header {
    background-color: var(--info-color);
    color: white;
}

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 350px;
}

.notification {
    display: flex;
    align-items: flex-start;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    overflow: hidden;
    animation: slideIn 0.3s ease forwards;
    border-left: 4px solid var(--accent-color);
    padding: 12px;
}

.notification-success {
    border-left-color: var(--success-color);
}

.notification-error {
    border-left-color: var(--error-color);
}

.notification-warning {
    border-left-color: var(--warning-color);
}

.notification-info {
    border-left-color: var(--info-color);
}

.notification-price-drop {
    border-left-color: var(--accent-color);
}

.notification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.notification-success .notification-icon {
    color: var(--success-color);
}

.notification-error .notification-icon {
    color: var(--error-color);
}

.notification-warning .notification-icon {
    color: var(--warning-color);
}

.notification-info .notification-icon {
    color: var(--info-color);
}

.notification-price-drop .notification-icon {
    color: var(--accent-color);
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.notification-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    border-radius: 4px;
}

.notification-close:hover {
    background-color: var(--hover-bg);
    color: var(--text-color);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Real-time Test Button and Menu */
.test-realtime-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.test-realtime-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.realtime-test-menu {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    width: 250px;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.realtime-test-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.realtime-test-menu-header h4 {
    margin: 0;
    font-size: 1rem;
}

.realtime-test-menu-header .close-menu {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    padding: 4px;
    border-radius: 4px;
}

.realtime-test-menu-header .close-menu:hover {
    background-color: var(--border-color);
}

.realtime-test-menu-items {
    display: flex;
    flex-direction: column;
    padding: 8px;
}

.realtime-test-menu-items button {
    background: none;
    border: none;
    text-align: left;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: var(--text-color);
}

.realtime-test-menu-items button:hover {
    background-color: var(--hover-bg);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .rentals-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-bar {
        max-width: none;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .filter-controls {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .filter-select {
        flex: 0 0 auto;
    }
    
    .view-toggle {
        margin-left: 0;
    }
    
    .booking-date-inputs {
        grid-template-columns: 1fr;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .rental-details-actions {
        flex-direction: column;
    }
    
    .booking-dates {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .rental-listings {
        grid-template-columns: 1fr;
    }
    
    .rental-image {
        height: 150px;
    }
    
    .booking-vehicle {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .booking-vehicle-image {
        width: 100%;
        height: 120px;
        margin-bottom: 0.5rem;
    }
}

/* No Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.no-results i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.no-results h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.no-results p {
    margin: 0 0 1.5rem 0;
    color: var(--text-muted);
}

/* Features Section */
.features {
    padding: 3rem 0;
    text-align: center;
}

.section-title {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-card h4 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    color: var(--text-color);
}

.feature-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
}

.page-item {
    margin: 0 0.25rem;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-item.disabled .page-link {
    color: var(--text-muted);
    cursor: not-allowed;
}

.page-link:hover:not(.page-item.disabled .page-link) {
    background-color: var(--hover-bg);
}

/* Comparison Vehicle Header */
.comparison-vehicle-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
}

.comparison-vehicle-image {
    width: 120px;
    height: 80px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.comparison-vehicle-header h4 {
    margin: 0 0 5px;
    font-size: 1rem;
    color: var(--text-color, #333);
}

.comparison-vehicle-header .price {
    font-weight: 600;
    color: var(--primary-color, #4285f4);
    font-size: 0.9rem;
}

/* Feature List in Comparison */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 3px 0;
    position: relative;
    padding-left: 20px;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color, #28a745);
}

/* Add to Compare Button */
.add-to-compare {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-light, #f8f9fa);
    border: 1px solid var(--border-color, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-muted, #6c757d);
}

.add-to-compare:hover {
    background-color: var(--primary-color-light, #e8f0fe);
    color: var(--primary-color, #4285f4);
    transform: translateY(-2px);
}

.add-to-compare.active {
    background-color: var(--primary-color, #4285f4);
    color: white;
    border-color: var(--primary-color, #4285f4);
}

/* Test Badge */
.test-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 10px rgba(108, 99, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 20px rgba(108, 99, 255, 0.9);
    }
    100% {
        box-shadow: 0 0 10px rgba(108, 99, 255, 0.7);
    }
}

/* Highlight for test rentals */
.highlight-test-rental {
    animation: highlight-pulse 2s infinite;
    border: 2px solid var(--neon-purple) !important;
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.7) !important;
    transform: scale(1.02);
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
}

@keyframes highlight-pulse {
    0% {
        box-shadow: 0 0 15px rgba(108, 99, 255, 0.7) !important;
    }
    50% {
        box-shadow: 0 0 25px rgba(108, 99, 255, 0.9) !important;
    }
    100% {
        box-shadow: 0 0 15px rgba(108, 99, 255, 0.7) !important;
    }
}

/* Debug rental styling */
.debug-rental {
    border: 1px solid #ccc; 
    padding: 15px; 
    margin-bottom: 15px; 
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.debug-rental h4 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.debug-rental p {
    margin: 5px 0;
}

.debug-rental strong {
    color: #555;
}

.debug-rental img {
    margin-top: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Vehicle Cards (Marketplace Style) */
.vehicle-card {
    background-color: var(--card-bg, #fff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.vehicle-image {
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    background-color: #f0f0f0; /* Slightly darker background to blend better */
}

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

.vehicle-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 40%);
    pointer-events: none;
}

.verified-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--success-color, #28a745);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.vehicle-info {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: var(--text-color, #333);
}

.vehicle-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color, #4285f4);
    margin-bottom: 0.75rem;
}

.vehicle-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.vehicle-details span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-secondary, #666);
    background-color: var(--bg-light, #f5f5f5);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
}

.vehicle-details i {
    color: var(--primary-color, #4285f4);
}

.vehicle-description {
    margin: 0.75rem 0 1.25rem;
    font-size: 0.95rem;
    color: var(--text-secondary, #666);
    line-height: 1.5;
    flex-grow: 1;
}

.vehicle-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.vehicle-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color, #4285f4);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark, #3367d6);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-light, #f5f5f5);
    color: var(--text-color, #333);
    border: 1px solid var(--border-color, #e0e0e0);
}

.btn-secondary:hover {
    background-color: var(--bg-light-hover, #e8e8e8);
}

/* Grid View */
.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .grid-view {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .vehicle-image {
        height: 200px; /* Adjusted for smaller screens */
    }
    
    .vehicle-actions {
        flex-direction: column;
    }
}

.rental-card {
    height: 100%;
}

/* Booking Modal Styles */
.booking-content {
    max-width: 800px;
    width: 90%;
    background-color: rgba(20, 20, 30, 0.95);
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
}

.booking-vehicle-info {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    padding-bottom: 20px;
}

.booking-vehicle-image-container {
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    margin-right: 20px;
}

.booking-vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-vehicle-details {
    flex: 1;
}

.booking-vehicle-name {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    color: #f0f0f0;
}

.booking-vehicle-price {
    font-size: 1.3rem;
    color: #00ffcc;
    font-weight: 600;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #f0f0f0;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    background-color: rgba(30, 30, 40, 0.8);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 4px;
    color: #f0f0f0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: rgba(0, 243, 255, 0.7);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
    outline: none;
}

/* Option Buttons */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hidden-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-button {
    background-color: rgba(30, 30, 40, 0.8);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
    color: #f0f0f0;
    display: flex;
    align-items: center;
}

.option-button:hover {
    background-color: rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 0 10px rgba(0, 243, 255, 0.2);
}

.option-button.selected {
    background-color: rgba(0, 243, 255, 0.15);
    border-color: rgba(0, 243, 255, 0.7);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.option-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.option-status {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(0, 243, 255, 0.5);
    margin-right: 10px;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.option-button.selected .option-status::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #00ffcc;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px rgba(0, 255, 204, 0.7);
}

.option-price {
    margin-left: auto;
    color: #00ffcc;
    font-weight: 500;
}

/* Booking Summary */
.booking-summary {
    background-color: rgba(20, 20, 30, 0.7);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 4px;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.booking-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #f0f0f0;
}

.booking-summary-item.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 243, 255, 0.3);
    font-weight: 600;
    font-size: 1.1rem;
}

.booking-summary-item.total span:last-child {
    color: #00ffcc;
    font-size: 1.2rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}

.btn-secondary {
    background-color: rgba(30, 30, 40, 0.8);
    color: #f0f0f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(50, 50, 60, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-success {
    background: linear-gradient(135deg, #05d895, #00ffcc);
    color: #121212;
    border: 1px solid rgba(0, 255, 204, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #00ffcc, #05d895);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 255, 204, 0.2);
}

/* Flatpickr customization */
.flatpickr-calendar {
    background-color: rgba(20, 20, 30, 0.95) !important;
    border: 1px solid rgba(0, 243, 255, 0.3) !important;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2) !important;
}

.flatpickr-day {
    color: #f0f0f0 !important;
}

.flatpickr-day.selected {
    background: #00ffcc !important;
    border-color: #00ffcc !important;
    color: #121212 !important;
}

.flatpickr-day:hover {
    background: rgba(0, 255, 204, 0.2) !important;
}

.flatpickr-months .flatpickr-month {
    color: #f0f0f0 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background-color: rgba(30, 30, 40, 0.8) !important;
}
