/**
 * Multi-Step Booking Form Styles
 * Primary Color: #00BCD5 (Cyan)
 * Icon Color: rgba(246, 135, 19, 1) (Orange)
 */

/* ============================================
   GENERAL STYLES
   ============================================ */

.multi-step-booking-wrapper {
    margin: 40px auto;
    font-family: 'Merriweather', Georgia, serif;
}

/* ============================================
   BOOKING HEADER
   ============================================ */

.booking-header {
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: left;
}

.booking-header h2 {
    font-family: 'Labrada', serif;
    font-weight: 400;
    font-size: 42px;
    line-height: 1.3;
    color: #333;
    margin: 0;
}

.booking-header .highlight {
    color: rgba(246, 135, 19, 1);
    font-weight: 600;
}

.booking-header p {
    font-family: 'Labrada', serif;
    font-weight: 400;
    font-size: 42px;
    line-height: 1.3;
    color: #333;
    margin: 0;
}

/* ============================================
   PROGRESS BAR
   ============================================ */

/* .booking-progress {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 18px;
    margin: 50px auto 70px;
    padding: 0 20px;
    max-width: 1200px;
} */
/* .elementor-widget-custom_tours .booking-progress {
    gap: 5px;
}
/* .progress-step {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
    flex: 1;
    min-height: 85px;
}

.progress-step.active {
    background: #00BCD5;
    border-color: #00BCD5;
}

.progress-step.completed,
.progress-step:not(.active):not(.completed) {
    background: #fff;
    border-color: #e5e5e5;
} */

/* ============================================
   STEP ICON & NUMBER
   ============================================ */

/* .progress-step .step-icon {
    width: 52px;
    height: 48px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-step .step-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: all 0.3s ease;
}

.progress-step .step-number {
    position: absolute;
    left: 30%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #fff;
    z-index: 3;
} */

/* Active step: icon màu cam */
/* .progress-step.active .step-icon .icon-bg,
.progress-step.active .step-icon .icon-arrow {
    fill: rgba(246, 135, 19, 1);
}
 */
/* Inactive/completed step: icon màu cyan */
/* .progress-step:not(.active) .step-icon .icon-bg,
.progress-step:not(.active) .step-icon .icon-arrow {
    fill: #00BCD5;
} */

/* ============================================
   STEP LABEL
   ============================================ */

/* .progress-step .step-label {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
}
.elementor-widget-custom_tours .step-label {
    font-size: 16px;
    text-align: center;
}
.progress-step.active .step-label {
    color: #fff;
}

.progress-step.completed .step-label,
.progress-step:not(.active):not(.completed) .step-label {
    color: #666;
}  */


.booking-progress{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:60px;
    padding-bottom: 60px;
}

/* STEP */
.progress-step{
    flex:1;
    max-width:220px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    position:relative;
}

/* ICON */
.step-icon{
    position:relative;
    width:33px;
    height:30px;
}

/* SVG màu mặc định */
.step-icon .icon-bg{
    fill:#d6d2cc;
}

.step-icon .icon-arrow{
    fill:#d6d2cc;
}

/* SỐ */
/* SỐ TRONG VÒNG TRÒN */
.step-number{
    width:60px;
    height:60px;
    border-radius:50%;
    border:1px dashed #cfcfcf;

    display:flex;
    justify-content:center;

    font-size:48px;
    font-family:'Labrada', serif;
    font-weight:500;

    color:#a0a0a0;
    background:white;
    margin-bottom:6px;

    line-height:1;
}

/* ACTIVE */
.progress-step.active .step-number{
    border:1px dashed #8c877f;
    color:#403B37;
    font-weight:600;
}

