/* Custom styles for additional responsiveness */
.container {
  max-width: 1200px;
}

/* Hero Section */
/* .custom-hero-section {

  background: #47AAB2;
  height: 170px;
  overflow: hidden;
  display:flex;
}
.custom-hero-section-img{
  width: 100%;
  height: 170px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

}
.custom-hero-section .object-cover1{
width: 68px;
  height: 55px;
}

.custom-hero-section .object-cover2{
width: 327px;
  height: 86px;

}

 
.custom-hero-section h1 {
  font-size: 24px;
  font-weight: 400;
  line-height: 31.92px;
}



.custom-hero-section h2 {
  font-size: 24px;
  font-weight: 900;
  line-height: 31.92px;
}

.custom-hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.custom-hero-dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.40);
  border-radius: 3px;
}

.custom-hero-dot.active {
  background: white;
} */

.banner {
  position: relative;
  width: 100%;
  height: 170px;
  background-color: #14c4a3;
  overflow: hidden;
}

.content {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.content p {
  font-size: 18px;
  line-height: 1.6;
}

.content p strong {
  font-weight: bold;
  font-size: 20px;
}

.dots {
  margin-top: 8px;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 3px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}

.dot.active {
  background-color: white;
}

/* 이미지 영역 */
.banner-img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.banner-img img:first-child {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 70px;
  height: auto;
}

.banner-img img:last-child {
  position: absolute ;
  bottom: 10;
  right: 0;
  width: 90px;
  height: auto;
}






/* Search Bar */
.custom-search-bar {
  background: white;
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.30);
  border-radius: 20px;
  height: 85px; /* Added height for consistency with original */
  padding: 20px; /* Added padding for consistency with original */
}

.custom-input-field {
  background: #F7F7F9;
  border-radius: 12px;
  outline: 1px #F0F0F3 solid;
  outline-offset: -1px;
  padding: 14px 16px; /* Adjusted padding */
  color: #555558;
  font-size: 15px;
  font-weight: 700;
  line-height: 43px;
  display: flex;
  align-items: center;
}

.custom-input-field-disabled {
  background: #F0F0F3;
  border-radius: 12px;
  outline: 1px #F7F7F9 solid;
  outline-offset: -1px;
  padding: 14px 16px; /* Adjusted padding */
  color: #C5C5C7;
  font-size: 15px;
  font-weight: 700;
  line-height: 43px;
  display: flex;
  align-items: center;
}

.custom-search-button {
  background: #47AAB2;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px; /* Specific width from original */
  height: 45px; /* Specific height from original */
  margin-left: auto; /* Pushes button to the right on larger screens */
}
/* ------ */

.search-widget {
    background-color: white;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 1077px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    top: 0;
    left: 14%;
    right: 0;
    width: 100%;
}

.search-main {
    padding: 10px;
}

.search-tabs {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 4px 10px 10px;
}

.tab-buttons {
    display: flex;
    gap: 32px;
    padding-bottom: 12px;
}

.tab-buttons .trip-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    position: relative;
    cursor: pointer;
}

.tab-buttons .trip-btn::after {
    content: '';
    position: absolute;
    top: 29px;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    border-radius: 2px 2px 0 0;
    transition: background 0.2s;
}

.tab-buttons .trip-btn.active {
    color: var(--primary);
}

.tab-buttons .trip-btn.active::after {
    background: var(--primary)
}

.tab-options {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.search-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.route-selectors,
.booking-details {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobileAir1,
.mobileAir2 {
    display: none;
}

.route-selectors {
    flex-grow: 1;
}


.date-selector {
    background-color: #f4f4f4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 208px;
    height: 48px;
    border: 1px solid var(--gray100);
}

.airport-selector {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid var(--gray200);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    flex: 1;
}

.airport-code {
    font-size: 28px
}

.swap-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    border: 1px solid var(--gray300);
}

.flatpickr-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.flatpickr-calendar {
    z-index: 9999;
    /* 버튼 위에 뜨도록 */
    margin-top: 4px;
    /* 버튼 바로 아래 여백 */
}

.date-picker-row3 {
    display: flex;
}

.calendar-container3 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.refresh-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    border: none;
}

.passenger-select-wrapper {
    position: relative;
    display: inline-block;
    /* 버튼 크기 기준 정렬 */
}

#passenger-btn {
    background: #f4f4f4;
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 18px;
    cursor: pointer;
    color: #555;
    width: 195px;
    height: 48px;
    line-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray100);
}

