/* ==========================================================
   VARIABLES
========================================================== */

:root {
    --desktop-max-width: 800px;
    --desktop-min-width: 420px;

    --mobile-max-width: 427px;
    --mobile-min-width: 390px;

    --header-height: 78px;
    --bottom-nav-height: 82px;

    --page-padding: 16px;
    --card-gap: 16px;
    --padding-md: 12px;

    --tour-date-width: 148px;
    --tour-action-width: 148px;

    --primary: #1565D8;
    --primary-light: #EDF4FF;

    --success: #34A853;
    --success-light: #EAF8EE;

    --warning: #F9AB00;
    --warning-light: #FFF7E5;

    --danger: #EA4335;
    --danger-light: #FDECEA;

    --gray: #6B7280;
    --gray-light: #F5F7FA;

    --border: #E6EAF0;
    --white: #FFFFFF;

    --body-bg: #F3F5F9;
    --text: #24324A;
    --text-light: #6B7280;

    --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
    --shadow-md: 0 6px 20px rgba(0,0,0,.08);
    --shadow-floating: 0 6px 24px rgba(0,0,0,.08);

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 10px;

    --font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --font-xs: 10px;
    --font-sm: 12px;
    --font-md: 14px;
    --font-lg: 18px;
    --font-xl: 20px;
    --font-2xl: 24px;
    --font-3xl: 30px;
    --font-price: 18px;

    --tour-weekday-pd: 8px 0;
    --tour-title-mg-bt: 12px;

}

/* ==========================================================
   MOBILE VARIABLES
========================================================== */

@media (max-width: 427px) {
    :root {
        --font-xs: 6px;
        --font-sm: 8px;
        --font-md: 10px;
        --font-lg: 14px;
        --font-xl: 16px;
        --font-2xl: 20px;
        --font-3xl: 26px;
        --font-price: 14px;

        --tour-date-width: 100px;
        --tour-action-width: 100px;

        --page-padding: 8px;
        --padding-md: 6px;
        --card-gap: 8px;

        --bottom-nav-height: 70px;

        --tour-weekday-pd: 4px 0;
        --tour-title-mg-bt: 4px;
    }
}

/* ==========================================================
   RESET / BASE
========================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    margin: 0;
    background: var(--body-bg);
    color: var(--text);
    font-family: var(--font-family);
    font-size: var(--font-md);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

button:focus,
a:focus,
input:focus,
select:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ==========================================================
   PAGE
========================================================== */

.page {
    position: relative;
    width: 100%;
    min-width: var(--desktop-min-width);
    max-width: var(--desktop-max-width);
    margin: 0 auto;
}

.page-content {
    padding:
        calc(var(--header-height) + var(--page-padding))
        var(--page-padding)
        calc(var(--bottom-nav-height) + var(--page-padding));
}

@media (max-width: 427px) {
    .page {
        min-width: var(--mobile-min-width);
        max-width: var(--mobile-max-width);
    }
}

/* ==========================================================
   HEADER / FILTER
========================================================== */

.page-header {
    position: fixed;
    z-index: 1100;
    top: 0;
    left: 50%;
    width: 100%;
    height: var(--header-height);
    min-width: var(--desktop-min-width);
    max-width: var(--desktop-max-width);
    padding: 12px var(--page-padding);
    transform: translateX(-50%);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-floating);
}