/* TEXT */
.step-label{
    margin-top:10px;
    font-size:16px;
    color:#8c8c8c;
    max-width:240px;
    line-height:1.4;
}
.progress-step:not(:last-child)::after{
    content:"▸";
    position:absolute;
    right:-15%;
    top:15px;
    transform:translateX(50%);
    font-size:26px;
    font-weight:700;
    color:#736E68;
}
.progress-step:has(+ .active)::after{
    color:#000;
}
/* STEP ACTIVE */
.progress-step.active .icon-bg{
    fill:#cfcac3;
}

.progress-step.active .icon-arrow{
    fill:#cfcac3;
}

.progress-step.active .step-number{
    color:#3a3a3a;
}

.progress-step.active .step-label{
    color:#3a3a3a;
    font-weight:500;
}
.booking-steps .step.active ~ .step{
    opacity:0.5;
}
/* TẤT CẢ STEP TRƯỚC ACTIVE */
.progress-step:has(~ .progress-step.active) .step-number{
    background:#42CDE7;
    padding-top:14px;
    border:none;
    color:transparent;
    position:relative;
}

/* icon check */
.progress-step:has(~ .progress-step.active) .step-number::after{
    content:"✓";
    position:absolute;
    font-size:28px;
    color:white;
}

/* TẤT CẢ STEP TRƯỚC ACTIVE */
.load-more-wrapper{
    width:100%;
	padding-bottom:20px;
}

.btn-load-more{
    width:100%;
    border:1px solid #42CDE7;
    color:#42CDE7;
    padding:12px 0;
    font-size:15px;
    font-weight:500;
    letter-spacing:2px;
    text-transform:uppercase;
    border-radius:6px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    cursor:pointer;
    transition:all .25s ease;
}

.icon-more{
    width:16px;
    height:16px;

/*     background:url("https://nicetrips.smb.vn/wp-content/uploads/2026/02/more.svg") no-repeat center; */
    background-size:contain;

    transition:filter .25s ease;
}
.icon-more:hover{
	color: #fff;
}
/* hover */
.btn-load-more:hover{
    background:#42CDE7;
    border-color:#42CDE7;
    color:white;
}

.btn-load-more:hover .icon-more{
    filter:brightness(0) invert(1); /* chuyển icon sang trắng */
}

/* HOVER */
.btn-load-more:hover{
    background:#42CDE7;
    border-color:#42CDE7;
    color:white;
}
.btn-load-more:active{
    background:#42CDE7;
    border-color:#42CDE7;
    color:white;
}

/* ============================================
   FORM STEPS
   ============================================ */
.booking-form {
    position: relative;
    padding: 0;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   FORM FIELDS
   ============================================ */

.form-row {
    margin-bottom: 30px;
}

.form-row.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.form-group label {
    display: block;
    font-family: 'Inter', serif;
    font-size: 18px;
    color: #403B37;
    margin-bottom: 12px;
    font-weight: 400;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', serif;
    transition: all 0.3s ease;
    background: #fff;
    color: #736E68;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #00BCD5;
    box-shadow: 0 0 0 3px rgba(0, 188, 213, 0.1);
}

.form-control::placeholder {
    color: #999;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   INPUT WITH ICON
   ============================================ */

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.input-with-icon .input-icon img {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
}

.input-with-icon .form-control {
    padding-left: 55px;
}

/* ============================================
   RADIO BUTTONS
   ============================================ */

.radio-group-inline {
    display: flex;
    gap: 20px;
    margin-top: 12px;
}

.radio-option {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-option .radio-label {
    position: relative;
    padding-left: 35px;
    font-size: 16px;
    font-family: 'Labrada', serif;
    color: #333;
    font-weight: 400;
    cursor: pointer;
}

.radio-option .radio-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: #fff;
    transition: all 0.3s ease;
}

.radio-option .radio-label::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(246, 135, 19, 1);
    opacity: 0;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-label::before {
    border-color: rgba(246, 135, 19, 1);
}

.radio-option input[type="radio"]:checked + .radio-label::after {
    opacity: 1;
}

.radio-option:hover .radio-label::before {
    border-color: rgba(246, 135, 19, 1);
}

/* ============================================
   CHECKBOX
   ============================================ */

.checkbox-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
}

.checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: rgba(246, 135, 19, 1);
    flex-shrink: 0;
}

