/* Header overrides moved to common/css/header-hero.css */

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: visible;
    padding-top: 120px;
    padding-bottom: 80px;
}

/* 비디오 컨테이너에서 overflow 처리 */
.hero-video-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

/* Hero 하단 페이드 아웃 */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom,
    transparent 0%,
    rgba(219, 234, 254, 0.5) 40%,
    rgba(219, 234, 254, 0.8) 70%,
    #dbeafe 100%
    );
    z-index: 5;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
    rgba(30, 98, 175, 0.85) 0%,
    rgba(76, 123, 225, 0.7) 40%,
    rgba(33, 121, 209, 0.4) 70%,
    #dbeafe 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Badge with Marquee */
.hero-badge-marquee {
    margin-bottom: 1.5rem;
    max-width: 320px;
    overflow: hidden;
    background: #e9f4ff;
    border: 1px solid #d6ecff;
    border-radius: 9999px;
    padding: 0.6rem 0;
    position: relative;
}

/* 좌우 페이드 효과 */
.hero-badge-marquee::before,
.hero-badge-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    z-index: 2;
    pointer-events: none;
}

.hero-badge-marquee::before {
    left: 0;
    background: linear-gradient(to right, #e9f4ff 0%, transparent 100%);
}

.hero-badge-marquee::after {
    right: 0;
    background: linear-gradient(to left, #e9f4ff 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-text {
    color: #3093F7;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.marquee-separator {
    color: #93c5fd;
    font-size: 10px;
    flex-shrink: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 호버 시 일시정지 */
.hero-badge-marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* Legacy Badge (keep for backwards compatibility) */
.hero-badge {
    margin-bottom: 1.5rem;
}

.hero-badge span {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #e9f4ff;
    border: 1px solid #d6ecff;
    border-radius: 9999px;
    color: #3093F7;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* Title */
.hero-title {
    font-size: clamp(1.8rem, 4.8vw, 2.8rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
    text-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
}

/* Trip Type Selector */
.trip-selector {
    display: inline-flex;
    padding: 4px;
    background: #f1f7ff;
    border: 1px solid #d6ecff;
    border-radius: 2rem;
    margin-bottom: 1.2rem;
    position: relative;
}

.trip-indicator {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 6px 14px rgba(48, 147, 247, 0.18);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trip-selector[data-trip="OW"] .trip-indicator {
    left: calc(50% + 0px);
}

.trip-btn {
    position: relative;
    z-index: 1;
    padding: 0.6rem 1.8rem;
    font-size: 13px;
    font-weight: 800;
    background: none;
    border: none;
    color: #6b7a90;
    cursor: pointer;
    transition: color 0.3s;
    min-width: 70px;
    text-align: center;
}

.trip-btn.active {
    color: #3093F7;
}

/* Search Glass Panel */
.search-glass-panel {
    width: 100%;
    max-width: 1200px;
    background: #ffffff;
    border: 1px solid #dbe9ff;
    border-radius: 2rem;
    padding: 1.5rem;
    box-shadow: 0 18px 40px -20px rgba(48, 147, 247, 0.28);
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 0.8rem;
    align-items: end;
}

/* Search Field */
.search-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field-label {
    font-size: 11px;
    font-weight: 900;
    color: #8ea2b8;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-left: 1.5rem;
}

.field-input {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    background: #f7fbff;
    border: 1px solid #e2efff;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    height: 64px;
    box-sizing: border-box;
}

.field-input:hover {
    background: #eef6ff;
}

.field-input[aria-expanded="true"] {
    background: #e8f3ff;
    border-color: #3093F7;
    box-shadow: 0 10px 20px rgba(48, 147, 247, 0.18);
}

.field-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: #e9f4ff;
    border: 1px solid #d6ecff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.field-icon i {
    color: #3093F7;
    font-size: 14px;
}

.field-icon.departure {
    background: #d6ecff;
    border-color: #c3e0ff;
}

.field-icon.departure i {
    color: #3093F7;
}

.field-value {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Date Field */
.date-field .field-input,
.date-field .date-input-wrap {
    padding: 0.8rem 1.2rem;
    height: 64px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.date-field .date-display-text {
    flex: 1;
}

.date-field .date-range-text {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    transition: color 0.2s;
}

.date-field .date-range-text.selecting {
    color: #3093F7;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.date-field .date-input-wrap:hover {
    background: #eef6ff;
}

.date-field .date-input-wrap.active {
    background: #e8f3ff;
    border-color: #3093F7;
}


/* Flatpickr Premium Dark Theme */
.flatpickr-calendar {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid #dbe9ff !important;
    border-radius: 2rem !important;
    box-shadow: 0 20px 45px -20px rgba(48, 147, 247, 0.22) !important;
    z-index: 99999 !important;
    padding: 1.5rem !important;
    width: auto !important;
}

.flatpickr-calendar.open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after {
    display: none !important;
}

.flatpickr-months {
    background: #f7fbff !important;
    margin-bottom: 8px !important;
    border-radius: 1.2rem 1.2rem 0 0 !important;
    border-bottom: 1px solid #e2efff !important;
    padding: 6px 10px !important;
}

.flatpickr-months .flatpickr-month {
    background: transparent !important;
    color: #1f3b5c !important;
    fill: #1f3b5c !important;
    height: 40px !important;
}

.flatpickr-current-month {
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: 1rem !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    color: #0f172a !important;
    font-weight: 900 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months option {
    background: #ffffff !important;
    color: #0f172a !important;
}

.flatpickr-weekdays {
    background: transparent !important;
    margin-bottom: 6px !important;
    border-bottom: 1px solid #e2efff !important;
    display: flex !important;
    gap: 24px !important;
}

.flatpickr-weekday {
    background: transparent !important;
    color: #1f2937 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.05em !important;
    width: calc(100% / 7) !important;
    max-width: calc(100% / 7) !important;
    flex: 0 0 calc(100% / 7) !important;
    text-align: center !important;
}

/* 주말 강조 */
.flatpickr-weekday:nth-child(1) {
    color: #e64a19 !important;
}

.flatpickr-weekday:nth-child(7) {
    color: #1d4ed8 !important;
}

.flatpickr-weekdaycontainer {
    display: flex !important;
    justify-content: space-between !important;
    padding: 0 !important;
    background: transparent !important;
    width: 280px !important;
    max-width: 280px !important;
}

.flatpickr-days {
    border: none !important;
}

.dayContainer {
    min-width: 280px !important;
    max-width: 280px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    padding: 0 !important;
}

.flatpickr-days {
    width: auto !important;
    display: flex !important;
    gap: 24px !important;
}

.flatpickr-day {
    color: #0f172a !important;
    border-radius: 50% !important;
    font-weight: 600 !important;
    width: calc(100% / 7) !important;
    height: 38px !important;
    line-height: 38px !important;
    max-width: calc(100% / 7) !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    flex-basis: calc(100% / 7) !important;
    box-sizing: border-box !important;
}

.flatpickr-day:hover {
    background: #e9f4ff !important;
    border-color: transparent !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #3093F7 !important;
    border-color: #3093F7 !important;
    color: white !important;
    box-shadow: 0 10px 15px -3px rgba(48, 147, 247, 0.25) !important;
}

.flatpickr-day.inRange {
    background: rgba(48, 147, 247, 0.14) !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #1d6fe0 !important;
    border-radius: 0 !important;
}

.flatpickr-day.startRange {
    border-radius: 50% 0 0 50% !important;
}

.flatpickr-day.endRange {
    border-radius: 0 50% 50% 0 !important;
}

.flatpickr-day.startRange.endRange {
    border-radius: 50% !important;
}

.flatpickr-day.today {
    border: 2px solid #3093F7 !important;
    color: #3093F7 !important;
    background: transparent !important;
}

.flatpickr-day.today:hover {
    background: #eef6ff !important;
}

.flatpickr-day.disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #cbd5e1 !important;
}

.flatpickr-day.disabled:hover {
    background: transparent !important;
    cursor: not-allowed !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    fill: #64748b !important;
    padding: 12px !important;
    transition: all 0.2s ease !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    fill: #3093F7 !important;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    width: 12px !important;
    height: 12px !important;
}

/* 2개월 표시 시 간격 */
.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time {
    border-top: 1px solid #e2efff !important;
}

.flatpickr-innerContainer {
    border: none !important;
}

/* Months wrapper for multiple months */
.flatpickr-months + .flatpickr-innerContainer {
    margin-top: 10px !important;
}

/* 2개월 표시 스타일 */
.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time {
    border-top: 1px solid #e2efff !important;
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .flatpickr-calendar {
        padding: 1rem !important;
        border-radius: 1.5rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        max-width: 95vw !important;
    }

    .flatpickr-weekdays {
        gap: 0 !important;
    }

    .flatpickr-weekdaycontainer {
        width: 100% !important;
        max-width: 100% !important;
    }

    .dayContainer {
        min-width: 100% !important;
        max-width: 100% !important;
    }

    .flatpickr-days {
        gap: 0 !important;
    }

    .flatpickr-day {
        width: calc(100% / 7) !important;
        height: 32px !important;
        line-height: 32px !important;
        max-width: calc(100% / 7) !important;
        flex-basis: calc(100% / 7) !important;
    }

    .flatpickr-weekday {
        width: calc(100% / 7) !important;
        max-width: calc(100% / 7) !important;
        flex: 0 0 calc(100% / 7) !important;
    }

    .flatpickr-current-month {
        font-size: 0.9rem !important;
    }
}

/* Dropdown Panel Override */
.search-field .dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 350px;
    background: #ffffff;
    border: 1px solid #dbe9ff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 20px 40px rgba(48, 147, 247, 0.18);
}

.search-field .dropdown-search {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #f7fbff;
    border: 1px solid #e2efff;
    border-radius: 1rem;
    color: #0f172a;
    font-size: 14px;
    margin-bottom: 1rem;
}

.search-field .dropdown-search::placeholder {
    color: #94a3b8;
}

.search-field .dropdown-list {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* 스크롤바 스타일 */
.search-field .dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.search-field .dropdown-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.search-field .dropdown-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* 드롭다운 헤더 */
.search-field .dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 0 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #e2efff;
}

.search-field .dropdown-header-title {
    font-size: 14px;
    font-weight: 700;
    color: #1f3b5c;
}

.search-field .back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    color: #3093F7;
    cursor: pointer;
    transition: all 0.2s;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.search-field .back-btn * {
    pointer-events: none;
}

.search-field .back-btn:hover {
    background: #eef6ff;
}

/* 나라 아이템 */
.search-field .country-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    color: #0f172a;
    margin: 4px 0;
    list-style: none;
    position: relative;
    z-index: 1;
}

.search-field .country-item * {
    pointer-events: none;
}

.search-field .country-item:hover {
    background: #e9f4ff;
}

.search-field .country-name {
    flex: 1;
    font-weight: 600;
    font-size: 15px;
}

.search-field .country-count {
    font-size: 12px;
    color: #94a3b8;
}

.search-field .country-arrow {
    font-size: 12px;
    color: #cbd5e1;
    transition: transform 0.2s;
}

.search-field .country-item:hover .country-arrow {
    transform: translateX(4px);
    color: #3093F7;
}

/* 나라 그룹 (검색 결과용) */
.search-field .country-group {
    margin-bottom: 0.5rem;
    list-style: none;
}

.search-field .country-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3093F7;
    font-size: 12px;
    font-weight: 700;
    padding: 0.8rem 1rem 0.5rem;
    border-bottom: 1px solid #e2efff;
    margin-bottom: 0.3rem;
}

.search-field .country-airports {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 공항 아이템 */
.search-field .airport-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    color: #0f172a;
    margin: 4px 0;
    list-style: none;
    position: relative;
    z-index: 1;
}

.search-field .airport-item * {
    pointer-events: none;
}

.search-field .airport-item:hover {
    background: #eef6ff;
}

.search-field .airport-item.active {
    background: #dbe9ff;
}

.search-field .airport-item .airport-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.search-field .airport-item .airport-name {
    font-weight: 600;
    font-size: 14px;
}

.search-field .airport-item .airport-code {
    color: #3093F7;
    font-weight: 800;
    font-size: 13px;
    background: #e9f4ff;
    padding: 5px 12px;
    border-radius: 8px;
}

/* 검색 결과 없음 */
.search-field .no-results {
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
    font-size: 14px;
    list-style: none;
}

/* Pax Field */
.search-field .pax-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0 1rem;
}

.search-field .label {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-field .stepper {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 50px;
}

.search-field .stepper-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(48, 147, 247, 0.2), rgba(48, 147, 247, 0.35));
    border: 1px solid #d6ecff;
    color: #3093F7;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
            0 2px 6px rgba(48, 147, 247, 0.2),
            inset 0 1px 0 rgba(255,255,255,0.4);
}

.search-field .stepper-btn:hover {
    background: linear-gradient(145deg, rgba(48, 147, 247, 0.35), rgba(48, 147, 247, 0.5));
    transform: scale(1.05);
    box-shadow:
            0 4px 10px rgba(48, 147, 247, 0.28),
            inset 0 1px 0 rgba(255,255,255,0.5);
}

.search-field .stepper-btn:active {
    transform: scale(0.95);
}

.search-field .stepper-value {
    color: #1f3b5c;
    font-weight: 800;
    font-size: 18px;
    min-width: 40px;
    text-align: center;
}

/* Cabin Section */
.search-field .cabin-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid #e2efff;
}

.search-field .cabin-cards {
    display: flex;
    gap: 0.6rem;
}

.search-field .cabin-card {
    flex: 1;
    cursor: pointer;
    position: relative;
}

.search-field .cabin-card input {
    display: none;
}

.search-field .cabin-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-field .cabin-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.search-field .cabin-card:hover .cabin-card-inner {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.search-field .cabin-card:hover .cabin-card-inner::before {
    opacity: 1;
}

/* Selected state */
.search-field .cabin-card:has(input:checked) .cabin-card-inner {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.4));
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow:
            0 4px 15px rgba(37, 99, 235, 0.3),
            inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.search-field .cabin-card:has(input:checked) .cabin-card-inner::before {
    opacity: 1;
}

/* Cabin Icon */
.search-field .cabin-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.search-field .cabin-icon i {
    font-size: 18px;
    color: #93a8c2;
    transition: all 0.3s ease;
}

.search-field .cabin-card:has(input:checked) .cabin-icon {
    background: #e9f4ff;
}

.search-field .cabin-card:has(input:checked) .cabin-icon i {
    color: #3093F7;
}

/* First class special styling */
.search-field .cabin-card[data-cabin="FST"]:has(input:checked) .cabin-icon {
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.4));
}