.filter-bar {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.filter-item {
    display: flex;
    min-width: 0;
    align-items: center;
    padding-left: 10px;
    border-right: 1px solid var(--border);
}

.filter-item:last-child {
    border-right: 0;
}

.filter-country {
    flex: 0 0 35%;
}

.filter-destination {
    flex: 0 0 35%;
}

.filter-month {
    flex: 0 0 30%;
}

.filter-icon {
    flex-shrink: 0;
    margin-right: 8px;
    color: var(--primary);
    font-size: 18px;
}

.filter-item .form-select {
    min-width: 0;
    flex: 1;
    padding: 4px 2rem 4px 4px;
    border: 0;
    box-shadow: none;
    font-size: var(--font-md);
    font-weight: 600;
}

/* ==========================================================
   SUMMARY
========================================================== */

.summary-card {
    display: flex;
    align-items: center;
    margin-bottom: var(--card-gap);
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.summary-left,
.summary-right {
    width: 50%;
}

.summary-left {
    display: flex;
    min-width: 0;
    align-items: center;
    padding-right: 20px;
    border-right: 1px solid var(--border);
}

.summary-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
}

.summary-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.summary-icon i {
    color: var(--primary);
    font-size: var(--font-3xl);
}

.summary-content {
    min-width: 0;
    margin-left: 14px;
}

.summary-title {
    color: var(--text);
    font-size: var(--font-md);
    font-weight: 700;
    line-height: 1.2;
}

.summary-subtitle {
    margin-top: 4px;
    color: var(--text-light);
    font-size: var(--font-md);
}

.summary-right .form-check {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
}

.summary-right .form-check-input {
    width: 42px;
    height: 22px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.summary-right .form-check-label {
    color: var(--text);
    font-size: var(--font-md);
    line-height: 1.35;
    cursor: pointer;
    user-select: none;
}

.tour-count-loading {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: tourCountSpin .7s linear infinite;
    vertical-align: middle;
}

@keyframes tourCountSpin {

    to {
        transform: rotate(360deg);
    }

}

/* ==========================================================
   TOUR CARD
========================================================== */

.tour-card {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    margin-bottom: var(--card-gap);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    animation: cardFade .35s ease;
    transition: .25s;
}

.tour-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.tour-card:hover .tour-title {
    color: var(--primary);
}

.tour-card:hover .tour-price {
    transform: scale(1.02);
}

.tour-card:hover .tour-month {
    filter: brightness(.95);
}

/* ==========================================================
   DATE
========================================================== */

.tour-date {
    display: flex;
    flex: 0 0 var(--tour-date-width);
    align-items: center;
    padding: var(--padding-md);
}

.date-card {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #fff;
}

.status-available .date-card {
    background: var(--success-light);
}

.status-warning .date-card {
    background: var(--warning-light);
}

.status-full .date-card {
    background: var(--gray-light);
}

.tour-month {
    width: 100%;
    padding: 8px 0;
    color: var(--primary);
    font-size: var(--font-md);
    font-weight: 700;
    letter-spacing: .5px;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 427px) {
    .tour-month{
        font-size: var(--font-lg);
    }
}

.tour-weekday {
    width: 100%;
    padding: var(--tour-weekday-pd);
    background: var(--primary);
    color: #fff;
    font-size: var(--font-lg);
    font-weight: 700;
    letter-spacing: .3px;
    text-align: center;
}

.status-available .tour-weekday {
    background: var(--success);
}

.status-warning .tour-weekday {
    background: var(--warning);
}

.status-full .tour-weekday {
    background: #8A94A6;
}

.tour-day {
    margin-top: 12px;
    color: var(--text);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.status-available .tour-day {
    color: var(--success);
}

.status-warning .tour-day {
    color: var(--warning);
}

.status-full .tour-day {
    color: #8A94A6;
}

.tour-status {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding: 12px 10px;
}



/* ==========================================================
   STATUS BADGES
========================================================== */

.status-badge {
    display: flex;
    width: 100%;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border: 1px solid;
    border-radius: 999px;
    font-size: var(--font-md);
    font-weight: 700;
    text-align: center;
}

@media (max-width: 427px) {
    .tour-status{
        gap: 4px;
        padding: 4px 10px;
    }

    .status-badge{
        min-height: 20px;
        padding: 4px 8px;
    }
}

.badge-available {
    border-color: var(--success);
    background: var(--success-light);
    color: var(--success);
}

.status-warning .badge-available,
.badge-warning {
    border-color: var(--warning);
    background: var(--warning-light);
    color: var(--warning);
}

.badge-hold {
    border-color: var(--danger);
    background: var(--danger-light);
    color: var(--danger);
}

.badge-full {
    border-color: var(--gray);
    background: var(--gray-light);
    color: var(--gray);
}

/* ==========================================================
   TOUR BODY
========================================================== */

.tour-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    justify-content: top;
    padding: var(--padding-md);
}

.tour-title {
    margin-bottom: var(--tour-title-mg-bt);
    color: var(--text);
    font-size: var(--font-lg);
    font-weight: 700;
    line-height: 1.35;
}

.tour-note {
    margin-bottom: 8px;
}

.tour-note p {
    margin-bottom: 4px;
}

.tour-note p:last-child {
    margin-bottom: 0;
}

.tour-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.tour-price {
    flex: 0 0 auto;
}

.tour-promotion-tag {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
}

.tour-price {
    color: var(--danger);
    font-size: var(--font-xl);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.5px;
}

.tour-promotion-tag {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.promotion-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.promotion-tag span {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

@media (max-width: 427px) {
    .promotion-tag {
        gap: 5px;
        font-size: 10px;
    }
}

.tour-detail-promotion {
    margin-top: 12px;
    margin-bottom: 12px;
}

.promotion-section {
    padding: 12px;
    border-radius: 10px;
    background: #fff8e1;
    border: 1px solid #ffe082;
}

.promotion-title {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 700;
}

.promotion-item {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 7px;
    font-size: 13px;
    line-height: 1.4;
}

.promotion-item span {
    color: #555;
}

.promotion-note {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
    font-size: 12px;
    line-height: 1.4;
    color: #666;
}

.promotion-deadline {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
}

.promotion-contact {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ffe082;
}

.promotion-contact-title {
    font-size: 12px;
    font-weight: 700;
}

.promotion-contact a {
    display: inline-block;
    margin-top: 2px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.tour-flight {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.tour-flight-item {
    min-width: 0;
}

.flight-title {
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.flight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.flight-line {
    line-height: 1.4;
    font-size: var(--font-sm);
}

.flight-line strong {
    font-size: var(--font-md);
    flex: 0 0 auto;
    color: var(--primary);
}

.flight-line span {
    min-width: 0;
}

.flight-departure .bi-airplane-fill::before,
.flight-departure-icon::before {
    transform: rotate(90deg);
}

.flight-return .bi-airplane-fill::before,
.flight-return-icon::before{
    transform: rotate(-90deg);
}

/* ==========================================================
   ACTION
========================================================== */

.tour-action {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.tour-action .btn {
    display: flex;
    width: 100%;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    font-size: var(--font-md);
    font-weight: 600;
    transition: .25s;
}

.btn-tour-detail {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-tour-detail:hover {
    background: var(--primary);
    color: #fff;
}

.btn-tour-action:hover {
    filter: brightness(.95);
}

.btn:active {
    transform: scale(.97);
}

/* ==========================================================
   BOTTOM NAV
========================================================== */

.bottom-nav {
    position: fixed;
    z-index: 1100;
    bottom: 0;
    left: 50%;
    display: flex;
    width: 100%;
    height: var(--bottom-nav-height);
    min-width: var(--desktop-min-width);
    max-width: var(--desktop-max-width);
    align-items: flex-start;
    justify-content: space-between;
    padding: 8px 10px 10px;
    transform: translateX(-50%);
    border-top: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-floating);
}

.bottom-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 0;

    border: 0;
    background: transparent;

    color: var(--text-light);
    font-family: inherit;
    text-decoration: none;

    cursor: pointer;

    transition: .25s;
}

.bottom-item:focus {
    outline: none;
    box-shadow: none;
}

.bottom-item:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.bottom-item:active {
    transform: scale(.95);
}

.bottom-item i {
    font-size: var(--font-md);
    line-height: 1;
}

.bottom-item span {
    font-size: var(--font-md);
    font-weight: 600;
    line-height: 1.2;
}

.bottom-item:nth-child(1) i { color: #1976D2; }
.bottom-item:nth-child(2) i { color: #FF6B35; }
.bottom-item:nth-child(3) span { color: var(--primary); font-weight: 700; }
.bottom-item:nth-child(4) i { color: #34A853; }
.bottom-item:nth-child(5) i { color: #8E44AD; }

.bottom-center-circle {
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin-top: -28px;
    margin-bottom: 2px;
    border: 6px solid var(--white);
    border-radius: 50%;
    background: var(--primary);
    box-shadow: var(--shadow-md);
}

.bottom-center-circle i {
    color: var(--primary-light);
    font-size: var(--font-lg);
}

/* ==========================================================
   MODAL
========================================================== */

#tourDetailModal, 
#promotionModal,
#companyModal,
#menuModal {
    z-index: 11000;
}

.modal-backdrop {
    z-index: 10999;
}

.modal-tour {
    overflow: hidden;
    border: 0;
    border-radius: 20px;
}

.modal-title {
    font-size: var(--font-lg);
}

#modalTourDate{
    font-size: var(--font-lg);
    font-weight: 700;
}

#modalTourStatus{
    display: inline;
}

#modalTourStatus .status-badge{
    display: inline;
    margin-left: 4px;
}

.modal-tour-info-actions{
    margin-bottom: 12px;
}

.modal-tour-info-actions .btn{
    font-size: var(--font-lg);
    border-radius: 12px;
    font-weight: 600;
}

.modal-tour-title {
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.modal-tour-note {
    margin-bottom: 16px;
}

.modal-tour-note * {
    font-size: 14px !important;
}

.modal-tour-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
}

.modal-tour-status .status-badge {
    display: inline-flex;
    width: auto;
    flex: none;
    white-space: nowrap;
}

.modal-tour-section {
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 12px;
    background: #F8F9FB;
}

.modal-tour-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: var(--font-lg);
    font-weight: 700;
}

.modal-tour-flight {
    display: flex;
    gap: 16px;
}
.modal-tour-flight-lines{
    font-size: var(--font-md);
}

.modal-tour-flight-lines b{
    color: var(--primary);
    font-size: var(--font-lg);
    display: block;
}

.modal-tour-flight-item {
    min-width: 0;
    flex: 1;
}

.modal-tour-flight-item:first-child {
    border-right: 1px solid #e5e7eb;
}

.modal-tour-flight-date {
    margin-top: 8px;
    font-size: var(--font-lg);
    font-weight: 600;
}

.modal-tour-flight-code {
    margin-top: 4px;
    color: var(--text-light);
    font-size: var(--font-md);
}

.modal-tour-price-table {
    width: 100%;
    font-size: var(--font-lg);
}

.modal-tour-price-main {
    color: var(--danger);
    font-size: var(--font-lg);
    font-weight: 700;
}

.modal-tour-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.modal-tour-btn {
    display: flex;
    width: 100%;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    font-weight: 600;
}

.modal-tour .modal-footer {
    justify-content: center;
    border-top: 0;
}


/* ==========================================================
MODAL HEADER STATUS
========================================================== */

.modal-tour .modal-header {
    color: #fff;
}


/* AVAILABLE */

.modal-tour.status-available .modal-header {
    background: var(--success);
    color: var(--success-light);
}


/* WARNING */

.modal-tour.status-warning .modal-header {
    background: var(--warning);
    color: var(--warning-light);    
}


/* FULL */

.modal-tour.status-full .modal-header {
    background: var(--gray);
    color: var(--gray-light); 
}


.modal-tour.status-available .btn-close,
.modal-tour.status-warning .btn-close,
.modal-tour.status-full .btn-close {
    filter: brightness(0) invert(1);
    opacity: .9;
}

.modal-tour .modal-tour-header-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}


.modal-tour #modalTourStatus {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: 4px;
}


.modal-tour #modalTourStatus .status-badge {
    width: auto;
    min-height: 24px;
    padding: 3px 8px;
}

/* ==========================================================
   LOADING
========================================================== */

.summary-left.loading {
    pointer-events: none;
}

.summary-left.loading .summary-icon {
    animation: summarySpin 1s linear infinite;
}

.summary-left.loading .summary-icon i {
    display: none;
}

.summary-left.loading .summary-icon::before {
    display: block;
    width: 22px;
    height: 22px;
    border: 3px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    content: "";
}

.summary-left.loading .summary-title,
.summary-left.loading .summary-subtitle {
    overflow: hidden;
    color: transparent;
    border-radius: 6px;
    background: #eceff3;
}

.summary-left.loading .summary-title {
    width: 100%;
    height: 20px;
}

.summary-left.loading .summary-subtitle {
    width: 100%;
    height: 14px;
    margin-top: 8px;
}

.tour-list-wrapper {
    position: relative;
    min-height: 200px;
}

.tour-list-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 20px;
}

.tour-list-wrapper.loading .tour-list-loading {
    display: flex;
}

.tour-list-wrapper.loading #tour-list {
    display: none;
}

.tour-list-loading-text {
    color: var(--text-light);
    font-size: 14px;
}

@keyframes summarySpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes cardFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 427px) {

    .page-header,
    .bottom-nav {
        min-width: var(--mobile-min-width);
        max-width: var(--mobile-max-width);
    }

    .filter-icon {
        font-size: var(--font-xl);
    }

    .summary-card {
        padding: 12px 10px;
    }

    .summary-left {
        padding-right: 10px;
    }

    .summary-right {
        padding-left: 10px;
    }

    .summary-content {
        margin-left: 8px;
    }

    .tour-title {
        font-size: 12px;
    }

    .tour-price {
        font-size: var(--font-xl);
    }

    .tour-flight {
        font-size: var(--font-md);
    }

    .tour-note,
    .tour-note * {
        font-size: 12px !important;
    }

    .tour-action {
        margin-top: 8px;
        gap: 8px;
    }

    .tour-action .btn {
        height: 24px;
        padding: 4px;
    }

    .bottom-nav {
        padding: 8px 6px 10px;
    }

    .bottom-item i {
        font-size: var(--font-xl);
    }

    .bottom-item span {
        font-size: var(--font-sm);
    }

    .bottom-center-circle {
        width: 60px;
        height: 60px;
        margin-top: -24px;
    }

    .bottom-center-circle i {
        font-size: var(--font-xl);
    }

    .modal-tour-btn {
        height: 40px;
    }
}