.checkbox-option span {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* ============================================
   DESTINATION & ACTIVITY CARDS
   ============================================ */

.destination-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 275px;
    display: block;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.destination-card input[type="checkbox"] {
    margin-right: 15px;
}
.card-title input[type="checkbox"]{
    width:18px;
    height:18px;
    accent-color:#FF7A0F;
    cursor:pointer;
}

.destination-card .card-desc {
    padding: 10px;
    border-left: 1px solid #F68713;
}

.destination-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 188px;
    background: rgba(0, 188, 213, 0);
    transition: all 0.3s ease;
    z-index: 1;
}

.destination-card .card-content {
    position: relative;
}

.destination-card .card-image {
    width: 275px;
    max-width: 100%;
    height: 188px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.destination-card .card-checkmark {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(246, 135, 19, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: 2;
}

.destination-card input:checked ~ .card-content .card-checkmark {
    opacity: 1;
    transform: scale(1);
}

.destination-card .card-title {
    padding: 15px;
	margin-right: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: left;
    display: flex;
    align-items: center;
    border-left: 1px solid #F68713;
}
.card-title{
    display:flex;
    align-items:center;
    gap:8px;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.destination-card:hover .card-overlay {
    background: rgba(0, 188, 213, 0.3);
}

/* ============================================
   CAROUSEL SECTIONS
   ============================================ */

.destinations-carousel {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px;
    padding: 20px 0 40px 0;
}

.destinations-carousel .owl-stage-outer,
.destinations-carousel .owl-stage {
    display: contents !important;
}

.destinations-carousel .owl-item {
    width: auto !important;
    float: none !important;
    display: block;
}

.destinations-carousel .destination-card {
    width: 100% !important;
}

.destinations-carousel .destination-card .card-image {
    width: 100%;
    height: 160px;
}

/* Ẩn từ item thứ 11 trở đi */
.destinations-carousel .dest-item-wrap:nth-child(n+11) {
    display: none;
}

/* Khi load more: hiện tất cả */
.destinations-carousel.show-all .dest-item-wrap {
    display: block;
}
.carousel-section--activities {
    padding-top: 40px;
}

.carousel-label {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 24px;
    display: block;
}

.no-items-msg {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #999;
    text-align: center;
    padding: 40px 0;
}

/* ── Activity card (kế thừa destination-card, chỉ override cần thiết) ── */

.activity-card {
    width: 275px;
}

.activities-carousel.owl-carousel .owl-item {
    width: 275px !important;
}

.activities-carousel {
    padding: 20px 0 40px 0;
}

/* ============================================
   NAVIGATION BUTTONS
   ============================================ */

/* Base navigation bar */
.form-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* Bottom nav (step 1, step 3) */
.form-navigation--bottom {
    margin-top: 50px;
}

/* Top nav (step 2) */
.form-navigation--top {
    margin-bottom: 40px;
}

/* Buttons */
.btn-nav {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    border: none;
}

.btn-prev {
	padding: 12px 17px 12px 0px;
    background: #fff;
    color: #42CDE7;
    border: 1px solid #42CDE7;
	display: flex;
    flex-direction: row-reverse;
	font-weight: 400;
	 font-size: 15px;
}
.btn-next {
	padding: 12px 17px 12px 0px;
    background:#42CDE7;
    color: #fff;
    border: 1px solid #42CDE7;
	display: flex;
    flex-direction: row-reverse;
	justify-content: center;
	font-weight: 400;
	 font-size: 15px;
}
.btn-prev:hover {
    background: #42CDE7;
    color: #fff;
}

.btn-next,
.btn-submit {
	padding: 17px 15px 15px 44px;
    background: #42CDE7;
    color: #fff;
    border: 1px solid #42CDE7;
}

.btn-next:hover,
.btn-submit:hover {
    background: #fff;
    border-color: #42CDE7;
	color: #42CDE7;
}
.btn-next img{
    transition: filter .3s ease;
}

/* Hover */
.btn-next:hover img{
    filter: brightness(0) saturate(100%) 
            invert(63%) sepia(41%) saturate(641%) 
            hue-rotate(147deg) brightness(94%) contrast(92%);
}
.btn-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.form-navigation--step3 .btn-prev {
	padding: 12px 18px;
	background: #fff!important;
	color: #403B37!important;
	border-color: 1px solid #403B37!important;
	font-size: 15px;
	font-weight: 400;
}
.btn-next-solid{
	padding: 12px 18px;
	background: #403B37!important;
	color: #fff!important;
	border-color: 1px solid #403B37!important;
	font-size: 15px;
	font-weight: 400;
}

/* ============================================
   TERMS & NOTICES
   ============================================ */

.terms-notice {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #00BCD5;
    font-size: 13px;
    color: #666;
}

.terms-notice a {
    color: #00BCD5;
    text-decoration: underline;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */

.booking-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.booking-overlay .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f0f0;
    border-top: 4px solid #00BCD5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.required{
    color:#ff3b30;
    margin-left:2px;
}
@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.booking-overlay p {
    margin-top: 20px;
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

/* ============================================
   SUCCESS MESSAGE
   ============================================ */

.success-message {
    text-align: center;
    padding: 60px 40px;
    background: #fff;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: #5cb85c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #fff;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0%   { transform: scale(0); }
    50%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-message h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px;
}

.success-message p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-message .help-text {
    font-size: 14px;
    color: #999;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: #fff;
    border: 2px solid #00BCD5;
    color: #00BCD5;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #00BCD5;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 188, 213, 0.3);
}

/* ============================================
   CUSTOM DATEPICKER (Flatpickr)
   ============================================ */
.flatpickr-months{
	margin: 10px;
}
.flatpickr-day{
	color: #736E68!important;
}
.flatpickr-calendar {
    font-family: 'Labrada', serif;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
}
.flatpickr-current-month{
	padding: 7.48px 0 0 !important;
	line-height: 1.31 !important;
	height: 30px!important;
	gap: 10px!important;
	padding: 7.48px 0 0 !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months{
	border-radius: 4px !important;
	height: 30px!important;
}
.flatpickr-current-month input.cur-year{
	border-radius: 4px !important;
	height: 30px!important;
}
.flatpickr-months .flatpickr-next-month, .flatpickr-months .flatpickr-prev-month{
	padding: 18px 12px!important;
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #00BCD5!important;
    border-color: #00BCD5!important;
	color: #fff!important;
}

.flatpickr-day:hover {
    background: #e6f7f9;
    border-color: #00BCD5;
}

.flatpickr-months .flatpickr-month {
    background: #00BCD5;
    color: #fff;
	height: 42px;
}

.flatpickr-weekday {
    color: #666;
    font-weight: 600;
}

input.datepicker {
    cursor: pointer;
    background-color: #fff;
}

input.datepicker::placeholder {
    color: #999;
}
.flatpickr-months .flatpickr-next-month, .flatpickr-months .flatpickr-prev-month{
	padding: 10px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .progress-step {
        padding: 18px 26px;
		max-width: 78px;
    }
    .progress-step .step-icon {
        width: 50px;
        height: 50px;
    }
    .progress-step .step-number {
        font-size: 33px;
		padding: 6px;
    }
	.step-number {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px dashed #cfcfcf;
        display: flex;
        justify-content: space-around;
        font-size: 45px;
        font-family: 'Labrada', serif;
        font-weight: 500;
        color: #a0a0a0;
        background: white;
        line-height: 1;
        align-items: flex-end;
    }
    .progress-step .step-label {
        font-size: 12px;
		font-weight: 700;
    }
	    .booking-progress{
			display: flex;
			justify-content: flex-start;
			padding-bottom:10px;
	}
	.progress-step:not(:last-child)::after {
    content: "▸";
    position: absolute;
    right: -8%;
    top: 25px;
    transform: translateX(50%);
    font-size: 12px;
    font-weight: 700;
    color: #736E68;
}
	.summary-container{
		margin-left: 0px!important;
		margin-top: 0px!important;
	}
	.step3-field label{
		font-size: 10px!important;
	}
	.step3-input {
		font-size: 6px!important;
		padding: 10px;
	}
	.step3-input::placeholder {
    font-size: 10px!important;
}
	.carousel-section h3{
		font-size: 22px;
	}
	.form-group label{
		font-size: 16px;
		font-weight: 700;
	}
	.form-group .radio-group-inline label{
		font-size: 16px;
		font-weight: 400;
	}
	.destinations-carousel {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr)!important;
    }

    .destinations-carousel.show-all .dest-item-wrap {
        display: block!important;
    }

}

@media (max-width: 992px) {
    .booking-header h2,
    .booking-header p {
        font-size: 36px;
    }
    .booking-progress {
        display: flex;
        gap: 15px;
    }
    .progress-step {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .booking-header h2,
    .booking-header p {
        font-size: 28px;
    }
    .progress-step {
        padding: 16px 20px;
        min-height: 75px;
    }
    .progress-step .step-icon {
        width: 46px;
        height: 46px;
    }
    .progress-step .step-label {
        font-size: 14px;
    }
    .form-row.two-cols {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .form-navigation--bottom,
    .form-navigation--top {
        flex-direction: column;
        gap: 12px;
    }
    .btn-nav {
        width: 100%;
        text-align: center;
    }
    .contact-buttons {
        flex-direction: column;
    }
}
/* ============================================
   STEP 2a1: TOUR RESULTS - MATCHING DESIGN
   ============================================ */

/* Header */
.tour-results-header {
    margin-bottom: 32px;
}

.tour-results-title {
    font-family: 'Labrada', serif;
    font-size: 28px;
    font-weight: 400;
    color: #333;
    margin: 0 0 6px;
}

.tour-results-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* Loading */
.tour-results-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    gap: 20px;
}
.tour-results-loading p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #888;
    margin: 0;
}

/* Empty */
.tour-results-empty {
    text-align: center;
    padding: 80px 20px;
}
.tour-results-empty .empty-icon { font-size: 56px; margin-bottom: 16px; }
.tour-results-empty h4 {
    font-family: 'Labrada', serif;
    font-size: 22px;
    font-weight: 400;
    color: #333;
    margin: 0 0 10px;
}
.tour-results-empty p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #999;
    margin: 0 0 24px;
}

/* ── Grid ── */
.tour-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* ══════════════════════════════════════════
   TOUR CARD - Matching design exactly
   ══════════════════════════════════════════ */
.tour-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

.tour-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
    transform: translateY(-3px);
}

.tour-card.is-selected {
    border-color: #00BCD5;
    box-shadow: 0 0 0 3px rgba(0, 188, 213, 0.15);
}

/* ── Sale badge (top-left, overlay ảnh) ── */
.tour-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 5px 10px 5px 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.15);
}

