/* Existing and New Styles */
.line-divider {
    border-bottom: 3px solid #ddd;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

#listContainer {
    max-width: 1200px;
    padding: 10px;
    background-color: white;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

#searchBoxList {
    max-width: 100%;
    padding: 14px 0;
    border-radius: 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background-color: #fff;
}

#searchBoxList.is-fixed {
    box-shadow: 0 4px 14px 0 rgba(177, 177, 177, .2);
    border-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.vendor-container {
    border-bottom: 1px solid #e6e6e6;
    padding: 34px 0;
    display: flex;
    margin-top: 0 !important;
}

.vendor-container:last-child {
    border-bottom: 0;
}

.vendor-brand {
    font-weight: 600;
}

.vendor-header.en+.vendor-header.ko {
    margin-bottom: 12px;
}

.detail-item {
    margin-right: 20px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #999;
    font-weight: 400;
}

.detail-postpaid {
    font-size: 0.9em;
    color: #f11616;
}

#no-car-available {
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 600px;
    display: none;
    text-align: center;
}

.rate-title h4 {
    letter-spacing: -0.2px;
    margin-bottom: 0;
}

.car-title h4 {
    padding: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.car-title h4 .car_en {
    font-size: 1.1rem;
    font-weight: 500;
}


.rate-title .rate h4 {
    padding: 20px 20px 20px 6px;
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rate-title .rate span {
    font-size: 1rem;
    font-weight: 500;
}

.modal-open {
    padding-right: 0 !important;
}

.vendor_logo_box {
    margin-bottom: 4px;
}

/* New Styles for Layout */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.text-center {
    text-align: center;
}

.align-items-center {
    align-items: center;
}

.car-rate-container {
    padding-left: 10px;
    padding-right: 10px;
    border: 3px solid #eee;
    border-radius: 0.5rem;
}

.car-rate-container .row {
    padding: 5px 0;
    border-top: 1px solid #ddd;
    margin-bottom: -15px;
    /*박스의 폭을 정리하기 위해서 사용*/
}

.car-rate-container .row h4 {
    font-size: 1.25rem;
}

.car-rate-container .row p {
    font-size: 1rem;
}

.car-rate-container .col-2 img {
    max-width: 100%;
    height: auto;
}

.car-rate-container .col-2,
.car-rate-container .col-4,
.car-rate-container .col-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.car-rate-container .col-2 {
    text-align: center;
}

.car-rate-container .col-3 p,
.car-rate-container .col-4 p {
    margin-bottom: 0;
}

.car-rate-container .col-3 p {
    font-weight: bold;
}

.car-rate-container .row .col-6,
.car-rate-container .row .col-4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.car-rate-container .col-4 p {
    margin-bottom: 5px;
}

.car-rate-container .col-6 p {
    margin-bottom: 0;
}

.car-rate-box {
    border: none;
}

.rate-separator {
    border-top: 1px solid #ddd;
    margin: 5px 0;
    width: 100%;
    display: block;
}

.price-inside,
.car-logo,
.car-details {
    padding-left: 10px;
    padding-right: 10px;
}

.price-inside h6 {
    /* font-weight:600; */
    font-size: 17px;
}

.price-width {
    width: 120px;
}

.car-details {
    color: #696969;
}

.pricing-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}

.pricing-detail p {
    margin-bottom: 0;
}

#accordionRENT {
    margin-bottom: 20px;
}

#euModal>.form-control {
    height: 30px;
}

.waikiki-map-wrap{ margin: 12px 0 16px; }

/* 와이키키 안내 문구 스타일 */
.waikiki-notice {
    background-color: #fff9e6;
    border: 1px solid #f0d86e;
    border-left: 4px solid #f0ad4e;
    border-radius: 4px;
    padding: 12px 16px;
    margin: 0 0 16px;
    font-size: 13px;
    color: #856404;
}

.waikiki-notice ul {
    margin: 0;
    padding-left: 18px;
}

.waikiki-notice li {
    margin-bottom: 4px;
    line-height: 1.5;
}

.waikiki-notice li:last-child {
    margin-bottom: 0;
}

