/* Search Page Specific Styles */

/* Remove list markers */
ul, ol {
    list-style: none;
}

ul::marker, ol::marker {
    display: none;
    content: '';
}

.search-section {
    min-height: calc(100vh - 110px);
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.FormSearch__Container {
    background: var(--white);
    border-radius: 25px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.heading {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.3;
}

.sec-heading {
    font-size: 20px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 500;
}

/* Tabs */
.FormSearch__Container__Tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.FormSearch__Container__Tabs__Tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--bg-light);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.FormSearch__Container__Tabs__Tab i {
    font-size: 24px;
}

.FormSearch__Container__Tabs__Tab:hover {
    background: rgba(0, 49, 83, 0.1);
    transform: translateY(-2px);
}

.FormSearch__Container__Tabs__Tab.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

/* Tab Content */
.FormSearch__Container__Content {
    display: none;
}

.FormSearch__Container__Content.active {
    display: block;
}

/* Form Content */
.FormContent {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.FormContent__Top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.FormContent__Top__Left.w-100 {
    width: 100%;
}

.FormContent__Top__Left.w-120 {
    width: 100%;
}

.FormContent__Top__Right.w-140 {
    width: 100%;
    grid-column: 1 / -1;
}

/* Input Fields */
.input-field {
    position: relative;
}

.input-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    right: 15px;
    font-size: 20px;
    color: var(--primary-color);
}

.input-wrapper input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--white);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 49, 83, 0.1);
}

/* Travellers Section */
.addTravellersContent {
    position: relative;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}

.addTravellersContent:hover {
    border-color: var(--primary-color);
}

.addTravellersContent__Left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.addTravellersContent__Left i {
    font-size: 20px;
    color: var(--primary-color);
}

.addTravellersContent__Left .title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.addTravellersDropdown {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 500px;
    max-width: 90vw;
    padding: 30px;
    max-height: 85vh;
    overflow-y: auto;
    border: none;
}

/* Custom Scrollbar for Popup */
.addTravellersDropdown::-webkit-scrollbar {
    width: 8px;
}

.addTravellersDropdown::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.addTravellersDropdown::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.addTravellersDropdown::-webkit-scrollbar-thumb:hover {
    background: rgb(0, 70, 118);
}

.addTravellersDropdown.active {
    display: block;
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Modal Backdrop */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    animation: backdropFadeIn 0.3s ease;
}

.modal-backdrop.active {
    display: block;
}

@keyframes backdropFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.RoomComponent {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.room-item {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.room-item:hover {
    border-color: var(--primary-color);
    background: rgba(0, 49, 83, 0.05);
}

.RoomComponent__title {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.RoomComponent__title p {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.RoomComponent__Info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item {
    text-align: center;
}

.item .title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
}

.Count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--white);
    padding: 12px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.btn-count {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 49, 83, 0.2);
}

.btn-count:hover {
    background: rgb(0, 70, 118);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 49, 83, 0.3);
}

.btn-count:active {
    transform: scale(0.95);
}

.btn-count i {
    font-size: 18px;
}

.Count input {
    width: 60px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Popup Header */
.addTravellersDropdown__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.addTravellersDropdown__header h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.addTravellersDropdown__header h3 i {
    font-size: 24px;
}

.close-dropdown-btn {
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-dropdown-btn:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.addTravellersDropdown__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

/* Responsive adjustments for dropdown footer */
@media (max-width: 480px) {
    .addTravellersDropdown__footer {
        flex-direction: column-reverse;
        gap: 12px;
    }
    
    .btn-add, .btn-applay {
        width: 100%;
    }
}

.btn-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    background: var(--bg-light);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-add:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 49, 83, 0.2);
}

.btn-applay {
    padding: 12px 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 49, 83, 0.2);
    width: 100%;
}

.btn-applay:hover {
    background: rgb(0, 70, 118);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 49, 83, 0.3);
}

/* Date Input */
.inputDate {
    padding: 0;
    border: none;
    border-radius: 12px;
    background: transparent;
}

.date-input-group {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;
}

.date-input-wrapper {
    position: relative;
}

.date-input-wrapper i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--primary-color);
    pointer-events: none;
}

