/* Rent A Car Plugin Styles */

/* Force 4-column layout - Override any conflicting styles */
.rac-cars-grid,
div.rac-cars-grid,
.rac-car-listing .rac-cars-grid,
body .rac-cars-grid,
html .rac-cars-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin-top: 30px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    flex: none !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
}

/* Force specs grid to display in one row */
.rac-specs-grid,
div.rac-specs-grid,
.rac-car-item .rac-specs-grid,
body .rac-specs-grid,
html .rac-specs-grid {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 15px !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Force spec items to be equal width */
.rac-spec-item,
div.rac-spec-item,
.rac-specs-grid .rac-spec-item,
body .rac-spec-item,
html .rac-spec-item {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 0.9rem !important;
    color: #555 !important;
    text-align: center !important;
    min-width: 0 !important;
    max-width: none !important;
}

.rac-car-item,
div.rac-car-item,
.rac-cars-grid .rac-car-item,
body .rac-car-item,
html .rac-car-item {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
    flex: none !important;
    float: none !important;
    clear: none !important;
}

/* Auth Form Styles */
.rac-auth-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.rac-auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.rac-tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.rac-tab-btn.active {
    color: #007cba;
    border-bottom: 2px solid #007cba;
    margin-bottom: -2px;
}

.rac-tab-btn:hover {
    color: #007cba;
}

.rac-tab-content {
    display: none;
}

.rac-tab-content.active {
    display: block;
}

.rac-form-group {
    margin-bottom: 20px;
}

.rac-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.rac-form-group input,
.rac-form-group select,
.rac-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.rac-form-group input:focus,
.rac-form-group select:focus,
.rac-form-group textarea:focus {
    outline: none;
    border-color: #007cba;
}

.rac-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #007cba;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rac-btn:hover {
    background: #005a87;
    color: #fff;
}

.rac-btn-primary {
    background: #007cba;
}

.rac-btn-primary:hover {
    background: #005a87;
}

.rac-btn-secondary {
    background: #6c757d;
}

.rac-btn-secondary:hover {
    background: #545b62;
}

.rac-btn-danger {
    background: #dc3545;
}

.rac-btn-danger:hover {
    background: #c82333;
}

.rac-btn-logout {
    background: #dc3545;
}

.rac-btn-logout:hover {
    background: #c82333;
}

.rac-btn-book {
    background: #28a745;
}

.rac-btn-book:hover {
    background: #218838;
}

.rac-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none;
}

.rac-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.rac-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.rac-welcome-message {
    text-align: center;
    padding: 30px;
}

.rac-welcome-message h3 {
    color: #007cba;
    margin-bottom: 10px;
}

/* Vendor Profile Styles */
.rac-vendor-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.rac-profile-header {
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
}

.rac-profile-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.rac-profile-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.rac-profile-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.rac-profile-form-container {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.rac-form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.rac-form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.rac-form-section h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007cba;
    display: inline-block;
}

