.input-with-arrow {
    position: relative;
    display: inline-block;
   
}

.input-with-arrow input { 
    padding-right: 25px; /* space for the arrow */
}

.input-with-arrow .arrow-down {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-bottom: 2px solid #999;
    /*border-bottom: 2px solid #999;*/
    pointer-events: none;
}

.quantity-group{
    display: flex;
}
.quantity-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    background-color: #00000005;
}

.quantity-input input {
    width: 50px;
    text-align: center;
    border: none !important;
    background: transparent;
    font-size: 16px;
    pointer-events: none;
}

.quantity-input button {
    width: 32px;
    height: 38px;
    border: none;
    background-color: #d83324;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.quantity-input button:hover {
    background-color: #c12b1f;
}


.flatpickr-calendar {
    font-family: 'Arial', sans-serif;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #d83324;
    color: white;
}


.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex; justify-content: center; align-items: center;
    z-index: 1;
}

.modal-content {
    background: #fff;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modal-close {
    position: absolute;
    top: 10px; right: 15px;
    cursor: pointer;
    font-size: 24px;
}


/* Style the flight summary as a table */
.flight-summary-table {
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  border: 1px solid #d83324;
  border-collapse: collapse;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

.flight-summary-table th {
  background-color: #d83324;
  color: white;
  text-align: left;
  padding: 12px;
  width: 40%;
  font-weight: bold;
  border-right: 1px solid #fff;
}

.flight-summary-table td {
  background-color: #f9f9f9;
  padding: 12px;
  width: 60%;
}

.flight-summary-table tr:not(:last-child) th,
.flight-summary-table tr:not(:last-child) td {
  border-bottom: 1px solid #ddd;
}

#flight-summary {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #d83324;
    padding: 30px;
}

#flight-summary p {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
    margin: 0;
}

#flight-summary strong {
    width: 40%;
    background-color: #003366;
    color: #fff;
    padding: 8px;
    text-align: left;
    border-radius: 4px 0 0 4px;
}

#flight-summary span {
    width: 60%;
    padding: 8px;
    background-color: #f4f4f4;
    border-radius: 0 4px 4px 0;
}

/* Form styling */
#customer-details-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#customer-details-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#customer-details-form button {
    background-color: #d83324;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

#customer-details-form button:hover {
    background-color: #c12b1f;
}



#flight-search-form {
    max-width: 900px;
    margin: auto;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.form-group, .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}
input, select, button {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: none !important;
    /*border-left: 1px solid red !important;*/
    /*border-right: 1px solid red !important;*/
    border-bottom: 1px solid red !important;
    background: #00000005; 
    border-radius: 5px !important; 
}
.search_buttonn{
    background-color: #d83324;
     color: white;
}
button {
    background-color: #d83324;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #005a8c;
}
@media (min-width: 768px) {
.reservaion_box{
    padding-top:130px;
}
}
@media (max-width: 768px) {
    #flight-search-form,
    .form-row,
    .modal-content {
        width: 100% !important;
        max-width: 100%;
        flex-direction: column !important;
        display: flex !important;
        box-sizing: border-box;
    }

    #flight-search-form input,
    #flight-search-form select,
    #flight-search-form button {
        width: 100% !important;
        margin-bottom: 12px !important;
        font-size: 16px;
    }

    .quantity-input button {
        flex: 1;
        font-size: 20px;
    }

    .search_buttonn {
        font-size: 18px;
    }
    

}