/* ==========================================================
   SCROLLBAR
========================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F3F5F9;
}

::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #C9D2DD;
}

::-webkit-scrollbar-thumb:hover {
    background: #AEB9C8;
}

/* ==========================================================
TOUR EMPTY
========================================================== */

.tour-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    margin-bottom: var(--card-gap);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    text-align: center;
}


.tour-empty-icon {
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--gray-light);
}


.tour-empty-icon i {
    color: var(--gray);
    font-size: 30px;
}


.tour-empty-title {
    color: var(--text);
    font-size: var(--font-lg);
    font-weight: 700;
    line-height: 1.3;
}


.tour-empty-text {
    max-width: 420px;
    margin-top: 6px;
    color: var(--text-light);
    font-size: var(--font-md);
    line-height: 1.5;
}


/* ==========================================================
EMPTY ACTIONS
========================================================== */

.tour-empty-actions {
    display: grid;
    width: 100%;
    max-width: 420px;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}


.tour-empty-actions .btn {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: var(--font-md);
    font-weight: 600;
}


.tour-empty-actions .btn i {
    flex-shrink: 0;
}


/* ==========================================================
MOBILE
========================================================== */

@media (max-width: 427px) {

    .tour-empty {
        padding: 32px 14px;
    }


    .tour-empty-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 12px;
    }


    .tour-empty-icon i {
        font-size: 26px;
    }


    .tour-empty-title {
        font-size: var(--font-lg);
    }


    .tour-empty-text {
        font-size: var(--font-md);
    }


    .tour-empty-actions {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 18px;
    }


    .tour-empty-actions .btn {
        min-height: 40px;
    }

}