/* 토글 텍스트 위에만 얇은 선 */
.toggle-chip{
  display:inline-block;
  border-top:1px solid #ddd;   /* 텍스트 길이만큼의 얇은 선 */
  padding-top:8px;
  cursor:pointer;
  font-weight:700;
  font-size:1.1rem;
  color:#6b5fc5;               /* 톤 다운 보라 */
}
.toggle-chip:hover{ color:#584ab0; }
.toggle-chip i{ margin-right:6px; vertical-align:-2px; }

/* Responsive Styles */
@media (max-width: 1200px) {
    #searchBoxList {
        padding: 16px 20px;
    }

    .search_list {
        padding: 0px;
    }
}

@media (max-width: 1080px) {

    /* .pricing-detail{
        flex-direction: column;
    } */
    .car-logo {
        width: 25%;
    }

    .car-logo div {
        display: flex;
        /* flex-direction: column; */
        align-items: center;
    }

    .car-details {
        width: 35%;
    }

    .car-pricing {
        width: 40%;
    }
}

@media (max-width: 880px) {
    .pricing-detail {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    #searchBoxList {
        position: static;
        padding: 0;
    }

    #searchBoxList.is-fixed {
        position: static;
    }

    .car-rate-container .row {
        flex-direction: column;
        align-items: center;
    }

    .car-rate-container .col-4,
    .car-rate-container .col-6,
    .car-rate-container .col-2 {
        text-align: center;
        margin-bottom: 10px;
        width: 100%;
    }

    .car-details {
        font-size: 14px;
    }

    .car-logo,
    .car-details {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .car-pricing .rate-separator {
        width: 62%;
    }

    .car-rate-container .row .col-6,
    .car-rate-container .row .col-4 .pricing-detail {
        flex-direction: row;
    }

    .car-rate-column-mobile {
        flex-direction: column !important;
    }

    .car-title h4 {
        flex-direction: column;
        padding: 16px 0 0 0;
    }

    .car-title h4 .car_en {
        font-size: 1rem;
        font-weight: 400;
    }

    .price-inside {
        font-size: 16px;
    }

    .price-width {
        width: 130px;
    }

    #returnLoc {
        margin-top: 6px;
    }

    .search_list_box #rtSearchBoxList .search_box_fix {
        padding: 0;
    }

    .search_list_box #rtSearchBoxList .search_input>.form-control {
        height: 28px;
        padding: 0 !important;
        background: transparent !important;
    }

    .search_list_box #rtSearchBoxList .search_input>.btn {
        height: 42px;
    }

}

@media (max-width: 440px) {
    .car-title h4 {
        font-size: 1.15rem;
    }
}


@media (max-width: 375px) {

    .price-inside,
    .car-logo,
    .car-details {
        padding-left: 6px;
        padding-right: 6px;
    }

    .price-inside h6 {
        font-size: 15px;
    }
}

/* ========== Skeleton UI Styles ========== */
#skeleton-container {
    padding: 10px 0;
}

.skeleton-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.skeleton-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.skeleton-title {
    width: 200px;
    height: 24px;
}

.skeleton-price-badge {
    width: 150px;
    height: 24px;
}

.skeleton-body {
    display: flex;
    align-items: center;
}

.skeleton-logo-area {
    flex: 0 0 33.33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.skeleton-logo {
    width: 80px;
    height: 30px;
}

.skeleton-car-image {
    width: 100px;
    height: 60px;
}

.skeleton-details-area {
    flex: 0 0 33.33%;
    padding: 0 15px;
}

.skeleton-car-name {
    width: 80%;
    height: 18px;
    margin-bottom: 10px;
}

.skeleton-options {
    width: 90%;
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-insurance {
    width: 70%;
    height: 14px;
}

.skeleton-pricing-area {
    flex: 0 0 33.33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.skeleton-price-label {
    width: 60px;
    height: 16px;
}

.skeleton-price-value {
    width: 100px;
    height: 20px;
}

.skeleton-button {
    width: 80px;
    height: 36px;
    border-radius: 4px;
}

/* Skeleton Animation */
.skeleton-box {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Filter disabled state */
#filterContainer.skeleton-loading select {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile skeleton adjustments */
@media (max-width: 768px) {
    .skeleton-body {
        flex-direction: column;
    }

    .skeleton-logo-area,
    .skeleton-details-area,
    .skeleton-pricing-area {
        flex: 1;
        width: 100%;
        padding: 10px 0;
    }

    .skeleton-logo-area {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .skeleton-details-area {
        text-align: center;
    }

    .skeleton-pricing-area {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    .skeleton-card {
        padding: 12px;
    }
}