.search-field .cabin-card[data-cabin="FST"]:has(input:checked) .cabin-icon i {
    color: #fcd34d;
}

/* Cabin Info */
.search-field .cabin-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.search-field .cabin-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.search-field .cabin-desc {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
}

.search-field .cabin-card:has(input:checked) .cabin-desc {
    color: #2563eb;
}

/* Check mark */
.search-field .cabin-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3093F7;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.search-field .cabin-check i {
    font-size: 10px;
    color: white;
}

.search-field .cabin-card:has(input:checked) .cabin-check {
    opacity: 1;
    transform: scale(1);
}

/* Legacy chip styles (keep for backwards compatibility) */
.search-field .cabin-options {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.search-field .chip {
    padding: 0.6rem 1.2rem;
    background: #f7fbff;
    border: 1px solid #e2efff;
    border-radius: 50px;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.search-field .chip:hover {
    background: #eef6ff;
    border-color: #dbe9ff;
}

.search-field .chip:has(input:checked) {
    background: #3093F7;
    border-color: #3093F7;
    color: #ffffff;
    font-weight: 600;
    box-shadow:
            0 2px 8px rgba(48, 147, 247, 0.25),
            inset 0 1px 0 rgba(255,255,255,0.2);
}

.search-field .chip input {
    display: none;
}

.search-field .panel-actions {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid #e2efff;
    display: flex;
    justify-content: flex-end;
}

.search-field .btn {
    padding: 0.8rem 2rem;
    background: #3093F7;
    color: #ffffff;
    border: 1px solid #3093F7;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
            0 4px 12px rgba(48, 147, 247, 0.3),
            inset 0 1px 0 rgba(255,255,255,0.2);
}

.search-field .btn:hover {
    background: #4aa5ff;
    transform: translateY(-1px);
    box-shadow:
            0 6px 16px rgba(48, 147, 247, 0.35),
            inset 0 1px 0 rgba(255,255,255,0.3);
}

.search-field .btn:active {
    transform: translateY(0) scale(0.98);
}

/* Pax/Cabin Panel Override */
.search-field[data-field="paxCabin"] .dropdown-panel {
    min-width: 320px;
    width: 320px;
}

/* Date Panel Override */
.search-field[data-field="dates"] .dropdown-panel {
    min-width: auto;
    width: fit-content;
}

.search-field .date-row {
    display: flex;
    gap: 1rem;
}

.search-field .date-row label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.search-field .date-row input[type="date"] {
    padding: 0.7rem 1rem;
    background: #f7fbff;
    border: 1px solid #e2efff;
    border-radius: 0.8rem;
    color: #0f172a;
    font-size: 14px;
    color-scheme: light;
}

.search-field .date-help {
    color: #f87171;
    font-size: 12px;
    margin-top: 0.5rem;
}

/* Search Button */
/* 로고 검색 버튼 */
.search-btn-logo {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: linear-gradient(145deg, #5cb0ff 0%, #3093F7 55%, #1f7fe6 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow:
            0 8px 18px rgba(48, 147, 247, 0.35),
            inset 0 2px 3px rgba(255,255,255,0.35);
    transform-style: preserve-3d;
    perspective: 500px;
}

.search-btn-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
    pointer-events: none;
    border-radius: inherit;
    transition: opacity 0.3s;
}

.search-btn-logo::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: linear-gradient(145deg, transparent 40%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
}

.search-logo-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}

.search-btn-logo:hover {
    transform: scale(1.05);
    box-shadow:
            0 10px 30px rgba(37, 99, 235, 0.55),
            0 3px 8px rgba(0, 0, 0, 0.2),
            inset 0 2px 3px rgba(255,255,255,0.4),
            inset 0 -2px 3px rgba(0,0,0,0.15);
}

.search-btn-logo:hover .search-logo-icon {
    transform: translateX(2px);
}

.search-btn-logo:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 1200px) {
    .search-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr auto;
    }

    .search-btn-logo {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    .search-logo-icon {
        width: 28px;
        height: 28px;
    }
}

