/**
 * Taxi Booking System - Frontend Styles
 */

/* ABA Payway Modal */
.aba-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.aba-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* Steps Progress Bar */
.steps-container {
    margin-bottom: 15px;
    padding: 20px 0;
}

.steps-progress-bar {
    width: 100%;
    height: 4px;
    background: #d4af3733;
    border-radius: 2px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #11315f 100%);
    width: 50%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 3px solid #e5c048;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.step.active .step-number {
    background: linear-gradient(135deg, #667eea 0%, #11315f 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.step.completed .step-number {
    background: #b38900;
    color: #fff;
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-align: center;
}

/* Confirmation Step Styles */
.confirmation-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.confirmation-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.confirmation-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #11315f;
    margin-bottom: 15px;
}

.confirmation-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.confirmation-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid #4CAF50;
}

.confirmation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.confirmation-item:last-child {
    border-bottom: none;
}

.confirmation-label {
    font-weight: 600;
    color: #11315f;
}

.confirmation-value {
    font-weight: 700;
    color: #4CAF50;
    font-size: 18px;
}

.confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.back-home-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #11315f 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.back-home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.back-home-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

@media (max-width: 768px) {
    .confirmation-content {
        padding: 30px 15px;
    }
    
    .confirmation-content h3 {
        font-size: 24px;
    }
    
    .confirmation-content p {
        font-size: 14px;
    }
    
    .confirmation-value {
        font-size: 16px;
    }
    
    .back-home-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

.step-label {
    color: #999;
    transition: color 0.3s ease;
    text-align: center;
}

.step.active .step-label,
.step.completed .step-label {
    color: #b8960c;
    font-weight: 600;
    text-align: center;
}
}

.taxi-booking-form .step-content {
    display: none !important;
}

.taxi-booking-form .form-section.step-content {
    display: none !important;
}

.taxi-booking-form .form-section.step-content[data-step="1"] {
    display: none !important;
}

.taxi-booking-form .form-section.step-content[data-step="2"] {
    display: none !important;
}

.taxi-booking-form .form-section.step-content[data-step="3"] {
    display: none !important;
}

.taxi-booking-form .form-section.step-content[data-step="4"] {
    display: none !important;
}

.taxi-booking-form .step-content.active {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

.taxi-booking-form .form-section.step-content.active {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

/* Override any theme CSS that might be affecting form sections */
.taxi-booking-form .form-section {
    display: none !important;
}

.taxi-booking-form .form-section.active {
    display: block !important;
}

/* Specific targeting for the booking form container */
.taxi-booking-form-container .form-section {
    display: none !important;
}

.taxi-booking-form-container .form-section.step-content.active {
    display: block !important;
}

/* Maximum specificity targeting */
div.taxi-booking-form-container form.taxi-booking-form div.form-section.step-content {
    display: none !important;
}

div.taxi-booking-form-container form.taxi-booking-form div.form-section.step-content[data-step="1"] {
    display: none !important;
}

div.taxi-booking-form-container form.taxi-booking-form div.form-section.step-content[data-step="2"] {
    display: none !important;
}

div.taxi-booking-form-container form.taxi-booking-form div.form-section.step-content[data-step="3"] {
    display: none !important;
}

div.taxi-booking-form-container form.taxi-booking-form div.form-section.step-content[data-step="4"] {
    display: none !important;
}

div.taxi-booking-form-container form.taxi-booking-form div.form-section.step-content[data-step="5"] {
    display: none !important;
}

div.taxi-booking-form-container form.taxi-booking-form div.form-section.step-content.active {
    display: block !important;
}

/* Override theme form-row and form-group styles for booking form */
.taxi-booking-form .form-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 10px !important;
}

.taxi-booking-form .form-group {
    position: relative !important;
}

.taxi-booking-form .form-group label {
    display: block !important;
    font-size: 1.0rem !important;
    font-weight: 600 !important;
    color: #b8960c !important;
    margin-top: 2px !important;
    text-transform: unset !important;
    letter-spacing: 0 !important;
}

/* Ensure extra services section is hidden by default */
#extra-services-container {
    display: none;
}

/* Show extra services only when Step 2 is active */
.step-content[data-step="2"].active #extra-services-container {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 0px solid rgba(212, 175, 55, 0.2);
}

