/* ============================================================
   GLOBAL RESET
============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #f9f9f9;
}

/* ============================================================
   BANNER
============================================================ */
.package-banner {
    width: 100%;
    height: 330px;
    background-size: cover;
    background-position: center;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    overflow: hidden;
}

/* ============================================================
   TABS WRAPPER
============================================================ */
.mmt-tabs-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: -60px auto 0 auto;
    background: #ffffff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    border-radius: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    position: relative;
    z-index: 20;
}

.mmt-tab {
    padding: 12px 24px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    border-radius: 30px;
    position: relative;
}

.mmt-tab.active {
    font-weight: 700;
    color: #0066ff;
}

.tab-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* ============================================================
   BLUE POINTER TRIANGLE UNDER TAB
============================================================ */
#triangle-pointer {
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 12px solid #0066ff;
    margin: 0 auto;
    position: relative;
    top: -10px;
    opacity: 0;
    transition: all 0.2s ease;
}

/* ============================================================
   DROPDOWN PANELS
============================================================ */
.mmt-dropdown {
    width: 90%;
    max-width: 1200px;
    margin: 5px auto 40px auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 25px 35px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    position: relative;
}

.hidden {
    display: none !important;
}

/* ============================================================
   SEARCH BOX GRID
============================================================ */
.search-box {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.search-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 15px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.search-item:hover {
    border-color: #000;
}

.search-item label {
    font-size: 13px;
    color: #777;
}

.search-selected {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 600;
}

/* ============================================================
   SEARCH BUTTON
============================================================ */
.search-btn-wrapper {
    text-align: center;
}

.search-btn {
    background: linear-gradient(45deg, #007bff, #0057ff);
    padding: 14px 60px;
    color: #fff;
    border-radius: 35px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: 0.2s;
}

.search-btn:hover {
    opacity: 0.9;
}

/* ============================================================
   MODALS (Large Dropdown Boxes)
============================================================ */
.large-modal {
    position: fixed;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 1100px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    z-index: 1001;
    display: none;
}

.large-modal:not(.hidden) {
    display: block;
}


.modal-header {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-body {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar */
.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-track {
    background: #f5f5f5;
}
.modal-body::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 20px;
}

/* ============================================================
   POPULAR DESTINATION LIST ITEMS
============================================================ */
.destination-item {
    padding: 13px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: 0.15s;
}

.destination-item:hover {
    background: #f1f5ff;
}

.destination-name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.destination-meta {
    font-size: 12px;
    color: #777;
}

/* ============================================================
   DROPDOWN TITLE HEADERS
============================================================ */
.dropdown-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
}

/* ============================================================
   GRID FOR HONEYMOON, VISA-FREE, GROUP, LAST-MINUTE
============================================================ */
.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.dropdown-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: 0.2s ease;
}

.dropdown-card:hover {
    transform: translateY(-5px);
}

.dropdown-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.dropdown-card-title {
    padding: 10px;
    font-size: 15px;
    font-weight: 600;
}

/* ============================================================
    ROOM/GUEST BUTTONS
============================================================ */
.counter-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.counter-btn {
    background: #e4ecff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
}

.counter-value {
    font-size: 18px;
    min-width: 25px;
    text-align: center;
    font-weight: 600;
}

/* ============================================================
    FILTER SLIDERS + OPTIONS
============================================================ */
.filter-section {
    margin-bottom: 20px;
}

.filter-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.filter-buttons {
    display: flex;
    gap: 12px;
}

.filter-btn {
    padding: 7px 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 14px;
}

.filter-btn.active {
    background: #def;
    border-color: #0095ff;
    color: #0057ff;
}

/* ============================================================
   CALENDAR (simple box — will be JS-powered)
============================================================ */
.calendar-body {
    height: 350px;
    background: #fafafa;
    border-radius: 14px;
    padding: 15px;
}

.place-card {
    display: flex;
    gap: 12px;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.10);
    margin-bottom: 12px;
    cursor: pointer;
    transition: 0.2s ease;
}

.place-card:hover {
    transform: translateY(-3px);
}

.place-img {
    width: 85px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
}

.place-info {
    flex: 1;
}

.place-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.place-desc {
    font-size: 12px;
    color: #555;
}

/* =========================
   MMT Calendar UI
========================= */

.calendar-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.calendar-nav button {
    background: #e9efff;
    border: 0;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
    font-size: 13px;
}

.calendar-day {
    padding: 10px 0;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.calendar-day.disabled {
    color: #aaa;
    cursor: not-allowed;
}

.calendar-day:hover:not(.disabled) {
    background: #e8f0ff;
}

.calendar-day.selected {
    background: #0066ff;
    color: #fff;
}
/* ============================================================
   ROOMS & GUESTS (MakeMyTrip Style)
============================================================ */

.room-box {
    background: #f7f9ff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #e1e6f0;
}

.room-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.counter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0;
}

.counter-label {
    font-size: 14px;
    color: #333;
}

.counter-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.counter-controls button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #e4ecff;
    font-size: 18px;
    cursor: pointer;
}

.counter-value {
    min-width: 25px;
    font-weight: 700;
    text-align: center;
}

.add-room-btn {
    background: #0066ff;
    color: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    margin-top: 15px;
    font-weight: 700;
}

.remove-room {
    color: #ff3333;
    cursor: pointer;
    font-size: 13px;
    text-align: right;
    margin-top: -5px;
}

/* ============================================================
   FILTERS POPUP (MakeMyTrip Style)
============================================================ */

.filters-section {
    background: #f7f9ff;
    padding: 15px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e1e6f0;
}

.filters-title {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
}

.filters-subtitle {
    font-size: 13px;
    margin-bottom: 6px;
    color: #666;
}

.option-row {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.option-btn {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #d0d7e3;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}

.option-btn.active {
    background: #dceaff;
    border-color: #0066ff;
    color: #0066ff;
    font-weight: 700;
}

.slider-value {
    font-size: 13px;
    margin-top: 5px;
    color: #555;
}

.filter-footer-btns {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.filter-reset-btn {
    background: #fff;
    border: 1px solid #b8c6e0;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.filter-apply-btn {
    background: #0066ff;
    color: #fff;
    padding: 10px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}
#modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 1000;
}

.modal-content {
    display: flex;
    height: 420px;
    border-top: 1px solid #eee;
}
.modal-close {
    float: right;
    font-size: 22px;
    font-weight: 700;
    padding: 2px 6px;
    cursor: pointer;
    color: #666;
}

.modal-close:hover {
    color: #000;
}
#citySearch {
    font-size: 14px;
}

#cityResults .destination-item {
    padding: 12px 15px;
}
/* Small Destination Modal (MMT Style) */
#modal-to-city.large-modal {
    width: 70% !important;
    max-width: 850px !important;
}

#modal-to-city .modal-content {
    height: 350px !important;
}

#toCityList {
    width: 38% !important;
}

#placeGrid {
    width: 62% !important;
}
