.find-car{
    position: absolute;
    bottom: -930px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 90%;
    max-width: 1000px;
}

/* ===================
find-car area improvements - Modern Card Design
====================== */

.find-car-area {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    min-height: 400px;
    margin-top: -15%;
}

.find-car-area .row {
    width: 100%;
    max-width: 1000px;
    justify-content: center;
}

.find-car-form {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 100%;
    margin: 0 auto;
}

.find-car-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: 1;
}

/* Modern form styling */
.find-car-form .form-group {
    margin-bottom: 15px;
    position: relative;
}

.find-car-form .form-control,
.find-car-form .form-select {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 18px 55px 18px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}

.find-car-form .form-control:focus,
.find-car-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(10, 42, 103, 0.15);
    transform: translateY(-2px);
}

.find-car-form .form-group label {
    font-weight: 600;
    color: #111111;
    margin-bottom: 8px;
    font-size: 15px;
}

.find-car-form .form-group i {
    font-size: 18px;
    top: 45px;
    transition: all 0.3s ease;
    position: absolute;
    right: 20px;
}

/* Modern button styling */
.find-car-form .theme-btn {
    border-radius: 15px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, #4361ee 100%);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.find-car-form .theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(10, 42, 103, 0.4);
}

.find-car-form .theme-btn::before {
    background: linear-gradient(135deg, #4361ee 0%, var(--primary) 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .find-car-area {
        padding: 40px 15px;
    }

    .find-car-form {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .form-steps {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .find-car-form {
        padding: 25px 15px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

/* Existing find-car form styles */
.find-car-form{
    padding: 30px 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.find-car-title {
    font-size: 30px;
    margin-bottom: 25px;
}

.find-car-form .form-select,
.find-car-form .form-control{
    padding: 15px 50px 15px 20px;
    border-radius: 12px;
    font-size: 15px;
    box-shadow: none;
    color: #757F95;
    height: 50px;
}

.find-car-form input::placeholder,
.find-car-form select::placeholder{
    font-size: 15px;
}

.find-car-form .form-select:focus,
.find-car-form .form-control:focus{
    border-color: var(--primary);
}

.find-car-form .select2 .selection {
    display: block;
    width: 100%;
    -moz-padding-start: calc(0.75rem - 3px);
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;
    background-image: none;
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 15px 50px 15px 20px;
    border-radius: 12px;
    font-size: 15px;
    box-shadow: none;
    color: #757F95;
}

.find-car-form .select2-container--default .select2-selection--single{
    border: none;
}

.find-car-form .select2-selection__arrow b{
    display:none;
}
.select2-results>.select2-results__options
{
    max-height: 220px !important;
    i {
        margin-right: 7px;
    }
}
.select2-container.select2-container--default.select2-container--open .select2-dropdown--below {
    box-shadow: 0 12px 19px rgb(0 0 0 / 25%) !important;
}

/* Form Steps Styles */
.form-steps {
    margin-bottom: 30px;
}
.step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background-color: white;
    padding: 0 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.step-title {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background-color: var(--primary);
    color: white;
}

.step.active .step-title {
    color: var(--primary);
    font-weight: 600;
}

.step.completed .step-number {
    background-color: var(--secondary);
    color: white;
}

.step.completed .step-title {
    color: var(--secondary);
    font-weight: 600;
}

.form-step {
    animation: fadeIn 0.3s ease-in-out;
}


/* Vehicle Selection Styles for Step 2 */
.service-selection-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.vehicle-option {
    transition: all 0.3s ease;
}

.vehicle-card {
    display: block;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.vehicle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(10, 42, 103, 0.05), transparent);
    transition: left 0.5s ease;
}

.vehicle-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vehicle-card:hover::before {
    left: 100%;
}

.vehicle-option input[type="radio"]:checked ~ .vehicle-card {
    border-color: var(--primary);
    background: rgba(10, 42, 103, 0.05);
    box-shadow: 0 5px 20px rgba(10, 42, 103, 0.2);
}

.radio-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.radio-wrapper .form-check-input {
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid var(--primary);
}

.radio-wrapper .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.vehicle-details {
    padding-left: 15px;
}

.vehicle-type {
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
}

.vehicle-capacity {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.capacity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.capacity-item i {
    color: var(--secondary);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.vehicle-image {
    text-align: center;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.vehicle-image img {
    max-width: 100%;
    max-height: 180px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

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

.price-section {
    text-align: left;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.price-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.price-amount {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
}

.hero-section select.form-select {
    background: none;
}

/* Hide the native time picker icon in WebKit browsers (Chrome, Safari, Edge) */
input[type="time"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    background: transparent;
    color: transparent;
    cursor: pointer;
}

/* Hide the native time picker icon in Firefox */
input[type="time"]::-moz-time-picker-indicator {
    display: none;
}

/* Ensure the custom icon is visible and positioned correctly */
.find-car-form .form-group input[type="time"] + i {
    pointer-events: none;
    z-index: 10;
}

/* Time input customization - hide native clock icon but keep functionality */
input[type="time"] {
    position: relative;
    cursor: pointer;
}

/* Media Queries for form positioning */
@media all and (max-width: 991px) {
    .find-car{
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 50px;
    }

    .find-car-form .theme-btn{
        margin-top: 25px;
    }

    .find-car-title {
        font-size: 28px;
    }

    .find-car-area {
        padding: 40px 0;
        min-height: auto;
    }

    .find-car-form {
        padding: 25px;
    }
}

/* Responsive adjustments for steps */
@media (max-width: 768px) {

    .step-title {
        font-size: 10px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    .step {
        padding: 0 5px;
    }
    .vehicle-card {
        padding: 20px 15px;
    }

    .vehicle-capacity {
        flex-direction: column;
        gap: 10px;
    }

    .capacity-item {
        justify-content: flex-start;
    }

    .price-section {
        margin-top: 15px;
    }

    .vehicle-type {
        font-size: 18px;
    }
}

/* Success Message Styles */
#success-message {
    animation: fadeInSuccess 0.5s ease-out;
}

.success-container {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), #010101);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 0.6s ease-out;
}

.success-icon i {
    color: white;
    font-size: 50px;
}

.success-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 28px;
}

.success-text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-email {
    color: var(--primary);
}

.success-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 15px;
    padding: 20px;
    margin: 25px auto;
    color: #856404;
    max-width: 500px;
    font-size: 16px;
}

.success-warning i {
    margin-right: 10px;
    font-size: 18px;
}

.success-buttons {
    margin-top: 40px;
}

.success-btn-primary {
    background: linear-gradient(135deg, var(--primary), #404040);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    margin-right: 15px;
    margin-bottom: 10px;
}

.success-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.success-btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 16px 40px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    margin-bottom: 10px;
}

.success-btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.success-btn-primary i,
.success-btn-secondary i {
    margin-right: 8px;
}

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

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

/* Responsive adjustments for success message */
@media (max-width: 768px) {
    .success-container {
        padding: 30px 15px;
    }

    .success-title {
        font-size: 24px;
    }

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

    .success-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .success-btn-primary,
    .success-btn-secondary {
        width: 100%;
        margin-right: 0;
    }
}

/* Checkbox styling for equipaje especial */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-check-input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    background-color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-check-input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-check-label {
    font-size: 15px;
    color: #111111;
    cursor: pointer;
    user-select: none;
}

.form-check-label a {
    color: var(--primary);
    text-decoration: underline;
}

.form-check-label a:hover {
    color: var(--secondary);
}

#equipaje-especial-details {
    margin-top: 15px;
    transition: all 0.3s ease;
}

#equipaje-especial-details textarea {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 15px 20px;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
}

#equipaje-especial-details textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(10, 42, 103, 0.15);
}
