/* JVK Motors Vehicle Buttons Styles - Only for plugin buttons */
.vehicle-card-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 12px 16px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: auto !important;
}

.vehicle-buttons-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
}

.vehicle-card-actions .btn-view-details,
.vehicle-card-actions .btn-get-quote,
.vehicle-buttons-section .vehicle-buttons-container .btn-view-details,
.vehicle-buttons-section .vehicle-buttons-container .btn-get-quote {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

.vehicle-card-actions .btn-view-details {
    background-color: #ffffff;
    border-color: #000000;
    color: #000000;
}

.vehicle-card-actions .btn-view-details:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
    text-decoration: none;
    transition: none;
}

.vehicle-card-actions .btn-get-quote {
    background-color: #28a745;
    color: #ffffff;
    border-color: #28a745;
}

.vehicle-card-actions .btn-get-quote:hover {
    background-color: #1e7e34;
    border-color: #1e7e34;
    color: #ffffff;
    text-decoration: none;
    transition: none;
}

.vehicle-card-actions .btn-view-details i,
.vehicle-card-actions .btn-get-quote i {
    font-size: 12px;
}

/* Force card title and description to be white */
.card-heading {
    color: #ffffff !important;
}

.card-sec-heading {
    color: #ffffff !important;
}

/* WhatsApp Modal Styles */
.whatsapp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
}

.whatsapp-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999999;
}

.whatsapp-modal-content {
    position: relative;
    max-width: 500px;
    margin: 20px auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000000;
    animation: slideDown 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

/* Custom scrollbar for modal */
.whatsapp-modal-content::-webkit-scrollbar {
    width: 8px;
}

.whatsapp-modal-content::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
    margin: 5px;
}

.whatsapp-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #25D366 0%, #128C7E 100%);
    border-radius: 10px;
    border: 2px solid #f8f9fa;
}

.whatsapp-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #128C7E 0%, #075E54 100%);
    border: 2px solid #f8f9fa;
}

.whatsapp-modal-content::-webkit-scrollbar-corner {
    background: #f8f9fa;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: none;
    z-index: 100001;
}

.whatsapp-modal-close:hover {
    background: #f0f0f0;
    color: #333;
    transform: rotate(90deg);
}

.whatsapp-modal-header {
    padding: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    text-align: center;
}

.whatsapp-modal-header i {
    font-size: 48px;
    margin-bottom: 10px;
}

.whatsapp-modal-header h3 {
    margin: 10px 0 5px 0;
    font-size: 24px;
    font-weight: bold;
}

.whatsapp-modal-header .vehicle-name {
    margin: 5px 0 0 0;
    font-size: 16px;
    opacity: 0.9;
}

.whatsapp-modal-body {
    padding: 30px;
}

.whatsapp-modal-body .form-group {
    margin-bottom: 20px;
}

.whatsapp-modal-body label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.whatsapp-modal-body .required {
    color: #e74c3c;
}

.whatsapp-modal-body input,
.whatsapp-modal-body textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: none;
}

.whatsapp-modal-body input:focus,
.whatsapp-modal-body textarea:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.whatsapp-modal-body textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-whatsapp {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #128C7E 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 20px;
}

/* Single Vehicle Page Buttons */
.vehicle-buttons-section {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-top: 20px;
}

.vehicle-buttons-section .vehicle-buttons-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.vehicle-buttons-section .vehicle-buttons-container .btn-view-details,
.vehicle-buttons-section .vehicle-buttons-container .btn-get-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    min-width: 120px;
    margin: 0 !important;
    vertical-align: middle !important;
}

.vehicle-buttons-section .vehicle-buttons-container .btn-view-details {
    background-color: #ffffff;
    color: #000000;
    border-color: #000000;
}

.vehicle-buttons-section .vehicle-buttons-container .btn-view-details:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
    text-decoration: none;
    transition: none;
}

.vehicle-buttons-section .vehicle-buttons-container .btn-get-quote {
    background-color: #28a745;
    color: #ffffff;
    border-color: #28a745;
}

.vehicle-buttons-section .vehicle-buttons-container .btn-get-quote:hover {
    background-color: #1e7e34;
    border-color: #1e7e34;
    color: #ffffff;
    text-decoration: none;
    transition: none;
}

.vehicle-buttons-section .vehicle-buttons-container .btn-view-details i,
.vehicle-buttons-section .vehicle-buttons-container .btn-get-quote i {
    font-size: 10px;
}

/* Responsive */
@media (max-width: 576px) {
    .whatsapp-modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
        max-height: 95vh;
    }

    .whatsapp-modal-header {
        padding: 20px;
    }

    .whatsapp-modal-header h3 {
        font-size: 20px;
    }

    .whatsapp-modal-body {
        padding: 20px;
    }

    .vehicle-buttons-container {
        flex-direction: row;
        padding: 8px;
        gap: 6px;
        flex-wrap: wrap;
    }

    .vehicle-buttons-container .btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Vehicle Colors */
.vehicle-colors {
    margin-bottom: 8px;
}

.color-circles {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.color-circle {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.color-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Single page colors */
.vehicle-buttons-section .vehicle-colors {
    text-align: center;
    margin-bottom: 15px;
}

.vehicle-buttons-section .colors-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.vehicle-buttons-section .color-circles {
    justify-content: center;
    gap: 8px;
}

.vehicle-buttons-section .color-circle {
    width: 24px;
    height: 24px;
    border-width: 2px;
}