.nav-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.nav-btn.prev {
    background: #e0e0e0;
    color: #333;
}

.nav-btn.prev:hover {
    background: #d0d0d0;
}

.nav-btn.next {
    background: linear-gradient(135deg, #667eea 0%, #11315f 100%);
    color: #fff;
}

.nav-btn.next:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Hide submit group initially */
.submit-group {
    display: none;
    text-align: center;
    margin-top: 30px;
}

.checkbox-group {
    display: none;
}

/* Booking Summary */
.booking-summary {
    background: #f8f9fa00;
    padding: 5px 15px;
    border-radius: 8px;
    margin-top: 0px;
}

.summary-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

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

.summary-section h4 {
    color: #d4af37 !important;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom:1px solid rgb(212 175 55 / 17%) !important;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: #ffffff !important;
    font-weight: 500;
}

.summary-value {
    color: #2c3e50;
    font-weight: 600;
}

/* Extra Services */
.extra-services {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.extra-service-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 16px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.extra-service-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.extra-service-checkbox-wrapper {
    flex-shrink: 0;
    padding-top: 4px;
    position: relative;
}

.extra-service-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.extra-service-checkbox-wrapper::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    border: 2px solid #d4af37;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.extra-service-checkbox-wrapper::after {
    content: '';
    display: block;
    width: 35px;
    height: 35px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4af37"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat center center;
    background-size: 30px 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.extra-service-checkbox:checked + .extra-service-checkbox-wrapper::before,
.extra-service-checkbox-wrapper:hover::before {
    background: linear-gradient(135deg, #d4af3700 0%, #c9a22700 100%);
    border-color: #c9a227;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.extra-service-checkbox:checked + .extra-service-checkbox-wrapper::after {
    opacity: 1;
}

.extra-service-option:hover .extra-service-checkbox-wrapper::before {
    transform: scale(1.05);
}

.extra-service-content {
    flex: 1;
    min-width: 0;
}

.extra-service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.extra-service-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
    line-height: 1.3;
}

.extra-service-price {
    color: #667eea;
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
    float: right;
}

.extra-service-description {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 4px;
}

.summary-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.5);
}

.summary-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-section h4 {
    color: #11315f;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 500;
    color: #666;
}

.summary-value {
    font-weight: 600;
    color: #e5c048;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.payment-option input[type="radio"] {
    margin-right: 12px;
    accent-color: #11315f;
}

.payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.payment-icon .dashicons {
    font-size: 24px;
    color: #11315f;
}

.payment-image {
    width: 50px;
    height: 35px;
    object-fit: contain;
}

.payment-label {
    font-weight: 500;
    color: #333;
}

.payment-option input[type="radio"]:checked + .payment-icon + .payment-label {
    color: #11315f;
    font-weight: 600;
}

.payment-option input[type="radio"]:checked ~ .payment-icon .dashicons {
    color: #667eea;
}

/* Summary Total */
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0px 15px 0px;
    padding: 0px;
    border-radius: 12px;
    color: #fff;
}

.total-label {
    font-size: 18px;
    font-weight: 600;
}

.total-price {
    font-size: 28px;
    font-weight: 700;
}

.taxi-booking-form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0px;
    background: #ffffff00;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 0%);
    display: block;
}

.taxi-booking-form {
    display: block;
}

.taxi-booking-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.taxi-booking-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 28px;
}

.taxi-booking-header p {
    color: #7f8c8d;
    font-size: 18px;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #3498db;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #2980b9;
}

.contact-info .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.form-section {
    margin-bottom: 30px;
    padding: 15px 20px 20px 20px;
    background: #d4af371a;
    color: #fff;
    border-radius: 6px;
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px !important;
    margin-top: 5px;
    margin-bottom: 2px !important;
    color: #34495e;
    font-weight: 500;
    font-size: 16px !important;
}

.form-group label .dashicons {
    font-size: 25px;
    width: 20px;
    height: 25px;
    color: #b8960c;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
input[type=time],
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 0px solid #ddd;
    border-radius: 5px !important;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
    max-height: 50px !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    font-weight: normal !important;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    height: 120px !important;
    max-height: 120px !important;
}

.form-group input[type="checkbox"] {
    width: 23px !important;
    height: 23px;
    cursor: pointer;
    accent-color: #3498db;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    padding: 0;
    margin-right: 10px !important;
}