.rac-logo-upload-container {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.rac-logo-preview {
    width: 120px;
    height: 120px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f9fa;
}

.rac-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.rac-logo-placeholder {
    text-align: center;
    color: #666;
}

.rac-logo-placeholder i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.rac-logo-upload {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rac-upload-info {
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

.rac-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.rac-profile-preview {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
}

.rac-profile-preview h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.rac-preview-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.rac-preview-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.rac-preview-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rac-preview-placeholder {
    color: #ccc;
    font-size: 2rem;
}

.rac-preview-info h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.rac-preview-info p {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* Car Listing Enhanced Styles */
.rac-car-listing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100% !important;
    min-width: 1000px !important;
    box-sizing: border-box !important;
}

/* Ensure parent containers don't limit width */
.rac-car-listing,
body .rac-car-listing,
html .rac-car-listing,
.entry-content .rac-car-listing,
.main-content .rac-car-listing,
.container .rac-car-listing {
    width: 100% !important;
    max-width: none !important;
    min-width: 1000px !important;
    box-sizing: border-box !important;
}

.rac-filters {
    margin-bottom: 30px;
    text-align: center;
}

.rac-city-filter {
    padding: 12px 20px;
    border: 2px solid #007cba;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    min-width: 200px;
    cursor: pointer;
}

.rac-cars-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin-top: 30px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.rac-car-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.rac-car-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.rac-car-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.rac-car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rac-car-item:hover .rac-car-image img {
    transform: scale(1.05);
}

.rac-car-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.rac-car-details {
    padding: 25px;
}

.rac-car-header h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #333;
}

.rac-car-header h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rac-car-header h3 a:hover {
    color: #007cba;
}

.rac-car-subtitle {
    color: #666;
    font-size: 0.85rem;
    margin: 0 0 20px 0;
}

.rac-car-specs {
    margin-bottom: 20px;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.rac-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.rac-specs-grid .rac-spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
}

.rac-specs-grid .rac-spec-item i {
    color: #007cba;
    font-size: 16px;
}

.rac-car-features {
    margin-bottom: 20px;
}

.rac-car-features h4 {
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    color: #333;
}

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

.rac-feature-item {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rac-feature-item i {
    font-size: 12px;
}

.rac-car-pricing {
    margin-bottom: 10px;
    padding: 10px 0;
    background: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rac-car-pricing .rac-price-label {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 2px 0 8px;
}

.rac-car-pricing .rac-price-value {
    font-size: 1rem;
    font-weight: 500;
    margin-right: 8px;
}

.rac-car-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9rem;
}

.rac-car-location i {
    color: #007cba;
}

.rac-car-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rac-btn-whatsapp {
    background: #25d366 !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rac-btn-whatsapp:hover {
    background: #128c7e !important;
}

.rac-btn-whatsapp i {
    font-size: 16px;
}

.rac-no-cars {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.1rem;
}

/* Vendor Dashboard Styles */
.rac-vendor-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.rac-dashboard-header {
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
}

.rac-dashboard-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.rac-dashboard-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.rac-dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.rac-dashboard-main {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.rac-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.rac-stat-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
}

.rac-stat-item h3 {
    margin-bottom: 10px;
    font-size: 1rem;
    opacity: 0.9;
}

.rac-stat-item p {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.rac-dashboard-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.rac-dashboard-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
}

.rac-profile-summary h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.rac-profile-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rac-profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rac-profile-info p {
    margin-bottom: 10px;
    color: #666;
}

.rac-profile-info strong {
    color: #333;
}

.rac-profile-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.rac-profile-notice p {
    margin-bottom: 15px;
    color: #856404;
}

/* Error Message */
.rac-error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    margin: 20px 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .rac-cars-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .rac-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 900px) {
    .rac-cars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .rac-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .rac-auth-container {
        margin: 10px;
        padding: 15px;
    }
    
    .rac-cars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rac-dashboard-actions {
        flex-direction: column;
    }
    
    .rac-dashboard-actions .rac-btn {
        text-align: center;
    }
    
    .rac-profile-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rac-dashboard-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rac-logo-upload-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .rac-form-actions {
        flex-direction: column;
    }
    
    .rac-profile-header h2 {
        font-size: 2rem;
    }
    
    .rac-dashboard-header h2 {
        font-size: 2rem;
    }
    
    .rac-car-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rac-pricing-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .rac-car-actions {
        flex-direction: column;
    }
    
    .rac-car-details {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .rac-car-listing {
        padding: 10px;
    }
    
    .rac-car-details {
        padding: 15px;
    }
    
    .rac-features-list {
        flex-direction: column;
    }
    
    .rac-specs-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

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

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

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

.rac-features-two-rows {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 420px;
}
.rac-features-two-rows .rac-feature-item {
    flex: 0 1 48%;
    margin-bottom: 4px;
}
.rac-car-header h1 {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 10px;
}
.rac-car-pricing {
    font-size: 1rem;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

/* Booking Form Styles */
.rac-booking-form {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
    position: relative; /* For debugging */
}

.rac-booking-form::before {
    content: 'Booking Form Loaded';
    position: absolute;
    top: -10px;
    left: 10px;
    background: #28a745;
    color: white;
    padding: 2px 8px;
    font-size: 10px;
    border-radius: 3px;
    opacity: 0.8;
}

.rac-booking-form h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.rac-booking-section {
    margin-bottom: 25px;
}

.rac-booking-section h4 {
    color: #555;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid #007cba;
    padding-bottom: 5px;
}

.rac-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.rac-form-group {
    display: flex;
    flex-direction: column;
}

.rac-form-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.rac-form-group input,
.rac-form-group select,
.rac-form-group textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.rac-form-group input:focus,
.rac-form-group select:focus,
.rac-form-group textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.rac-form-group input.rac-error,
.rac-form-group select.rac-error,
.rac-form-group textarea.rac-error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.rac-booking-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 500;
    display: none;
}

.rac-booking-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.rac-booking-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading state */
.rac-loading {
    opacity: 0.7;
    pointer-events: none;
}

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

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

/* Ensure form is visible and clickable */
#rac-booking-form-inner {
    position: relative;
    z-index: 10;
}

#rac-booking-form-inner button[type="submit"] {
    cursor: pointer;
    position: relative;
    z-index: 11;
}

/* Debug styles */
.rac-debug {
    border: 2px solid red !important;
    background: rgba(255, 0, 0, 0.1) !important;
}

/* Vendor Listing Styles */
.rac-vendor-listing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.rac-vendor-listing-header {
    text-align: center;
    margin-bottom: 40px;
}

.rac-vendor-listing-header h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.rac-vendor-listing-header p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.rac-vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.rac-vendor-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.rac-vendor-card-header {
    padding: 25px 25px 20px;
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    align-items: center;
    gap: 15px;
}

.rac-vendor-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #f8f9fa;
}

.rac-vendor-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rac-vendor-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #e9ecef;
    flex-shrink: 0;
}