#passenger-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    background: white;
    border: 1px solid #ccc;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

#passenger-dropdown.show {
    display: block;
     z-index: 9999;
}


.search-button {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    height: 48px;
}


.ai-assistant-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 12px;
}

.ai-header {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #333;
}

.ai-badge {
    background: #00bcd4;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
}

.bold {
    font-weight: 700;
}

.desc {
    color: var(--gray500);
}

.ai-input-box {
    width: 100%;
    display: flex;
    align-items: center;
    background: #f9f9f9;
    border-radius: 9999px;
    padding: 10px 16px;
    position: relative;
}

.ai-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: var(--gray500);
    outline: none;
}

.ai-search-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00bcd4, #007bff);
    border: none;
    margin-left: 8px;
    cursor: pointer;
}

/* Promotions */
.custom-promotions {
  overflow: hidden;
}

.custom-promotion-card-blue {
  background: #EBF8FF;
  border-radius: 10px;
}

.custom-promotion-card-blue h3 {
  color: #4A68BD;
  font-size: 14px;
  font-weight: 700;
}

.custom-promotion-card-blue p {
  color: #4F4F4F;
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: 0.80px;
}

.custom-promotion-card-cyan {
  background: #EAF8FF;
  border-radius: 10px;
}

.custom-promotion-card-cyan h3 {
  color: #FE5D41;
  font-size: 14px;
  font-weight: 700;
}

.custom-promotion-card-cyan p {
  color: #4F4F4F;
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: 0.80px;
}

.custom-promotion-card-teal {
  background: #ECF8F7;
  border-radius: 10px;
}

.custom-promotion-card-teal h3 {
  color: #53C3BD;
  font-size: 14px;
  font-weight: 700;
}

.custom-promotion-card-teal p {
  color: #4F4F4F;
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: 0.80px;
}

/* Banner */
.custom-banner {
  background: #DF61E8;
  border-radius: 10px;
  position: relative;
  margin: 40px auto;
  border: 1px rgba(0, 0, 0, 0.05) solid;
}
/* .object-cover{
  margin: 0 auto;
} */
.custom-banner-pagination {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.20);
  border-top-left-radius: 10px;
  color: white;
  font-size: 12px;
  font-family: 'Apple SD Gothic Neo';
  font-weight: 700;
  line-height: 14.40px;
  padding: 3px 8px;
}
/* 
/* Login Prompt */
.custom-login-prompt {
  background: rgba(255, 255, 255, 0);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.03);
  border-radius: 10px;
}

.custom-login-grade {
  background: #F9FFFF;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  outline: 1px #E5F8F8 solid;
  outline-offset: -1px;
  display: flex;
  align-items: center;
}

.custom-login-grade p {
  font-size: 15px;
  font-family: 'Helvetica Neue';
  line-height: 22.05px;
  color: #424242;
}

.custom-login-grade p .font-bold {
  font-weight: 700;
}

.custom-coupon-section {
  background: white;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top: 1px #E9E9E9 solid;
  border-right: 1px #E9E9E9 solid;
  border-bottom: 1px #E9E9E9 solid;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 20px; /* Adjusted to align with original*/
  position: relative; /* Added for the border on the left */
}

.custom-coupon-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  border-left: 1px #D8D8D8 solid;
}

.custom-coupon-section p {
  color: #424242;
  font-size: 14px;
  font-weight: 700;
  line-height: 20.02px;
}

/* Hotel Best Chart */
.custom-hotel-chart h2 {
  font-family: 'Apple SD Gothic Neo';
  font-weight: 700;
  line-height: 27px;
  font-size: 20px;
}

.custom-chart-toggle {
  background: #F0F7F7;
  border-radius: 100px;
  outline: 1px #CAE6E8 solid;
  outline-offset: -1px;
}