.tour-card__badge .sale-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #e53935;
}

/* Icon tag SVG kèm theo */
.tour-card__badge-icon {
    display: flex;
    align-items: center;
}

.tour-card__badge .sale-percent {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #e53935;
}

/* ── Image wrap ── */
.tour-card__image-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.tour-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tour-card:hover .tour-card__image {
    transform: scale(1.04);
}

/* ── Duration badges (bottom-left của ảnh) ── */
.tour-card__duration {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 3;
}

.tour-card__duration-badge {
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(4px);
    color: #fff;
    border-radius: 6px;
    padding: 5px 10px;
    text-align: center;
    min-width: 48px;
}

.tour-card__duration-badge .big-number {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    display: block;
    line-height: 1.1;
}

.tour-card__duration-badge .small-text {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    display: block;
    opacity: 0.85;
    margin-top: 1px;
}

/* ── Card body ── */
.tour-card__body {
    padding: 16px 16px 12px;
}

.tour-card__title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0 0 14px;
    /* 2 dòng rồi ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}

/* Meta rows (route, dates) */
.tour-card__meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.tour-card__meta-row {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: #555;
    line-height: 1.5;
}

.tour-card__meta-row svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.tour-card__meta-row strong {
    color: #222;
    font-weight: 600;
}

/* ── Card footer (price + buttons) ── */
.tour-card__footer {
    padding: 12px 16px 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

/* Price block */
.tour-card__price {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
}

.tour-card__price-was {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #bbb;
    text-decoration: line-through;
    line-height: 1.4;
}

.tour-card__price-now {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: rgba(246, 135, 19, 1);
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.tour-card__price-now .currency {
    font-size: 13px;
    font-weight: 600;
    color: #999;
}

.tour-card__price-type {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #bbb;
    margin-top: 2px;
}

/* Buttons block - xếp dọc bên phải */
.tour-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.tour-card__btn {
    padding: 9px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 130px;
    box-sizing: border-box;
}

/* BOOK NOW → outline cam */
.tour-card__btn--book {
    background: #fff;
    color: rgba(246, 135, 19, 1);
    border: 2px solid rgba(246, 135, 19, 1);
}
.tour-card__btn--book:hover {
    background: rgba(246, 135, 19, 1);
    color: #fff;
}

/* VIEW DETAIL outline cyan */
.tour-card__btn--detail {
    background: #fff;
    color: #00BCD5;
    border: 2px solid #00BCD5;
}
.tour-card__btn--detail:hover {
    background: #00BCD5;
    color: #fff;
}

/* Selected checkmark overlay */
.tour-card.is-selected .tour-card__image-wrap::after {
    content: '✓ Selected';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 188, 213, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    letter-spacing: 1px;
}

/* ── NEXT disabled ── */
.btn-next--disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .tour-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .tour-results-grid {
        grid-template-columns: 1fr;
    }
    .tour-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .tour-card__actions {
        width: 100%;
        flex-direction: row;
    }
    .tour-card__btn {
        flex: 1;
        min-width: 0;
    }
}
/* ============================================
   STEP 3: TRAVELER INFORMATION FORM
   Design: inputs với placeholder, bg cream
   ============================================ */

/* Background toàn bộ step 3 */
.form-step[data-step="3"] {
    background: transparent;
}

/* ── Grid 2 cột ── */
.step3-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.step3-field {
    /* single cell */
}

/* Full width cell */
.step3-field--full {
    grid-column: 1 / -1;
}

/* ── Input styling ── */
.step3-input {
    width: 100%;
    padding: 14px 18px;
    background: #fff;
    border: 1.5px solid #e8e4dc;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #333;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
    outline: none;
    appearance: none;
}

.step3-input::placeholder {
    color: #aaa;
    font-style: normal;
    font-size: 14px;
}

/* Placeholder cho required: thêm dấu * */
.step3-input:focus {
    border-color: #00BCD5;
    box-shadow: 0 0 0 3px rgba(0, 188, 213, 0.1);
    background: #fff;
}

.step3-input.error {
    border-color: #e53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

/* ── Textarea ── */
.step3-textarea {
    resize: none;
    min-height: 110px;
    line-height: 1.6;
}

/* ── Newsletter checkbox ── */
.step3-newsletter {
    margin-bottom: 12px;
}

.step3-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

/* Ẩn checkbox gốc */
.step3-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom checkbox - cyan khi checked */
.step3-checkbox-custom {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #ddd;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.step3-checkbox:checked + .step3-checkbox-custom {
    background: #FF7A0F;
    border-color: #FF7A0F;
}

.step3-checkbox:checked + .step3-checkbox-custom::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
    display: block;
}

.step3-newsletter-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #555;
    font-style: italic;
    line-height: 1.5;
}