/* ==========================================================
   TOUR HIGHLIGHT
========================================================== */

.tour-card.tour-highlight {
    position: relative;
    z-index: 5;
    animation: tourHighlight 2.5s ease-in-out;
}


@keyframes tourHighlight {

    0% {
        box-shadow: var(--shadow-sm);
    }

    10% {
        box-shadow:
            0 0 0 3px var(--primary),
            0 0 20px rgba(21, 101, 216, .45),
            var(--shadow-md);
    }

    22% {
        box-shadow:
            0 0 0 2px var(--primary),
            0 0 12px rgba(21, 101, 216, .30),
            var(--shadow-md);
    }

    34% {
        box-shadow:
            0 0 0 3px var(--primary),
            0 0 22px rgba(21, 101, 216, .50),
            var(--shadow-md);
    }

    46% {
        box-shadow:
            0 0 0 2px var(--primary),
            0 0 12px rgba(21, 101, 216, .30),
            var(--shadow-md);
    }

    58% {
        box-shadow:
            0 0 0 3px var(--primary),
            0 0 22px rgba(21, 101, 216, .50),
            var(--shadow-md);
    }

    75% {
        box-shadow:
            0 0 0 2px var(--primary),
            0 0 10px rgba(21, 101, 216, .25),
            var(--shadow-md);
    }

    100% {
        box-shadow: var(--shadow-sm);
    }

}