/* 태블릿 (1024px 이하) */
@media (max-width: 1024px) {
    .hero-content {
        padding: 0 1.5rem;
    }

    .search-glass-panel {
        padding: 1.2rem;
    }

    .field-input {
        padding: 0.8rem 1rem;
        height: 56px;
    }

    .field-value {
        font-size: 14px;
    }

    .search-btn-logo {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }
}

/* 태블릿 세로 (768px 이하) */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-badge-marquee {
        max-width: 260px;
        padding: 0.5rem 0;
    }

    .marquee-text {
        font-size: 10px;
        letter-spacing: 0.2em;
    }

    .marquee-separator {
        font-size: 8px;
    }

    .hero-badge span {
        font-size: 10px;
        padding: 0.5rem 1rem;
        letter-spacing: 0.2em;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .trip-selector {
        margin-bottom: 1rem;
    }

    .trip-btn {
        padding: 0.5rem 1.2rem;
        font-size: 12px;
        min-width: 60px;
    }

    .search-glass-panel {
        border-radius: 1.5rem;
        padding: 1rem;
    }

    .search-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .field-label {
        font-size: 10px;
        margin-left: 1rem;
    }

    .field-input {
        padding: 0.7rem 0.9rem;
        height: 52px;
        gap: 0.6rem;
    }

    .field-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .field-icon i {
        font-size: 12px;
    }

    .field-value {
        font-size: 13px;
    }

    .date-field .date-range-text {
        font-size: 12px;
    }

    .search-btn-logo {
        width: 100%;
        height: 52px;
        border-radius: 1.5rem;
        grid-column: span 2;
    }

    .search-logo-icon {
        width: 26px;
        height: 26px;
    }

    /* Dropdown panels */
    .search-field .dropdown-panel {
        min-width: calc(100vw - 3rem);
        left: 50%;
        transform: translateX(-50%);
        max-width: 350px;
    }

    .search-field[data-field="paxCabin"] .dropdown-panel {
        min-width: 280px;
        width: 280px;
    }

    .search-field .cabin-cards {
        gap: 0.4rem;
    }

    .search-field .cabin-card-inner {
        padding: 0.8rem 0.5rem;
    }

    .search-field .cabin-icon {
        width: 36px;
        height: 36px;
    }

    .search-field .cabin-icon i {
        font-size: 14px;
    }

    .search-field .cabin-name {
        font-size: 11px;
    }

    .search-field .cabin-desc {
        font-size: 9px;
    }
}