/* ── Terms ── */
.step3-terms {
    margin-bottom: 40px;
}

.step3-terms p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #e53935;
    margin: 0;
    font-style: italic;
}

.step3-terms a {
    color: #e53935;
    text-decoration: underline;
    font-style: italic;
}

.step3-terms a:hover {
    color: #c62828;
}

/* ── Navigation step 3: PREV outline + NEXT solid cyan ── */
.step3-phone-group{
    display:flex;
    gap:10px;
}

.step3-country{
    max-width:180px;
}

.step3-field label{
    display:block;
    font-size:14px;
    margin-bottom:6px;
    color:#5c5c5c;
}

.step3-field--full{
    grid-column:1 / -1;
}
.form-navigation--step3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
}

/* PREVIOUS button: outline cyan, icon quay lại */
.form-navigation--step3 .btn-prev {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    color:#42CDE7!important;
    border: 1px solid #42CDE7!important;
	background: #fff;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
	font-size: 15px!important;
	font-weight: 400!important;
}

.form-navigation--step3 .btn-prev:hover {
    background: #42CDE7;
    color: #fff;
}

/* NEXT/SUBMIT button: solid cyan */
.btn-next-solid {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 36px;
    background: #42CDE7!important;
    color: #fff;
    border: 1px solid #42CDE7!important;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px!important;
    font-weight: 400!important;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
	justify-content: center;
}