.rac-vendor-logo-placeholder i {
    font-size: 2rem;
    color: #6c757d;
}

.rac-vendor-info {
    flex: 1;
    min-width: 0;
}

.rac-vendor-name {
    color: #333;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.rac-vendor-owner {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

.rac-vendor-details {
    padding: 20px 25px;
}

.rac-vendor-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #555;
    font-size: 0.95rem;
}

.rac-vendor-detail:last-child {
    margin-bottom: 0;
}

.rac-vendor-detail i {
    color: #007cba;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.rac-vendor-detail span {
    flex: 1;
}

.rac-vendor-actions {
    padding: 20px 25px 25px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rac-vendor-actions .rac-btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rac-btn-whatsapp {
    background: #25d366;
    color: white;
    border: 2px solid #25d366;
}

.rac-btn-whatsapp:hover {
    background: #128c7e;
    border-color: #128c7e;
    color: white;
}

.rac-vendor-listing-footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
    color: #666;
}

.rac-vendor-listing-footer a {
    color: #007cba;
    text-decoration: none;
    font-weight: 600;
}

.rac-vendor-listing-footer a:hover {
    text-decoration: underline;
}

.rac-vendor-listing-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.rac-vendor-listing-empty p {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rac-vendor-listing-container {
        padding: 20px 15px;
    }
    
    .rac-vendor-listing-header h2 {
        font-size: 2rem;
    }
    
    .rac-vendor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .rac-vendor-card-header {
        padding: 20px 20px 15px;
    }
    
    .rac-vendor-logo,
    .rac-vendor-logo-placeholder {
        width: 60px;
        height: 60px;
    }
    
    .rac-vendor-logo-placeholder i {
        font-size: 1.5rem;
    }
    
    .rac-vendor-name {
        font-size: 1.1rem;
    }
    
    .rac-vendor-details {
        padding: 15px 20px;
    }
    
    .rac-vendor-actions {
        padding: 15px 20px 20px;
        flex-direction: column;
    }
    
    .rac-vendor-actions .rac-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .rac-vendor-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Vendor Filter Styles */
.rac-vendor-filter {
    margin-bottom: 30px;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.rac-vendor-filter label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.rac-vendor-city-filter {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #333;
    min-width: 200px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.rac-vendor-city-filter:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

/* Vendor card hidden state */
.rac-vendor-card.hidden {
    display: none;
}

/* Booking Search Form Styles */
.rac-booking-search-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
}

.rac-booking-search-header {
    text-align: center;
    margin-bottom: 30px;
}

.rac-booking-search-header h3 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.rac-booking-search-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.rac-booking-search-form {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.rac-booking-search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.rac-booking-search-section h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #007cba;
    padding-bottom: 8px;
}

.rac-booking-search-actions {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.rac-booking-search-actions .rac-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
}

.rac-booking-search-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 500;
    display: none;
}

.rac-booking-search-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.rac-booking-search-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Search Results Styles */
.rac-booking-search-results {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 30px;
}

.rac-booking-search-results h4 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.rac-search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.rac-search-result-card {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rac-search-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.rac-search-result-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.rac-search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rac-search-result-image .rac-no-image {
    width: 100%;
    height: 100%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.rac-search-result-image .rac-no-image i {
    font-size: 3rem;
}

.rac-search-result-content {
    padding: 20px;
}

.rac-search-result-title {
    color: #333;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.rac-search-result-details {
    margin-bottom: 15px;
}

.rac-search-result-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9rem;
}

.rac-search-result-detail i {
    color: #007cba;
    width: 16px;
    text-align: center;
}

.rac-search-result-pricing {
    background: #e8f5e8;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.rac-search-result-pricing .rac-price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.rac-search-result-pricing .rac-price-item:last-child {
    margin-bottom: 0;
}

.rac-search-result-pricing .rac-price-label {
    color: #555;
    font-weight: 500;
}

.rac-search-result-pricing .rac-price-value {
    color: #28a745;
    font-weight: 700;
}

.rac-search-result-actions {
    display: flex;
    gap: 10px;
}

.rac-search-result-actions .rac-btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Responsive Design for Booking Search */
@media (max-width: 768px) {
    .rac-booking-search-container {
        padding: 20px 15px;
    }
    
    .rac-booking-search-form {
        padding: 20px;
    }
    
    .rac-booking-search-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rac-booking-search-header h3 {
        font-size: 1.5rem;
    }
    
    .rac-search-results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rac-booking-search-actions .rac-btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .rac-booking-search-form {
        padding: 15px;
    }
    
    .rac-search-result-actions {
        flex-direction: column;
    }
    
    .rac-search-result-actions .rac-btn {
        width: 100%;
    }
}

.rac-help-section a:hover {
    text-decoration: underline;
}

/* Manage Cars Styles */
.rac-manage-cars-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.rac-manage-cars-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.rac-cars-management-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.rac-car-management-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rac-car-management-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.rac-car-management-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.rac-car-management-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rac-car-no-image {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.rac-car-no-image i {
    font-size: 3rem;
}

.rac-car-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.rac-car-status.publish {
    background: #d4edda;
    color: #155724;
}

.rac-car-status.pending {
    background: #fff3cd;
    color: #856404;
}

.rac-car-status.draft {
    background: #e2e3e5;
    color: #383d41;
}

.rac-car-management-content {
    padding: 20px;
}

.rac-car-management-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2rem;
}

.rac-car-details {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 0.9rem;
}

.rac-car-price {
    margin: 0 0 15px 0;
    color: #007cba;
    font-weight: bold;
    font-size: 1.1rem;
}

.rac-car-management-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rac-car-management-actions .rac-btn {
    flex: 1;
    min-width: 80px;
    text-align: center;
    font-size: 0.9rem;
    padding: 8px 12px;
}

@media (max-width: 1200px) {
    .rac-cars-management-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .rac-cars-management-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .rac-cars-management-grid {
        grid-template-columns: 1fr;
    }
    
    .rac-manage-cars-actions {
        flex-direction: column;
    }
    
    .rac-car-management-actions {
        flex-direction: column;
    }
}

.rac-homepage-cars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Flexbox fallback for older browsers or grid conflicts */
@supports not (display: grid) {
    .rac-cars-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 30px !important;
    }
    
    .rac-car-item {
        flex: 0 0 calc(25% - 22.5px) !important;
        width: calc(25% - 22.5px) !important;
    }
    
    .rac-specs-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
        padding: 15px !important;
        background: #f8f9fa !important;
        border-radius: 8px !important;
    }
    
    .rac-spec-item {
        flex: 0 0 calc(25% - 11.25px) !important;
        width: calc(25% - 11.25px) !important;
    }
} 