.custom-toggle-button-active {
  background: white;
  border-radius: 100px;
  border: 1px #47AAB2 solid;
  color: #00B3C2;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}

.custom-toggle-button {
  background: transparent;
  color: #73C0C7;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}

.custom-city-filters button {
  border-radius: 19.50px;
  font-size: 14px;
  line-height: 21px;
  font-weight: 700; /* Default for all, adjusted for active */
  outline: 1px #E9E9EC solid;
  outline-offset: -1px;
  padding: 9.5px 16px;
}

.custom-city-filters button.bg-teal-600 {
  background: #47AAB2;
  color: white;
  font-weight: 700;
  outline: 1px #47AAB2 solid;
}

.custom-city-filters button.bg-gray-200 {
  background: transparent;
  color: #222225;
  font-weight: 400;
}

.custom-hotel-list .custom-hotel-item img {
  background: #F4F7F8;
  border-radius: 10px;
  border: 1px rgba(0, 0, 0, 0.05) solid;
}

.custom-hotel-item p {
  color: #222225;
  font-size: 16px;
  font-family: 'Helvetica Neue';
  line-height: 23px;
}

.custom-hotel-item p.font-bold {
  font-weight: 700;
}

.custom-hotel-item p.text-sm {
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: #77777A;
}

/* Partners (no specific style differences from original) */
.custom-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px; /* Adjusted gap to be more consistent with original */
  margin-bottom: 40px;
}
.custom-partners img{
  height: 26px;
}
.search-container {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: 'Noto Sans KR', sans-serif;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.location-input,
.date-input {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  width: 150px;
}

.person-selector,
.business-checkbox {
  padding: 10px 14px;
  background-color: #f5f5f5;
  border-radius: 8px;
  font-size: 14px;
}

.search-btn {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.ai-assistant {
  display: flex;
  flex-direction: column;
}

.ai-label {
  color: #555;
  font-size: 13px;
  margin-bottom: 6px;
}

.ai-input {
  display: flex;
  align-items: center;
  background-color: #f0f3f8;
  padding: 12px 16px;
  border-radius: 24px;
  color: #888;
  justify-content: space-between;
}

.send-btn {
  background-color: #00bcd4;
  border: none;
  color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 14px;
  cursor: pointer;
}
/* Sidebar */
.custom-sidebar {
  background: white;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  outline: 1px #F1F1F1 solid;
  outline-offset: -1px;
  padding: 22px 21px; /* Adjusted padding for consistency */
}

.custom-sidebar h3 {
  color: #222225;
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  margin-bottom: 15px; /* Added spacing */
}

.custom-sidebar-item {
  border-top: 1px #F0F0F3 solid;
  padding-top: 16px;
  padding-bottom: 16px;
}

.custom-sidebar-item:first-child {
  border-top: none;
  padding-top: 0;
}

.custom-sidebar-item img {
  width: 36px;
  height: 36px;
}

.custom-sidebar-item p.font-bold {
  color: #222225;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.custom-sidebar-item p.text-sm {
  color: #939396;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
}

/* Popup */
.custom-popup-overlay {
  background: rgba(0, 0, 0, 0.50);
}

.custom-popup-content {
  box-shadow: 0px 1px 1px rgba(37, 50, 67, 0.03);
  border-radius: 10px;
  padding: 30px; /* Consistent padding */
  width: 350px; /* Fixed width from original */
  height: 412px; /* Fixed height from original */
  position: relative; /* For close button placement */
}

.custom-popup-content h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: black;
  margin-bottom: 20px; /* Spacing below title */
}

.custom-popup-content img {
  margin-bottom: 20px; /* Spacing below image */
}

.custom-popup-content button:first-of-type {
  background: #47AAB2;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  padding: 14px 0; /* Adjusted padding */
}

.custom-popup-content button#closePopup {
  color: #424242;
  font-size: 14px;
  font-family: 'Apple SD Gothic Neo';
  font-weight: 400;
  line-height: 22px;
  text-decoration: underline;
  display: block;
  text-align: center;
  margin-top: 10px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  header .flex-col {
    text-align: center;
  }

  .custom-search-bar > div, .custom-search-bar > button {
    width: 100%;
  }

  .custom-promotions .grid-cols-3 {
    grid-template-columns: 1fr;
  }

  .custom-hotel-chart .grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .custom-search-bar {
    height: auto; /* Allow height to adjust for stacked elements */
    padding: 15px; /* Adjust padding for mobile */
  }

  .custom-search-bar > div {
    margin-bottom: 10px; /* Add spacing between stacked input fields */
  }

  .custom-search-button {
    width: 100%; /* Make search button full width */
    margin-left: 0; /* Remove auto margin for stacking */
  }

  .custom-login-prompt {
    flex-direction: column;
  }

  .custom-login-grade, .custom-coupon-section {
    border-radius: 10px; /* Apply full border-radius on mobile */
  }

  .custom-login-grade {
    margin-bottom: 10px; /* Spacing between stacked login prompts */
  }

  .custom-coupon-section::before {
    display: none; /* Hide vertical divider on mobile */
  }

  .custom-hotel-list {
    grid-template-columns: 1fr; /* Single column for hotels on mobile */
  }

  .custom-partners {
    justify-content: space-around; /* Distribute partners more evenly */
  }

  .custom-footer .flex-col {
    align-items: center;
  }

  .custom-footer div > a + a::before {
    display: none; /* Hide dividers on stacked footer links */
  }

  .custom-footer-info p span + span::before {
    display: none; /* Hide dividers on stacked footer info */
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .custom-search-bar {
    flex-wrap: wrap;
    height: auto;
  }

  .custom-search-bar > div, .custom-search-bar > button {
    flex: 1 1 45%;
    margin-bottom: 10px;
  }

  .custom-search-button {
    flex: 1 1 100%; /* Make search button full width on tablet */
    margin-left: 0;
  }
}

/* Specific adjustments for 1920px width to match original screenshot */
@media (min-width: 1200px) {
    .container {
        max-width: 1110px; /* Matches the container width in the original code */
    }

    .custom-header .container {
        max-width: 1110px;
        padding-left: 0;
        padding-right: 0;
    }

    .custom-navbar-bottom .container {
        max-width: 1110px;
        padding-left: 0;
        padding-right: 0;
    }

    .custom-hero-section {
        width: 1920px;
        left: 50%;
        transform: translateX(-50%);
    }

    .custom-search-bar {
        width: 1110px;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
        justify-content: space-between;
        display: flex;
        flex-wrap: nowrap;
    }

    .custom-search-bar > div {
        flex: none;
        width: 312px;
    }

    .custom-search-bar > div:nth-child(2) {
        width: 280px;
    }

    .custom-search-bar > div:nth-child(3) {
        width: 210px;
    }

    .custom-search-bar > div:nth-child(4) {
        width: 140px;
    }

    .custom-search-bar > button {
        flex: none;
        width: 100px;
    }

    .custom-promotions {
        width: 1110px;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px; /* Adjusted gap for consistency with original */
    }

    .custom-banner {
        width: 1110px;
        position: relative;
    }

    .custom-login-prompt {
        width: 1110px;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
        display: flex;
        flex-direction: row;
    }

    .custom-login-grade {
        flex: 0 0 674px;
    }

    .custom-coupon-section {
        flex: 0 0 436px;
    }

    .custom-hotel-chart {
        width: 1110px;
      
        position: relative;
    }

    .custom-hotel-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 0; /* Adjusted vertical gap */
    }

    .custom-hotel-item {
        width: 555px; /* Each item should take half of 1110px */
    }

    .custom-hotel-item:nth-child(odd) {
        padding-right: 20px; /* Space between columns */
    }

    .custom-sidebar {
        width: 280px;
        position: absolute; /* Position next to main content */
        right: 150px; /* Adjust based on your desired layout */
        top: 200px; /* Adjust to align with main content */
    }

    .custom-partners {
        width: 1025px; /* From original */
        position: relative;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 30px; /* Adjusted spacing for 1920px width */
    }

    .custom-footer .container {
        max-width: 1142px; /* Wider footer content area */
    }

    .custom-footer div > a + a {
        margin-left: 17px; /* Adjusted spacing */
    }
}



.recommend {
  width: 100%;
  max-width: 1200px;
  margin: 60px auto 40px auto; /* 상단 여백 조정 */
  padding: 0 20px;
}

.recommend_top {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 왼쪽 정렬 */
  margin-bottom: 25px;
}

.recom_box_top_con {
  width: 100%;
}

.recom_box_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px; /* 간격 조정 */
  margin-top: 10px;
  width: 100%;
}