.btn-next-solid:hover {
    background: #00a9c1;
    border-color: #00a9c1;
}

/* Override các nav button trong step 2a1 và step 1 cho nhất quán */
.form-navigation .btn-prev,
.form-navigation .btn-next {
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-navigation .btn-next{
	padding: 12px 45px 12px 45px;
    background:#42CDE7;
    color: #fff;
    border: 1px solid #42CDE7;
	display: flex;
    flex-direction: row-reverse;
	justify-content: center;
	font-weight: 400;
	 font-size: 15px;
}

/* ============================================
   PROGRESS BAR: step 2a1 active step 2
   
   Logic: data-progress attribute trên .form-step
   JS sẽ đọc data-progress để biết highlight step nào
   ============================================ */

/* Khi progress step được force = 2 (dùng JS) */
.progress-step[data-step="2"].force-active {
    background: #00BCD5;
    border-color: #00BCD5;
}

.progress-step[data-step="2"].force-active .step-label {
    color: #fff;
}

.progress-step[data-step="2"].force-active .step-icon .icon-bg,
.progress-step[data-step="2"].force-active .step-icon .icon-arrow {
    fill: rgba(246, 135, 19, 1);
}

/* ============================================
   RESPONSIVE STEP 3
   ============================================ */
@media (max-width: 640px) {
    .step3-form-grid {
        grid-template-columns: 1fr;
    }
    .step3-field--full {
        grid-column: 1;
    }
    .form-navigation--step3 {
        flex-direction: row;
        gap: 12px;
    }
}
/* Summary Container - Bước 2a1 */
.summary-container {
    width: 600px;
    max-width: 100%;
	margin-left: 300px;
	margin-top: -82px;
}

.summary-box {
    background: #ffffff;
    box-shadow: 0 20px 30px 0 #E0D5B4;
    padding: 40px 65px;
}

.summary-box h3 {
    text-align: center;
    font-size: 20px;
    color: rgba(64, 59, 55, 1);
    font-weight: 700;
}

/* Danh sách tóm tắt */
.summary-list {
    padding-top: 18px;
}

.summary-list > li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 24px;
}