/* 소형 모바일 (480px 이하) */
@media (max-width: 480px) {
    .hero-section {
        padding-top: 90px;
        padding-bottom: 50px;
    }

    .hero-content {
        padding: 0 0.75rem;
    }

    .hero-badge-marquee {
        max-width: 220px;
        padding: 0.4rem 0;
    }

    .marquee-text {
        font-size: 9px;
        letter-spacing: 0.15em;
    }

    .marquee-track {
        gap: 1rem;
    }

    .hero-badge span {
        font-size: 9px;
        padding: 0.4rem 0.8rem;
        letter-spacing: 0.15em;
    }

    .hero-title {
        font-size: 1.35rem;
        line-height: 1.4;
    }

    .trip-selector {
        padding: 3px;
    }

    .trip-btn {
        padding: 0.4rem 1rem;
        font-size: 11px;
        min-width: 50px;
    }

    .search-glass-panel {
        padding: 0.8rem;
        border-radius: 1.25rem;
    }

    .search-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .field-input {
        padding: 0.6rem 0.8rem;
        height: 48px;
    }

    .field-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .field-icon i {
        font-size: 11px;
    }

    .field-value {
        font-size: 12px;
    }

    .date-field .date-range-text {
        font-size: 11px;
    }

    .search-btn-logo {
        grid-column: span 1;
        height: 48px;
        border-radius: 1.25rem;
    }

    .search-logo-icon {
        width: 24px;
        height: 24px;
    }

    /* Dropdown panels 모바일 */
    .search-field .dropdown-panel {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        min-width: 100%;
        max-width: 100%;
        border-radius: 1.5rem 1.5rem 0 0;
        max-height: 70vh;
        overflow-y: auto;
    }

    .search-field[data-field="paxCabin"] .dropdown-panel {
        min-width: 100%;
        width: 100%;
    }
}
