body {
    background-color: #f8f9fa;
}

.icon-menu {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.icon-menu div {
    text-align: center;
    cursor: pointer;
}

.icon-menu div i {
    font-size: 30px;
    display: block;
    margin-bottom: 5px;
}

.search-box {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 10px;
}

.btn-custom {
    background-color: #0d6efd;
    color: white;
    width: 100%;
}

.btn-custom:hover {
    background-color: #0048d7;
}

.form-control, .form-select {
    border-radius: 0.375rem;
}

.radio-group {
    display: flex;

    margin-bottom: 15px;
}


.search-btn {
    background-color: #302678 !important;
    color: white;
    border-radius: 30px !important;
    font-size: 18px;
    padding: 0.2rem !important;
    font-weight: bold;
}

.search-btn:hover {
    background-color: white;
    color: #023047;
    border: 2px solid #023047;

}

.close-btn {
    background-color: #023047;
    color: white;
    border-radius: 15px;
    font-size: 18px;
    padding: 0.6rem;
    border: 2px solid #023047;
    font-weight: bold;
}

.close-btn:hover {
    background-color: white;
    color: #023047;
    border: 2px solid #023047;

}
.service {
  display: inline-flex; /* اندازه با محتوا تطبیق پیدا کنه */
  align-items: center; /* آیکون و متن وسط‌چین عمودی */
  gap: 0.5rem; /* فاصله بین آیکون و متن */
  padding: 0.4rem 0.8rem; /* کوچک و فشرده */
  border-radius: 20px;
  border: 1px solid #023047;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* سایه خیلی سبک */
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.service svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
}

.service-active {
  background: #ff206e;
  color: #ffffff;
  border-color: #ff206e;
  box-shadow: 0 3px 8px rgba(255,32,110,0.15);
}
.service:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}


@media (max-width: 768px) {
    .service-active, .service {
        padding: 0.5rem 1rem !important;
        margin: 0 0.5rem;
    }

    .icon-menu {
        scale: 0.9;
        justify-content: center;
    }
}


.form-select, .form-control {
    border: 1px solid #023047;
}

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #023047;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
}

/* The checked state */
input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #023047;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

body {
    font-family: Arial, sans-serif;
}

.input-container {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Label styling */
.input-container label {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 9px;
    color: #000;
    margin-bottom: 4px;
}

/* Styling the select dropdown */
.input-container select, .select2 {
    border: 2px solid #023047;
    border-radius: 15px;
    padding: 8px 12px;
    font-size: 16px;
    color: #6b6b6b;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    position: relative;
}

/* Adding a custom arrow */
.input-container select, .select2 {
    /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' width='18px' height='18px'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");*/
    /*background-repeat: no-repeat;*/
    /*background-position: right 10px center;*/
}

/* Input text customization when selected */
.input-container select:focus, .select2:focus {
    border-color: #023047;
    outline: none;
}


label {
    margin-bottom: -0.5rem !important;
    z-index: 999;
    background-color: white;
    padding: 0 0.5rem;
    width: fit-content;
    margin-left: 8px;
}

label span {
    font-weight: normal;
    font-size: 12px;
    letter-spacing: normal;
    text-transform: none;
}

.swap-icon {
    display: contents;
}

@media (max-width: 768px) {
    .swap-icon {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}


.swap-icon button {
    border-radius: 100px;
    width: 40px;
    color: white;
    height: 40px;b
    margin: 0 0.6rem 0.6rem 0.6rem;
    background-color: #fefefe;
    border: 2px solid #023047;
}



/* Styling the select dropdown */
.input-container input {
    border: 2px solid #023047;
    border-radius: 15px;
    padding: 8px 12px;
    font-size: 16px;
    color: #6b6b6b;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    position: relative;
}

/* Adding a custom arrow */
.input-container input {
}

/* Input text customization when selected */
.input-container input:focus {
    border-color: #023047;
    outline: none;
}

.passenger-selector {

    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    position: absolute;
    margin-top: 1rem;
    z-index: 9;
    min-width: 250px;
}

#passenger-selector-area {
    display: none;
}

.passenger-selector h5 {
    margin-bottom: 20px;
}

.passenger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.passenger-item label {
    margin-right: 10px;
    font-size: 14px;
}

.passenger-item button {
    width: 35px;
    height: 35px;
    background-color: #023047;
    color: white;

}

.passenger-item button:hover {
    width: 35px;
    height: 35px;
    background-color: #fff;
    color: #023047;
    border: 2px solid #023047;
}

.sub-label {
    font-size: 10px;
    color: rgba(0, 0, 0, 0.4)
}

.select2-selection {
    border: none !important;
}

.select2-results__options::-webkit-scrollbar {
    width: 5px;

}

.select2-results__options::-webkit-scrollbar-track {
    background-color: #F4F4F4;
    height: 8px;
    background-clip: padding-box;
    border-right: 10px solid rgba(0, 0, 0, 0);
    border-top: 10px solid rgba(0, 0, 0, 0);
    border-bottom: 10px solid rgba(0, 0, 0, 0);
}

.select2-results__options::-webkit-scrollbar-thumb {
    background-clip: padding-box;
    background-color: #0F2464;

    border-top: 10px solid rgba(0, 0, 0, 0);
    border-bottom: 10px solid rgba(0, 0, 0, 0);
}

.select2-results__options::-webkit-scrollbar-button {
    display: none;
}

.select2-search__field:focus {
    border: none !important;
}

.select2 {
    width: 100% !important;
}

.disabled-date {
    opacity: 0.2;
    pointer-events: none;
}

.flight-section,.hotel-section{
    display: contents;
}
@media (min-width: 768px) {
    .hotel-train-bus-section{
        display: contents;
    }
}
@media (max-width: 768px) {
    .flight-section,.hotel-section{
        display: block;
        margin: 0;
        justify-content: space-between;
    }
}
#swap-btn {
    background:#302678 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin:5px !important;
}

#swap-btn:hover {
    animation: spin 0.5s linear 1;
}

#swap-btn:not(:hover) {
    animation: reverse-spin 0.8s linear 1;
}

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

@keyframes reverse-spin {
    0% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(0deg);
    }
}


.swal2-popup{
    font-family: 'Vazirmatn';
}

.room {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}
.room h5 {
    margin-bottom: 10px;
}
.delete-room {
    color: red;
    cursor: pointer;
}
.counter {
    display: flex;
    align-items: center;
}

.confirm-btn {
    text-align: center;
    margin-top: 15px;
}

.disabled{
    pointer-events: none;
    opacity: 0.4;
}

.flight-item{
    display: flex;
    justify-content: space-between;
}

.flight-details{
    display: flex;
    flex-direction: column;
}

.flight-iata-code{
    display: flex;
    align-items: center;
    font-weight: 200;
}
.flight-country-city{
    font-weight: 900;
}

.airport-name{
    font-weight: 200;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){
    background-color: #023047 !important;
    border-radius: 15px;
    padding: 1rem 6rem;
}

.train-section{
    margin-bottom: 3rem;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .train-section{
        flex-direction: column;
    }
}