.summary-list strong {
    font-weight: 700;
    color: #403B37;
}
#summary-destinations-list, #summary-activities-list{
    list-style: none;
}
.sub-list {
    margin: 6px 0 0 0;
    padding-left: 20px;
}

.sub-list li {
    margin-bottom: 6px;
    color: #4a5568;
}

/* Phần Estimated Budget */
.estimated-budget {
    text-align: center;
    padding: 30px 0 10px;
    border-top: 1px dashed #cbd5e0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: nowrap;
}
#summary-budget{
    text-align: right;
    float: right;
    color: #DD5552;
    font-size: 18px;
    font-weight: 700;
}
.estimated-budget strong {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #2d3748;
}

.budget-range {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e53e3e; /* đỏ nổi bật */
    margin: 10px 0 15px;
    letter-spacing: -1px;
}

.note {
    font-size: 12px;
	font-style: italic;
    color: #718096;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .summary-box {
        padding: 30px 20px;
        margin-top: 0 !important;
    }
    
    .summary-list > li {
        flex-direction: column;
        gap: 4px;
    }
    
    .summary-list strong {
        min-width: auto;
    }
    
    .budget-range {
        font-size: 2rem;
    }

}
/* ============================================
   STEP 4: Thank You for Information
   ============================================ */
 