.form-group input[type="checkbox"]:checked {
    background-color: #3498db;
    border-color: #3498db;
}

.form-group input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 0px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-group input[type="checkbox"]:hover {
    border-color: #3498db;
}

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #34495e;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-group {
    text-align: center;
    margin-top: 30px;
}

.taxi-booking-submit {
    background: #b8960c;
    color: white !important;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    align-items: center;
    gap: 10px;
}

.taxi-booking-submit:hover {
    background: #11315f;
    transform: translateY(-2px);
}

.taxi-booking-submit:active {
    transform: translateY(0);
}

.taxi-booking-submit:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

.taxi-booking-submit .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.form-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 30px;
    border-radius: 8px;
    display: none;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 500px;
    text-align: center;
}

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

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

.taxi-booking-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.taxi-booking-footer p {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 4px;
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    background: #e9ecef;
    color: #2c3e50;
}

.social-link .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.social-link.whatsapp:hover {
    background: #25d366;
    color: white;
}

.social-link.messenger:hover {
    background: #0084ff;
    color: white;
}

.social-link.telegram:hover {
    background: #0088cc;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .taxi-booking-form-container {
        padding: 0px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-row .form-group {
        min-width: 100%;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .taxi-booking-submit {
        width: 100%;
        justify-content: center;
    }
}

/* Loading Spinner */
.taxi-booking-submit.loading {
    position: relative;
    color: transparent;
}

.taxi-booking-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Destination Select Button */
.destination-select-btn {
    width: 100%;
    padding: 15px 15px;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    transition: border-color 0.3s;
    background: linear-gradient(289deg, #dfdfdf 0%, #ffffff 100%) !important;
    color: #11315f;
}

.destination-select-btn:hover {
    border-color: #b8960c !important;
    background: rgba(212, 175, 55, 0.5) !important;
}

.destination-display {
    display: block;
    margin-top: 0px;
    padding: 0px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
    color: #2c3e50;
    display: none;
}

/* Destination Modal */
.destination-modal,
#vehicle-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#vehicle-modal {
    z-index: 10001;
}

#vehicle-modal .modal-content {
    pointer-events: auto;
}

#vehicle-modal .modal-body {
    pointer-events: auto;
}

.destination-modal .modal-content {
    background: #fff;
    border-radius: 12px;
    width: 95%;
    max-width: 890px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 0px solid rgba(212, 175, 55, 0.2);
}

.destination-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.destination-modal .modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.destination-modal .modal-close {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 24px !important;
    cursor: pointer;
    color: #D4AF37 !important;
    line-height: 1 !important;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.destination-modal .modal-close:hover {
    background: #D4AF37;
    color: #1a1a1a !important;
    border-color: #D4AF37;
}

.destination-modal .modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.destination-modal .destination-search {
    margin-bottom: 20px;
}

.destination-modal .destination-search input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.destination-modal .destination-search input:focus {
    outline: none;
    border-color: #D4AF37;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.destination-modal .destination-list {
    max-height: 550px;
    overflow-y: auto;
}

.destination-modal .country-group {
    margin-bottom: 20px;
}

.destination-modal .country-label {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.destination-modal .destination-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(46%, 1fr));
    gap: 12px;
}

.destination-modal .destination-item {
    padding: 10px 20px;
    border: 1px solid rgb(212 175 55 / 79%);
    border-radius: 8px;
    margin-bottom: 0;
    margin-right: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(212, 175, 55, 0.1);
    font-weight: 500;
    color: #b8960c !important;
    text-align: left;
}

.destination-modal .destination-item:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: #D4AF37;
    transform: translateX(0px);
}