.recom_box_bt {
  display: flex;
  gap: 8px;
}

.recom-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px; /* 패딩 조정 */
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill); /* 둥근 버튼 */
  border: 1px solid var(--accent); /* 테두리 색상 */
  color: var(--accent);
  background: var(--wht);
  cursor: pointer;
  transition: all 0.2s ease;
}

.recom-btn img {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(51%) sepia(83%) saturate(700%) hue-rotate(161deg) brightness(94%) contrast(94%); /* 원래색 */
}

.recom-btn.active {
  background: var(--gradient-aqua-green); /* 활성 시 그라데이션 */
  color: var(--wht);
  border: none;
}

.recom-btn.active img {
  filter: brightness(0) invert(1); /* 활성 시 흰색 */
}

.ai_recom_box {
  width: auto; /* 내용에 맞춰 너비 자동 조절 */
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* 오른쪽 정렬 */
  flex-grow: 1; /* 가용 공간 채우기 */
}

.ai_recom_box ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  gap: 8px; /* 간격 조정 */
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: var(--wht);
  border: 1px solid var(--accent);
  color: var(--primary);
  background-clip: padding-box;
}

.ai_recom_box ul li:first-child {
  font-weight: bold;
  font-size: 15px;
  color: var(--primary); /* 첫 항목 강조 색상 */
}