.date-input-wrapper input[type="date"] {
    width: 100%;
    padding: 14px 45px 14px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-input-wrapper input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 49, 83, 0.1);
}

.date-arrow {
    color: var(--primary-color);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stars Select */
.CustomeSelect {
    position: relative;
}

.CustomeSelect__Container {
    position: relative;
}

.CustomeSelect__Container__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.CustomeSelect__Container__header:hover {
    border-color: var(--primary-color);
}

.CustomeSelect__Container__header .title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.CustomeSelect__Container__header .Arrow {
    font-size: 20px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.CustomeSelect__Container.active .Arrow {
    transform: rotate(180deg);
}

.CustomeSelect__Container__DropDown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    overflow: hidden;
}

.CustomeSelect__Container.active .CustomeSelect__Container__DropDown {
    display: block;
}

.CustomeSelect__Container__DropDown .hr {
    margin: 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

.CustomeSelect__Container__DropDown__List {
    padding: 0;
    margin: 0;
}

.CustomeSelect__Container__DropDown__List__item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    color: var(--text-dark);
}

.CustomeSelect__Container__DropDown__List__item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
}

/* Bottom Section */
.FormContent__Bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.FormContent__Bottom__Left {
    flex: 1;
}

.FormContent__Bottom__Right {
    flex-shrink: 0;
    width: 100%;
    max-width: 300px;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    width: 100%;
}

.search-btn:hover {
    background: rgb(0, 70, 118);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.search-btn i {
    font-size: 20px;
}

/* Trip Type Selector */
.trip-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.trip-type-option {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--bg-light);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.trip-type-option:hover {
    border-color: var(--primary-color);
    background: rgba(0, 49, 83, 0.05);
}

.trip-type-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.trip-type-option input[type="radio"]:checked + span {
    color: var(--primary-color);
}

.trip-type-option:has(input[type="radio"]:checked) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.trip-type-option:has(input[type="radio"]:checked) span {
    color: var(--white);
}

/* Subtitle for age groups */
.subtitle {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
    display: block;
    margin-top: 2px;
}

/* Coming Soon */
.coming-soon {
    text-align: center;
    padding: 80px 20px;
}

.coming-soon i {
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.coming-soon h3 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.coming-soon p {
    font-size: 18px;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
    .FormSearch__Container {
        padding: 35px 25px;
    }

    .heading {
        font-size: 32px;
    }

    .sec-heading {
        font-size: 18px;
    }

    .FormContent__Top {
        grid-template-columns: 1fr;
    }

    .addTravellersDropdown {
        min-width: 90vw;
        max-width: 90vw;
        padding: 25px 20px;
    }

    .FormContent__Bottom {
        flex-direction: column;
        align-items: stretch;
    }
    
    .FormContent__Bottom__Left {
        width: 100%;
    }
    
    .FormContent__Bottom__Right {
        max-width: 100%;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .search-section {
        padding-top: 100px;
    }

    .FormSearch__Container {
        padding: 25px 15px;
        border-radius: 15px;
    }

    .heading {
        font-size: 26px;
    }

    .sec-heading {
        font-size: 16px;
    }

    .FormSearch__Container__Tabs {
        flex-direction: column;
        gap: 12px;
    }

    .FormSearch__Container__Tabs__Tab {
        padding: 14px 30px;
        justify-content: center;
    }

    .RoomComponent__Info {
        grid-template-columns: 1fr;
    }

    .date-input-group {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .date-arrow {
        transform: rotate(90deg);
        grid-row: 2;
    }
    
    .date-input-wrapper:first-child {
        grid-row: 1;
    }
    
    .date-input-wrapper:last-child {
        grid-row: 3;
    }
}

@media (max-width: 480px) {
    .heading {
        font-size: 22px;
    }

    .sec-heading {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .FormSearch__Container__Tabs__Tab {
        font-size: 16px;
        padding: 12px 20px;
    }

    .search-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .trip-type-selector {
        flex-direction: column;
        gap: 12px;
    }
    
    .trip-type-option {
        width: 100%;
        justify-content: center;
    }
    
    .addTravellersDropdown__header h3 {
        font-size: 18px;
    }
    
    .close-dropdown-btn {
        width: 32px;
        height: 32px;
        font-size: 24px;
    }
}