/* ==========================================================
BOOKING FORM
========================================================== */

#bookingForm input::placeholder {
    color: #adb5bd;
    opacity: 1;
}


#bookingForm label{
    font-size: var(--font-lg);
}

#bookingForm .booking-quantity-item label{
    font-size: var(--font-md);
}

.booking-quantity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.booking-quantity-item {
    min-width: 0;
}

.booking-quantity-item label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-light);
    font-size: var(--font-sm);
    font-weight: 600;
}

.booking-quantity-item label small {
    font-size: .85em;
    font-weight: 400;
}

.booking-quantity-item .form-control {
    text-align: center;
}

.booking-contact-options {
    display: flex;
    align-items: center;
    gap: 18px;
}

.booking-contact-options .form-check {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.booking-contact-options .form-check-input {
    margin: 0;
}

.booking-form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.booking-form-actions .modal-tour-btn {
    margin: 0;
}


/* VALIDATION */

#bookingForm .form-control.is-invalid {
    border-color: var(--danger);
}

#bookingForm .invalid-feedback {
    font-size: var(--font-sm);
}


/* BOOKING FORM ANIMATION */

#modalTourBookingForm {
    overflow: hidden;
}

#modalTourBookingForm.booking-show {
    animation: bookingSlideUp .3s ease;
}