.destination-modal .destination-item.selected {
    background: linear-gradient(135deg, #D4AF37 0%, #B8960C 100%);
    color: #fff;
    border-color: #D4AF37;
}

.destination-modal .no-results {
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
    font-size: 14px;
}
.flatpickr-current-month {
    height: 54px !important;
}
.flatpickr-current-month {
    margin-top: 4px !important;
}
.flatpickr-months .flatpickr-month {
    background: #ebebeb !important;
    height: 50px !important;
    border-radius: 0px;
    border: 0 solid #dddd;
}

/* Vehicle Modal Styles */
.vehicle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    margin: 10px 15px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.vehicle-left {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 25px;
}

.vehicle-item:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: #D4AF37;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.vehicle-item.selected {
    background: linear-gradient(135deg, #D4AF37 0%, #B8960C 100%);
    color: #fff;
    border-color: #D4AF37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.vehicle-image {
    width: 60px;
    height: 45px;
    margin-right: 0;
    flex-shrink: 0;
}

.vehicle-thumb {
    width: 250px;
    height: 145px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.vehicle-placeholder {
    width: 60px;
    height: 45px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-placeholder .dashicons {
    font-size: 24px;
    color: #D4AF37;
}

.vehicle-info {
    flex: 1;
}

.vehicle-name {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 6px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.vehicle-item.selected .vehicle-name {
    color: #fff;
}

.vehicle-details {
    display: flow;
    gap: 12px;
    font-size: 16px;
    color: #666;
    padding: 5px 25px !important;
}

.vehicle-item.selected .vehicle-details {
    color: rgba(255, 255, 255, 0.9);
}

.vehicle-capacity,
.vehicle-luggage {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vehicle-capacity .dashicons,
.vehicle-luggage .dashicons {
    font-size: 14px;
    color: #D4AF37;
}

.vehicle-item.selected .vehicle-capacity .dashicons,
.vehicle-item.selected .vehicle-luggage .dashicons {
    color: #fff;
}

.vehicle-price {
    font-weight: 700;
    font-size: 18px;
    color: #D4AF37;
    margin-top: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.vehicle-item.selected .vehicle-price {
    color: #fff;
}

/* Vehicle Display Premium Style */
.vehicle-display {
    margin: 10px 0px 10px 0px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #11315f 100%);
    border-radius: 12px;
    color: #fff;
    display: none;
    box-shadow: 0 10px 30px rgb(102 126 234 / 0%);
}
.vehicle-display-name h4,
h4.vehicle-display-name {
     color: #fff !important;
}
.vehicle-display.active {
    display: block;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vehicle-display-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.vehicle-display-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.vehicle-display-price {
    margin-left: auto;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.vehicle-display-details {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.vehicle-display-detail {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vehicle-display-detail .dashicons {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.vehicle-display-detail-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.vehicle-display-detail-value {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.vehicle-class-badge {
    display: inline-block;
    background: linear-gradient(135deg, #D4AF37 0%, #B8960C 100%);
    color: #1a1a1a;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.3);
}

.vehicle-item.selected .vehicle-class-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .aba-modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .steps-container {
        padding: 15px 0;
    }
    
    .step-content {
        padding: 20px 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-row.three-columns {
        grid-template-columns: 1fr;
    }
    
    .form-row.two-columns {
        grid-template-columns: 1fr;
    }
    
    .search-form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-search,
    .btn-reset {
        width: 100%;
    }
    
    .vehicle-item {
        flex-direction: column;
        padding: 15px;
    }
    
    .vehicle-image {
        width: 100%;
        height: 150px;
    }
    
    .vehicle-details {
        width: 100%;
        padding: 15px 0 0 0;
    }
    
    .vehicle-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .vehicle-display {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }
    
    .vehicle-display-details {
        flex-wrap: wrap;
    }
    
    .destination-modal-content {
        width: 95%;
        max-height: 80vh;
    }
    
    .vehicle-modal-content {
        width: 95%;
        max-height: 80vh;
    }
    
    .destination-item {
        padding: 15px;
        font-size: 14px;
    }
    
    .country-group-title {
        font-size: 16px;
        padding: 15px;
    }
    
    .extra-service-option {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    
    .extra-service-checkbox {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .summary-label,
    .summary-value {
        width: 100%;
    }
    
    .step-indicator {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }
    .step-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .aba-modal-content {
        width: 90%;
        padding: 12px;
    }
    
    .step-content {
        padding: 15px 10px;
    }
    
    .vehicle-item {
        padding: 12px;
    }
    
    .vehicle-image {
        height: 120px;
    }
    
    .destination-item {
        padding: 12px;
        font-size: 13px;
    }
    
    .country-group-title {
        font-size: 14px;
        padding: 12px;
    }
    
    .extra-service-option {
        padding: 12px;
    }
    
    .vehicle-class-badge {
        font-size: 10px;
        padding: 4px 8px !important;
    }
    
    .vehicle-price-amount {
        font-size: 18px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 16px;
        font-size: 13px;
    }
}