.step4-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 30px 0 40px;
}
 
.step4-left {
    flex: 1;
	border-top: 1px solid #DCEBED;
}
 
.step4-title {
    font-family: 'Labrada';
    font-size: 64px;
    font-weight: 500;
    color: #403B37;
    margin: 0 0 20px;
    line-height: 1.2;
}
 
.step4-desc {
    font-size: 16px;
    color: #736E68;
    line-height: 1.7;
    margin: 0 0 16px;
}
 
.step4-thanks {
    font-size: 16px;
    color: #736E68;
    margin: 0;
}
 
.step4-right {
	background: #EFFEFF;
    flex: 0 0 384px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

 
.step4-contact-card:hover {
    box-shadow: 0 6px 20px rgba(0,188,213,0.18);
    transform: translateY(-2px);
}
 
.step4-contact-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
}
 
.step4-contact-icon--email {
    background: #42CDE7;
}
 
.step4-contact-icon--phone {
    background: #42CDE7;
}
 
.step4-contact-value {
    font-size: 20px;
    color: #403B37;
    text-align: center;
	font-weight:400;
    font-family: 'Labrada';
}
 
.form-navigation--step4 {
    padding-top: 24px;
    margin-top: 10px;
}


.step4-right{
    border: 2px dotted #42CDE7;
    padding: 30px 20px 0px 20px;
    border-radius: 6px;
    width: 500px;
}

.step4-contact-card{
    position: relative;
    display: block;
    background: #fff;
    border-radius: 10px;
    padding: 35px 20px 25px;
    margin-bottom: 35px;
    text-align: center;
    text-decoration: none;
	box-shadow: 0px 5px 20px 0px rgba(0, 188, 213, 0.2);
	 transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.step4-contact-icon{
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg,#42CDE7,#42CDE7);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step4-contact-icon svg{
    width:18px;
    height:18px;
}

 
/* Responsive step 4 */
@media (max-width: 768px) {
    .step4-layout {
        flex-direction: column;
        gap: 28px;
    }
	.step4-left {
		padding-top: 20px;
	}
    .step4-right {
        flex: 1;
        width: 100%;
		padding: 50px 20px 0px 20px;
        flex-direction: row;
        flex-wrap: wrap;
    }
 
    .step4-contact-card {
        flex: 1;
        min-width: 140px;
		padding: 20px 10px 15px;
    }
 
	.step4-contact-icon{
		padding: 4px 20px;
	}
    .step4-title {
        font-size: 30px;
		font-weight: 600;
    }
	.step4-contact-value {
		font-size: 12px;
	}
	.step4-desc,
	.step4-thanks{
		font-size: 14px;
	}
}
