/* Full Page Loader */
.full-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}
.form-group.full-width.message-group {
    margin-top: 25px;
}
select#passenger_count {
    width: 205px;
}
.loader-content {
    text-align: center;
}

.loader-spinner {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.circle {
    width: 12px;
    height: 12px;
    background: #4a90e2;
    border-radius: 50%;
    animation: bounce 0.5s ease-in-out infinite;
}

.circle:nth-child(2) {
    animation-delay: 0.1s;
}

.circle:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.loader-text {
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

.event-booking-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.event-booking-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    margin-bottom: 20px;
}

.form-group {
    flex: 0 0 calc(33.333% - 30px);
    padding: 0 15px;
    margin-bottom: 20px;
}

.form-group.full-width {
    flex: 0 0 100%;
}

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

.form-group.required label::after {
    content: " *";
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Placeholder Styles */
.form-control::placeholder {
    color: #a0a0a0;
    font-style: italic;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.form-control:focus::placeholder {
    opacity: 0.5;
}
input#booking_time {
    padding: 5px 14px;
    line-height: 24px;
}
/* Select Styles */
select.form-control {
    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='currentColor' 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 15px center;
    background-size: 15px;
    padding-right: 40px;
}

/* Textarea Styles */
textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Submit Button Styles */
.submit-button {
    background-color: #4a90e2;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #357abd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

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

.submit-button:disabled,
.submit-button.disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.submit-button:disabled:hover,
.submit-button.disabled:hover {
    background-color: #ccc;
    transform: none;
    box-shadow: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

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

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

/* Datepicker customization */
.ui-datepicker {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ui-datepicker .ui-datepicker-header {
    background: #f8f9fa;
    border: none;
    padding: 10px;
}

.ui-datepicker .ui-datepicker-title {
    color: #333;
    font-weight: 500;
}

.ui-datepicker .ui-state-default {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-align: center;
    padding: 5px;
}

.ui-datepicker .ui-state-active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Message Group Styles */
.message-group {
    margin-top: 10px;
}

.message-group label {
    font-size: 18px;
    margin-bottom: 12px;
}

.message-group textarea.form-control {
    width: 100%; 
    height: auto; 
    min-height: 80px; 
    padding: 10px; 
    font-size: 14px; 
    border: 1px solid #ccc; 
    border-radius: 6px; 
    resize: vertical; 
    background-color: #f8f9fa;
    border: 2px solid #e1e1e1;
    transition: all 0.3s ease;
}

.message-group textarea.form-control:focus {
    background-color: #ffffff;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.message-group textarea.form-control::placeholder {
    color: #a0a0a0;
    font-style: italic;
    opacity: 0.8;
}

.message-group textarea.form-control:focus::placeholder {
    opacity: 0.5;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .form-group {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
.fare-display .fare-info-small{
        width: 100%  !important;
        margin-left: 0px !important;
        padding: 8px  !important;
    }
      select#passenger_count {
            width: 100%;
        }
    .vehicle-card.slick-slide.slick-active {
        margin-right: 0px !important;
    }
    .event-booking-form {
        padding: 20px;
    }

    .form-row {
        margin: 0;
    }

    .form-group {
        flex: 0 0 100%;
        padding: 0;
    }

    .message-group textarea.form-control {
        min-height: 100px;
        padding: 12px;
        font-size: 14px;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }

    .submit-button {
        padding: 12px 24px;
        font-size: 14px;
    }

    .loader-text {
        font-size: 16px;
    }

    .passenger-count-container {
        max-width: 100%;
    }
    
    .vehicle-card h3 {
        font-size: 14px;
    }
}

/* Date Picker Styles */
.date-picker-group {
    position: relative;
}

.date-picker-wrapper {
    position: relative;
}

.date-picker-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

.date-picker-wrapper input {
    padding-right: 35px;
}

/* Character Count Styles */
.char-count {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.char-count.warning {
    color: #f39c12;
}

.char-count.error {
    color: #e74c3c;
}

/* Phone Number Validation Styles */
.form-control.valid {
    border-color: #28a745;
    background-color: #fff;
}

.form-control.invalid {
    border-color: #dc3545;
    background-color: #fff;
}

.validation-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.time-picker-wrapper {
    position: relative;
}

.time-picker-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #888;
}

/* Vehicle slider styles */
.vehicle-slider-container {
    position: relative;
    width: 100%;
    padding: 10px 0 30px;
    margin-bottom: 20px;
}

.vehicle-slider {
    width: 100%;
    margin: 0 auto;
}
.vehicle-slider-container .vehicle-card {
    margin: 12px 0px 18px 0px !important;
}
.slick-track {
    padding: 15px 0;
}

.vehicle-card {
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background-color: #ffffff;
    width: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 185px !important; 
}

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

.vehicle-card.selected {
    border: 2px solid #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
    animation: pulse 1.5s ease-in-out 1;
}

.vehicle-card.selected::after {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.vehicle-card-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: self-start;
    margin-bottom: 5px;
}

.vehicle-card h3 {
    margin: 0px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-align: left;
    width: 100%;
    padding: 0px;
}

.vehicle-capacity {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    color: #555;
}

.vehicle-capacity svg {
    width: 12px;
    height: 12px;
    color: #777;
}

.vehicle-loader {
    width: 100%;
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Custom Slick Slider Styles */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 0;
    line-height: 0;
    transition: all 0.3s ease;
}

.slick-prev:hover,
.slick-next:hover {
    background-color: #f5f5f5;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.slick-prev {
    left: -18px;
}

.slick-next {
    right: -18px;
}

.slick-prev:before,
.slick-next:before {
    font-size: 20px;
    color: #555;
    opacity: 0.85;
}

.slick-dots {
    bottom: -25px;
}

.slick-dots li button:before {
    font-size: 8px;
    color: #bbb;
}

.slick-dots li.slick-active button:before {
    color: #666;
}

/* Vehicle error message */
.vehicle-error {
    width: 100%;
    text-align: center;
    padding: 20px;
    color: #d9534f;
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    .vehicle-card {
        flex: 0 0 calc(25% - 20px);
    }
}

@media screen and (max-width: 992px) {
    .vehicle-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media screen and (max-width: 768px) {
    .vehicle-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media screen and (max-width: 480px) {
    .vehicle-card {
        flex: 0 0 calc(100% - 20px);
    }
}

/* Vehicle selection section */
.vehicle-selection-row {
    margin-bottom: 25px;
    padding: 0 5px;
}

.vehicle-selection-row label {
    margin-bottom: 10px;
    font-weight: 500;
    color: #444;
}

.vehicle-capacity {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Passenger count input styling */
.passenger-count-container {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
}

.passenger-count-container .form-control {
    border-radius: 0;
    text-align: center;
    border-left: none;
    border-right: none;
    width: 100%;
    padding: 10px 5px;
    -moz-appearance: textfield; /* Hide spinner in Firefox */
}

.passenger-count-container .form-control::-webkit-inner-spin-button,
.passenger-count-container .form-control::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.passenger-btn {
    background: linear-gradient(to bottom, #ffffff 0%, #f7f7f7 100%);
    border: 1px solid #ced4da;
    color: #495057;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.passenger-btn:hover {
    background: linear-gradient(to bottom, #f7f7f7 0%, #eeeeee 100%);
}

.passenger-btn:active {
    background-color: #dee2e6;
    transform: scale(0.97);
}

.minus-btn {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.plus-btn {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.vehicle-card-image {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-card img {
    width: 90%;
    height: auto;
    max-height: 90px;
    object-fit: contain;
}

.vehicle-card-content {
    padding: 3px 6px;
    text-align: center;
    display: inline-block;
    background-color: #f2f2f2;
    position: relative;
    top: -10px;
    border-radius: 5px;
}
.vehicle-card.slick-slide.slick-active {
    min-height: 188px;
    height: 100%;
    margin-right: 14px;
}
/* Add a subtle animation to selected vehicle */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Better styling for vehicle cards */
.vehicle-capacity {
    font-weight: 500;
    color: #555;
}

.min-passenger-info {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    background-color: #f8f9fa;
    padding: 0px 6px;
    border-radius: 3px;
    display: inline-block;
}

/* Fare Information Styles */
.fare-info {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.fare-details h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}

.fare-row, .fare-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 15px;
    color: #555;
}

.fare-info-row {
    background-color: #f0f7ff;
    padding: 8px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.fare-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eaeaea;
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.fare-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    color: #666;
    font-style: italic;
}

.fare-loading:before {
    content: "";
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 3px solid #ddd;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.fare-error {
    padding: 10px;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Improved fare display */
.fare-info-small {
width:98%;
    margin-left: 12px !important;
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
    border: 2px solid #e1e1e1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.fare-display:hover {
    border-color: #4a90e2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.15);
}

.fare-info-small {
    color: #333;
}

.fare-info-small > span {
    font-size: 18px;
    font-weight: 600;
    color: #2a70c2;
    display: block;
    margin-bottom: 0px;
}

.distance-info {
    margin: 10px 0;
    padding: 8px 12px;
    background-color: #e9f2fe;
    border-radius: 6px;
    font-size: 14px;
    color: #2a70c2;
    display: inline-block;
}

.fare-breakdown {
    margin-top: 15px;
    padding: 12px;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
}

.fare-breakdown div {
    margin-bottom: 8px;
    line-height: 1.5;
}

.fare-breakdown div:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #2a70c2;
    font-size: 16px;
    padding-top: 8px;
    border-top: 1px solid #e1e1e1;
}

/* Distance calculation error styles */
.fare-error {
    background-color: #fff5f5;
    border-left: 3px solid #ff5252;
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.fare-error p {
    margin-bottom: 10px;
}

.fare-error-help {
    font-size: 13px;
    color: #666;
}

.fare-error-help ul {
    padding-left: 20px;
    margin-top: 5px;
}

.fare-error-fallback {
    margin-top: 15px;
}

.use-default-fare {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.use-default-fare:hover {
    background-color: #45a049;
}

.fare-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.fare-loading:before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border: 2px solid #ddd;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.fare-note {
    margin-top: 10px;
    font-style: italic;
    color: #666;
    font-size: 12px;
}

.estimated-tag {
    display: inline-block;
    background-color: #ffcc00;
    color: #333;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 5px;
    font-weight: bold;
    vertical-align: middle;
}

.distance-estimate-notice {
    margin-top: 10px;
    padding: 8px;
    background-color: #fff9e6;
    border-left: 3px solid #ffcc00;
    font-size: 12px;
    color: #666;
}

.calculate-fare-manually {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 5px;
}

.calculate-fare-manually:hover {
    background-color: #45a049;
}

#event-booking-form .fare-info-small:hover .fare-breakdown, #event-booking-form  .fare-info-small:hover .fare-formula{
    padding-top: 15px !important;
    border-top: 1px solid #ddd !important;
    margin-top: 12px !important;
}


.fare-info-small:hover .fare-breakdown,
.fare-info-small:hover .fare-formula {
    display: block;
    padding-top: 5px;
    border-top: 1px dashed #ddd;
    margin-top: 5px;
}

/* Hours count container styles */
.hours-count-container {
    display: flex;
    align-items: center;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.hours-count-container .form-control {
    flex: 1;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 0;
    background: transparent;
    box-shadow: none;
}

.hours-count-container .form-control::-webkit-inner-spin-button,
.hours-count-container .form-control::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hours-btn {
    background: none;
    border: none;
    color: #4a90e2;
    font-size: 24px;
    font-weight: 700;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hours-btn:hover {
    background-color: #e9f2fe;
}

.hours-btn:active {
    background-color: #d8e8fd;
    transform: scale(0.95);
}

.hours-btn.hours-minus {
    border-right: 1px solid #e1e1e1;
}

.hours-btn.hours-plus {
    border-left: 1px solid #e1e1e1;
}

/* Fare type info in vehicle cards */
.fare-type-info {
    font-size: 12px;
    color: #666;
    background-color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 5px;
}

/* Hours button styles */
.hours-btn.hours-minus {
    border-right: 1px solid #e1e1e1;
}

.hours-btn.hours-plus {
    border-left: 1px solid #e1e1e1;
}

/* Passenger button styles */
.passenger-btn.minus-btn {
    border-right: 1px solid #e1e1e1;
}

.passenger-btn.plus-btn {
    border-left: 1px solid #e1e1e1;
}

/* Passenger and Hours Row */
.passenger-hours-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

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

/* Improved count container styles */
.passenger-count-container,
.hours-count-container {
    display: flex;
    align-items: center;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.passenger-count-container:hover,
.hours-count-container:hover {
    border-color: #4a90e2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.15);
}

.passenger-count-container .form-control,
.hours-count-container .form-control {
    flex: 1;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 0;
    background: transparent;
    box-shadow: none;
    color: #333;
}

.passenger-count-container .form-control:focus,
.hours-count-container .form-control:focus {
    background-color: #ffffff;
    box-shadow: none;
}

/* Button styles */
.passenger-btn,
.hours-btn {
    background: none;
    border: none;
    color: #4a90e2;
    font-size: 24px;
    font-weight: 700;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.passenger-btn:hover,
.hours-btn:hover {
    background-color: #e9f2fe;
    color: #2a70c2;
}

.passenger-btn:active,
.hours-btn:active {
    background-color: #d8e8fd;
    transform: scale(0.95);
}

/* Specific button styles */
.passenger-btn.minus-btn,
.hours-btn.hours-minus {
    border-right: 1px solid #e1e1e1;
}

.passenger-btn.plus-btn,
.hours-btn.hours-plus {
    border-left: 1px solid #e1e1e1;
}

/* Validation message styling */
.validation-message {
    margin-top: 8px;
    font-size: 0.9em;
    color: #d9534f;
    transition: all 0.3s ease;
}

/* Passenger count container styles */

/* Payment Method Styles */
.payment-methods {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.payment-method-option {
    flex: 1;
}

.payment-method-option input[type="radio"] {
    display: none;
}

.payment-method-option label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.payment-method-option input[type="radio"]:checked + label {
    border-color: #4a90e2;
    background-color: #f0f7ff;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

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

.payment-method-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
}

/* PayPal Button Container Styles */
#paypal-payment-container {
    margin-top: 20px;
    display: none; /* Hide by default */
}

#paypal-button-container {
    min-height: 35px !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.payment-error {
    background-color: #fff6f6;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    color: #721c24;
    text-align: center;
}

.payment-error p {
    margin: 5px 0;
    font-size: 14px;
}

/* PayPal loading indicator */
.paypal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    width: 100%;
    text-align: center;
    padding: 20px;
}

.paypal-loading p {
    margin-bottom: 20px;
    color: #666;
}

.paypal-loading::after {
    content: "";
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Fix for PayPal iframe */
#paypal-button-container iframe {
    min-height: 45px !important;
    min-width: 150px !important;
}

/* Payment note styles */
.payment-note {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .payment-methods {
        flex-direction: column;
        gap: 10px;
    }
}

/* Admin notice for Google Maps API key */
.ebf-admin-notice {
    background: #fff8e6;
    border: 1px solid #f7d6a6;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.ebf-admin-notice p {
    margin: 0;
    padding: 0;
}

.ebf-admin-notice a {
    color: #0073aa;
    text-decoration: underline;
    font-weight: 500;
}

.ebf-admin-notice a:hover {
    color: #00a0d2;
}

/* Google Maps fallback styling */
.fare-error {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.fare-error p {
    margin: 0 0 10px;
    font-weight: 500;
}

.fare-error-help {
    margin: 10px 0;
}

.fare-error-help p {
    margin-bottom: 5px;
    font-weight: normal;
}

.fare-error-help ul {
    margin: 0 0 10px 20px;
    padding: 0;
}

.fare-error-help li {
    margin-bottom: 3px;
}

.fare-error-fallback {
    margin-top: 15px;
}

.use-default-fare {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.use-default-fare:hover {
    background-color: #45a049;
}

/* Add styles for disabled payment options */
.payment-method-option label.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.payment-config-error {
    margin-top: 10px;
    padding: 10px;
    background-color: #fff8e6;
    border: 1px solid #f7d6a6;
    border-radius: 4px;
    color: #856404;
}

.payment-error {
    padding: 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
    margin-bottom: 15px;
}

/* Form validation styles */
.error-field {
    border-color: #d9534f !important;
    background-color: #fff8f8 !important;
    transition: all 0.3s ease !important;
}

.error-field:focus {
    border-color: #d9534f !important;
    box-shadow: 0 0 0 0.2rem rgba(217, 83, 79, 0.25) !important;
    background-color: #ffffff !important;
}

/* Focus out validation styles */
.form-control.focus-out-valid {
    border-color: #28a745 !important;
    background-color: #f8fff9 !important;
    transition: all 0.3s ease !important;
}

.form-control.focus-out-valid:focus {
    border-color: #80bdff !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

/* Form validation message above submit button */
.form-validation-message {
    margin-top: 1.7rem;
    background-color: #fff3cd !important;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
}

.form-validation-message.hidden {
    display: none;
}

/* Enhanced validation message styling */
.validation-message.show {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.validation-message.hide {
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.validation-message {
    color: #d9534f;
    font-size: 0.9em;
    margin-top: 5px;
}

/* reCAPTCHA Styles */
#recaptcha-placeholder {
    margin: 0px 0;
    display: flex;
    justify-content: center;
}

#recaptcha-placeholder.error {
    border: 1px solid #d9534f;
    padding: 5px;
    border-radius: 4px;
}

/* Stripe Styles */
#stripe-payment-container {
    margin: 20px 0;
}

#card-element {
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fff;
    transition: box-shadow 0.15s ease;
}

#card-element:focus {
    outline: none;
    border-color: #80bdff;
}

#card-errors {
    color: #d9534f;
    font-size: 14px;
}

#card-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Payment method tabs styling */
.StripeElement--webkit-autofill {
    background: transparent !important;
}

.StripeTabsContainer {
    margin-bottom: 15px;
}

.StripeTab {
    padding: 8px 12px;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    font-weight: 500;
}

.StripeTab--selected {
    background-color: #f8f9fa;
    border-bottom: 2px solid #4a90e2;
}

/* Payment method option styling */
.payment-method-option {
    position: relative;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.payment-method-option:hover {
    border-color: #4a90e2;
    background-color: #f8f9fa;
}

.payment-method-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-method-option label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
}

.payment-method-option input[type="radio"]:checked + label {
    color: #4a90e2;
    font-weight: 600;
}

.payment-info {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    color: #495057;
    text-align: center;
}

/* Payment Screen Styles */
.payment-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.payment-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 460px;
    padding: 30px;
}

.payment-header {
    text-align: center;
    margin-bottom: 10px;
}

.payment-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.payment-header p {
    color: #666;
    margin-bottom: 15px;
    font-size: 19px;
}

.payment-amount {
    padding-bottom: 0px;
    padding-left: 0px;
    font-weight: 600;
    color: #4a90e2;
    margin-top: 0px;
    font-size: 22px;
}

.payment-methods-container {
    margin-bottom: 15px;
}

.payment-section ,.payment-detail-div{
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
}
.payment-option-selection {
    font-size: 19px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.payment-option-selection label {
    margin-bottom: 0px;
}
.payment-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Card Element Styles */
.card-element {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    margin-bottom: 20px;
}

.card-errors {
    color: #dc3545;
}

.payment-button {
  background: #ffc439;
    color: black;
    padding: 12px 24px;
    font-weight:500;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.payment-button:hover {
    background-color: #357abd;
}

.payment-button:disabled {
    background-color: #a0a0a0;
    cursor: not-allowed;
}

.payment-footer {
    text-align: center;
}

.secondary-button {
    background-color: transparent;
    color: #666;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: #f5f5f5;
}

/* PayPal Payment Section Styles */
#paypal-payment-section {
    margin-top: 20px;
}

#paypal-payment-section.processing {
    opacity: 0.7;
    pointer-events: none;
}



.payment-processing {
    text-align: center;
    padding: 20px;
    color: #4a90e2;
    font-weight: 500;
}

.payment-processing:after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    border: 2px solid #4a90e2;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@media (max-width: 768px) {



    .payment-section h3{
        font-size: 13px !important;
    }
    .payment-button {
        padding: 8px 24px !important;
        font-size: 14px !important;
    }
    .payment-option-selection {
    	font-size: 15px !important;
	}
    .payment-header p {
        font-size: 16px;
        line-height: 20px;
    }
    .payment-container {
        padding: 20px;
    }
    
    .payment-header h2 {
        font-size: 20px;
    }
    
    .payment-amount {
        font-size: 18px;
    }
    
    .payment-section {
        padding: 15px;
    }
    .fare-info-small > span {
        font-size: 14px;
        margin-bottom: 7px;
    }
   
    .form-content .fare-display {
        width: 100% !important;
        margin-left: 0px !important;
       
    }

}
@media screen and (min-device-width: 768px) and (max-device-width: 1200px) { 
form#event-booking-form .vehicle-card{
        min-height: 215px !important;
}
.fixed-book-button{
    z-index: 9999;
}
}