/* Recommendation Card styles (recom_box) */
.recom_box {
  width: 280px;
  background: var(--wht);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-light);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.recom_box:hover {
  transform: translateY(-5px);
}

.recom_box_img {
  position: relative;
  height: 180px; /* 이미지 높이 고정 */
  overflow: hidden;
}

.recom_box_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recom_percent {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--secondary); /* 추천도 배경색 */
  color: var(--wht);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.recom_tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--wht);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
}

.recom_box_text {
  padding: 16px;
}

.recom_box_text h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--blk);
  font-weight: 700;
}

.recom_box_text p {
  margin: 6px 0;
  font-size: 13px;
  color: var(--gray500);
}

.recom_box_text small {
  font-size: 11px;
  color: var(--gray300);
}

.direct_badge {
  background: var(--primary);
  color: var(--wht);
  font-size: 10px;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  font-weight: 600;
}


  



.swiper-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.swiper-slide {

margin-right: 16px;
}



.swiper {
  width: 140%;
  max-width: 1440px; /* 필요 시 제한 */
  margin: 0 auto;
}

.recom_box {
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
}
.recom_box {
  width: 300px; /* 또는 적절한 비율 단위 (ex. 80%, 25vw 등) */
  margin-right: 16px; /* 간격이 없으면 카드가 너무 붙어 보일 수 있음 */
}

/* 상단 검색바 */

.search-container {
  background: #fff;
  align-items: center;
  border-radius: 12px;
  padding: 24px;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
/* display: flex;
  flex-direction: column;
  align-items: center; /* 내부 요소들 가운데 정렬 
  width: 100%;
  padding: 20px;
  box-sizing: border-box; */


.search-box {
  display: flex;
  /* justify-content: space-between; 요소들 사이 간격 고르게 */
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 1100px; /* 중앙 정렬 최대 너비 */
  margin: 0 auto; /* 가운데 정렬 */
  padding: 20px;
  box-sizing: border-box;
  flex-wrap: wrap; /* 창이 좁아질 경우 줄바꿈 */
}

.search-box input[type="text"],
.search-box input[type="date"] {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 160px;
}

.date-input {
  width: 120px;
}

.person-select {
  padding: 12px;
  background-color: #f0f0f0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #f0f0f0;
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid #ccc;
}

.search-button {
  background: linear-gradient(to right, #00c6ff, #0072ff);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.assistant-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: #f9f9fb;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
}

.assistant-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
  font-size: 14px;
}

.ai-badge {
  background: linear-gradient(to right, #00c6ff, #0072ff);
  color: white;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.assistant-input {
  flex-grow: 1;
  padding: 14px;
  border: none;
  outline: none;
  font-size: 14px;
  background-color: transparent;
}

.assistant-button {
  width: 32px;
  height: 32px;
  background: radial-gradient(circle at center, #00c6ff, #0072ff);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

/* 캐러셀 영역 */
.carousel {
  background-color: #1bcbb1;
  position: relative;
  color: white;
  padding: 40px 20px; /* 기존 60px → 40px로 줄임 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 20px; /* 검색 박스와의 간격 */
  border-radius: 5px;
  width: 100%;
}

.carousel-text {
  text-align: center;
  z-index: 1;
}

.carousel-text p {
  font-size: 18px;
  margin-bottom: 8px;
}

.carousel-text h2 {
  font-size: 24px;
  font-weight: bold;
}

.dots {
  margin-top: 16px;
}

.dot {
  height: 8px;
  width: 8px;
  margin: 0 4px;
  background-color: white;
  opacity: 0.4;
  border-radius: 50%;
  display: inline-block;
  transition: opacity 0.3s ease;
}

.dot.active {
  opacity: 1;
}

/* 이미지 (좌/우) */
.carousel-img {
  position: absolute;
  bottom: 0;
  width: 100px;
  height: auto;
  z-index: 0;
}

.carousel-img.left {
  left: 20px;
  width: 60px;
}

.carousel-img.right {
  right: 0;
  width: 160px;
}