@keyframes bookingSlideUp {

    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@media (max-width: 427px) {

    .booking-quantity-grid {
        gap: 6px;
    }

    .booking-contact-options {
        gap: 12px;
    }

    .booking-form-actions {
        gap: 8px;
    }

}

/* ==========================================================
BOOKING SUCCESS
========================================================== */

.booking-success {
    padding: 30px 20px;
    text-align: center;
    animation: bookingSuccessIn .35s ease;
}

.booking-success-icon {
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--success-light);
    color: var(--success);
}

.booking-success-icon i {
    font-size: 32px;
}

.booking-success-title {
    margin-bottom: 10px;
    color: var(--text);
    font-size: var(--font-xl);
    font-weight: 700;
}

.booking-success-message {
    color: var(--text-light);
    font-size: var(--font-md);
    line-height: 1.6;
}

.booking-success-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
}

.booking-success-btn {
    display: flex;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 12px;
    font-size: var(--font-md);
    font-weight: 600;
}


@keyframes bookingSuccessIn {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* ==========================================================
   MODAL
========================================================== */

.modal-dialog {
    margin: 16px auto;
}

.modal-content.modal-tour {
    height: calc(100vh - 32px);
    overflow: hidden;
}


/* ==========================================================
   DOCUMENT MODAL
========================================================== */

.modal-document {
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    background: #fff;
}

.modal-document iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 427px) {

    .modal-dialog {
        margin: 8px;
    }

    .modal-content.modal-tour {
        height: calc(100vh - 16px);
    }

    .modal-document {
        min-height: 350px;
    }

}
#menuModal .modal-header{
    background-color: var(--primary);
}

#companyModal .modal-header{
    background-color: var(--primary);
}

#promotionModal .modal-header{
    background-color: var(--warning);
}

/* ==========================================================
   PROMOTION WIDGET
========================================================== */

.promotion-content {
    padding: 20px;
}


/* ==========================================================
   SECTION TITLE
========================================================== */

.promotion-content {

    font-size: var(--font-lg);

}

.promotion-content h3 {
    margin: 0 0 16px;

    font-size: var(--font-xl);
    font-weight: 700;

    line-height: 1.4;
}


/* ==========================================================
   TOUR
========================================================== */

.promotion-tour {
    margin-bottom: 16px;
}


/* ==========================================================
   TOUR LINK
========================================================== */

.promotion-tour-title {
    display: block;

    color: var(--primary);

    font-size: 16px;
    font-weight: 700;

    line-height: 1.45;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    cursor: pointer;

    transition:
        color .15s ease,
        opacity .15s ease;
}


/* ==========================================================
   LINK ICON
========================================================== */

.promotion-tour-title i {
    margin-left: 4px;

    font-size: 12px;

    text-decoration: none;
}


/* ==========================================================
   LINK HOVER
========================================================== */

.promotion-tour-title:hover {
    color: var(--primary-dark);
}


/* ==========================================================
   TOUR INFORMATION
========================================================== */

.promotion-tour p {
    margin: 5px 0 0;

    font-size: 14px;

    line-height: 1.5;
}


/* ==========================================================
   SECTION DIVIDER
========================================================== */

.promotion-content hr {
    margin: 20px 0;

    border: 0;
    border-top: 1px solid #e5e7eb;

    opacity: 1;
}


/* ==========================================================
   PHONE
========================================================== */

.promotion-phone {
    color: var(--primary);

    font-size: 18px;
    font-weight: 700;

    text-decoration: none;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 427px) {

    .promotion-content {
        padding: 16px;
    }


    .promotion-content h3 {
        margin-bottom: 14px;

        font-size: 17px;
    }


    .promotion-tour-title {
        font-size: 15px;
    }


    .promotion-tour-title i {
        font-size: 11px;
    }


    .promotion-tour p {
        font-size: 13px;
    }


    .promotion-content hr {
        margin: 18px 0;
    }

}

/* ==========================================================
   MENU WIDGET
========================================================== */

.menu-content {
    padding: 20px;
}


/* ==========================================================
   COUNTRY TITLE
========================================================== */

.menu-content h3 {
    margin: 0 0 14px;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.4;
}


/* ==========================================================
   TOUR ITEM
========================================================== */

.menu-tour {
    margin: 0 0 10px;

    /*
    Indent child links
    */
    padding-left: 14px;
}


/* ==========================================================
   TOUR LINK
========================================================== */

.menu-tour-link {
    display: block;

    text-transform: uppercase;

    color: var(--primary);

    font-size: 15px;
    font-weight: 600;

    line-height: 1.45;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    cursor: pointer;

    transition:
        color .15s ease,
        opacity .15s ease;
}


/* ==========================================================
   LINK ICON
========================================================== */

.menu-tour-link i {
    margin-left: 4px;

    font-size: 11px;

    text-decoration: none;
}


/* ==========================================================
   LINK HOVER
========================================================== */

.menu-tour-link:hover {
    color: var(--primary-dark);
}


/* ==========================================================
   SECTION DIVIDER
========================================================== */

.menu-content hr {
    margin: 20px 0;

    border: 0;
    border-top: 1px solid #e5e7eb;

    opacity: 1;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 427px) {

    .menu-content {
        padding: 16px;
    }


    .menu-content h3 {
        margin-bottom: 12px;

        font-size: 17px;
    }


    .menu-tour {
        padding-left: 12px;

        margin-bottom: 9px;
    }


    .menu-tour-link {
        font-size: 14px;
    }


    .menu-tour-link i {
        font-size: 10px;
    }


    .menu-content hr {
        margin: 18px 0;
    }

}

.menu-country-flag {
    display: inline;
}


/* Desktop */
@media (min-width: 428px) {

    .menu-country-flag {
        display: none;
    }

}

/* Tạm thời tắt button Chuẩn Bị */

#btnModalPreparation{
    display: none;
}


/* ==========================================================
   MENU
========================================================== */
.menu-tour-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.menu-tour-link {
    min-width: 0;
}

.menu-tour-tag {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;

    padding: 2px 7px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;

    white-space: nowrap;
}

.tag-good-price {
    color: #b06000;
    background: #fef7e0;
}

.tag-new {
    color: #137333;
    background: #e6f4ea;
}