.tour-detail-header {
    background-color: #f9f4f0
}

.tour-detail-header .slide-banner img {
    height: 25rem !important;
}

.tour-detail-header ul {
    flex-wrap: wrap
}

.tour-detail-header ul li {
    color: #0f0f0f;
    font-weight: 400;
    font-size: 14px;
    padding: 0 10px;
    padding-left: 10px;
    position: relative
}

.tour-detail-header ul li:not(:last-child)::before {
    content: " ";
    position: absolute;
    right: 0;
    height: 55%;
    width: 1px;
    background-color: #989994;
    top: 23%
}

.tour-detail-header ul li:first-child {
    padding-left: 0
}

.tour-detail-header h1.title {
    font-size: 1.875rem;
    margin-bottom: 10px
}

.content-box {
    margin-top: 1.5rem;
}

.content-box:first-child {
    margin-top: 0;
}

.content-box .content-title {
    font-size: 1.5rem;
}

.content-box .content {
    text-align: justify;
}

.content-box .content p {
    margin-bottom: 10px;
}

.content-box .content .map {
    height: 15.625rem;
}

.content-box .icon-clution {
    cursor: pointer;
}

.content-box .icon-clution i {
    padding-left: 5px;
    color: #808080;
    font-size: 1rem;
}

.content-box .faqs {
    border-top: 1px dashed #d3d2da;
    padding-top: 1.25rem;
    margin-left: 1rem
}

.content-box .faqs .faqs-container {
    padding-left: 2.5rem;
}

.content-box .faqs .faqs-container:not(:last-child)::before {
    position: absolute;
    content: "";
    left: 0;
    width: 1px;
    height: 100%;
    background-color: #d3d2da;
    top: 30px
}

.content-box .faqs .faqs-container .faqs-top {
    cursor: pointer;
}

.content-box .faqs .faqs-container .faqs-circle {
    height: 30px;
    width: 30px;
    border-radius: 100%;
    border: 2px solid #d3d2da;
    padding: 4px;
    left: -15px;
    top: -1px;
    background-color: #fff
}

.content-box .faqs .faqs-container .faqs-circle-item {
    height: 100%;
    width: 100%;
    border-radius: 100%
}

.content-box .faqs .faqs-container.active .faqs-circle-item {
    background-color: #ea5b31
}

.content-box .faqs .faqs-container .faqs-title {
    font-size: 17px;
    font-weight: 600
}

.content-box .faqs .faqs-container .faqs-icon i {
    height: 16px;
    color: black
}

.content-box .faqs .faqs-container .faqs-icon.active i {
    transform: rotate(90deg)
}

.content-box .faqs .faqs-container .faqs-content {
    border-bottom: 1px solid #d3d2da;
    margin-bottom: 1rem;
    padding-bottom: 1rem
}

.content-box .faqs .faqs-container:not(:first-child) .faqs-content .content {
    display: none;
}

.content-box .faqs .faqs-container .faqs-content .content p {
    padding-bottom: 0;
    margin-top: 5px
}

.content-box .faqs.faq-question {
    margin-left: 0 !important;
    padding-top: 0 !important;
    border-top: unset;
}

.content-box .faqs.faq-question .faqs-container {
    padding-left: 0 !important;
}

.content-box .faqs.faq-question .faqs-container::before {
    display: none;
}

.content-box .faqs.faq-question .faqs-container.child {
    padding: 0.5rem 1.25rem 0 1.25rem !important;
}

.content-box .faqs.faq-question .faqs-container.child .faqs-content {
    border-bottom: unset;
    margin-bottom:  0;
    padding-bottom: 0;
}

.text-active {
    color: #ea5b31
}

/* review */
.reviews-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.reviews-header-left h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

.overall-rating {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.overall-rating .score {
    font-size: 45px;
    font-weight: 700;
    color: #1f2937;
    margin-right: 8px;
    line-height: 1;
}

.overall-rating .star-review {
    display: flex;
    flex-direction: column;
}

.overall-rating .star-review .rate-view .star {
    line-height: 1;
}

.reviews-header-left .review-count {
    font-size: 1rem;
    color: var(--text-dark);
    margin-top: 4px;
}

.write-review-button {
    background-color: #ef4444;
    color: white;
    font-weight: 600;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    margin-top: 16px;
    font-size: 14px;
}

.write-review-button:hover {
    background-color: #dc2626;
}

.review-card {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.review-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.user-icon {
    width: 48px;
    height: 48px;
    background-color: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    margin-right: 16px;
    flex-shrink: 0;
}

.user-icon svg {
    width: 24px;
    height: 24px;
}

.review-content {
    flex-grow: 1;
}

.review-meta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    line-height: 1;
}

.reviewer-info .rating-value {
    font-weight: 600;
    color: #1f2937;
    margin-right: 5px;
}

.reviewer-info .reviewer-name {
    font-weight: 700;
    color: #1f2937;
    font-size: 14px;
}

.review-date {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}

.review-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-dark);
    margin-top: 4px;
    margin-bottom: 8px;
}

.review-text {
    color: #4b5563;
    line-height: 1.625;
    text-align: justify;
    /*max-inline-size: 80ch;*/
    /*text-wrap: balance;*/
}

@media (min-width: 640px) {
    .reviews-header {
        flex-direction: row;
        align-items: flex-start;
    }

    .write-review-button {
        margin-top: 0;
    }

    .review-meta {
        flex-direction: row;
        align-items: center;
    }

    .review-date {
        margin-top: 0;
    }
}

/* Modal Styles */
.tour-detail-modal.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease-in-out;
}

.tour-detail-modal.overlay.show {
    visibility: visible;
    opacity: 1;
}

.tour-detail-modal-content {
    background-color: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    width: 60%;
    /* max-width: 700px; */
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 2;
}

.tour-detail-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 16px;
}

.tour-detail-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.tour-detail-modal-close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.15s ease-in-out;
}

.tour-detail-modal-close-button:hover {
    background-color: #e5e7eb;
}

.tour-detail-modal .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.tour-detail-modal .form-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .tour-detail-modal .form-row {
        flex-direction: row;
    }

    .tour-detail-modal .form-row .form-group {
        flex: 1;
    }
}

.tour-detail-modal .form-group input[type="text"],
.tour-detail-modal .form-group input[type="email"],
.tour-detail-modal .form-group textarea,
.tour-detail-modal .form-group select {
    width: 100%;
    padding: 5px 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #1f2937;
    /* background-color: #f9fafb; */
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    line-height: 1.4;
    height: 40px;
}

.tour-detail-modal .form-group input[type="text"]:focus,
.tour-detail-modal .form-group input[type="email"]:focus,
.tour-detail-modal .form-group textarea:focus,
.tour-detail-modal .form-group select:focus {
    /* border-color: #ef4444; */
    /* box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2); */
    outline: none;
}

.tour-detail-modal .form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.tour-detail-modal .error-message {
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
    display: none;
}

.tour-detail-modal .captcha-section {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.tour-detail-modal .captcha-image {
    width: 120px;
    height: 40px;
    background-color: #e5e7eb;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #4b5563;
    border-radius: 4px;
    margin-bottom: 8px;
}

.tour-detail-modal .captcha-text-input {
    width: 100%;
    max-width: 200px;
    margin-bottom: 8px;
    margin-right: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 5px 8px;
}

.tour-detail-modal .captcha-hint {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.tour-detail-modal .captcha-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
    display: none;
}

.tour-detail-modal .modal-submit-button {
    background-color: #ef4444;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    width: 100%;
    margin-top: 24px;
}

.tour-detail-modal .modal-submit-button:hover {
    background-color: #dc2626;
}

/* end modal */


/* right  */
.rightbar-form {
    position: sticky;
    top: 1rem
}

.form-book {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #00000017;
}

.form-book .form-group {
    /* position: relative; */
    padding-bottom: 0.5rem;
}

.form-book .form-group label {
    /* position: absolute; */
    top: -10px;
    left: 6px;
    font-size: 12px;
    font-weight: 400;
    background: #ffffff;
    padding: 0 5px;
    color: var(--text-dark);
}

.form-book .form-group input,
.form-book .form-group select {
    border: 1px solid #ababab;
    width: 100%;
    vertical-align: middle;
    display: inline-block;
    border-radius: 5px;
    height: 40px;
    padding: 0 5px;
}

.form-book .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-book .form-group input::placeholder,
.form-book .form-group textarea::placeholder {
    font-size: 13px !important;
}

select:invalid {
    color: gray;
    font-size: 13px !important;
}

.form-book-top {
    background-color: #f9f4f0;
    padding: 18px 25px 15px 25px
}

.form-book-top .price-right {
    font-size: 16px;
    font-weight: 500
}

.form-book-top .price-right span {
    font-size: 11px;
    color: #8b8b8b;
    line-height: 1.0
}

.form-book-top .price-left {
    font-size: 22px;
    font-weight: 600
}

.form-book-top h2 {
    font-size: 20px;
    margin: 5px 0 0 0
}

.form-book-top span {
    font-size: 14px;
    color: #8b8b8b
}

.form-book-body {
    padding: 15px
}

.form-book-body .row {
    --bs-gutter-x : 0.5rem
}

.form-book-body input::placeholder,
.form-book-body textarea::placeholder {
    color: #a1a398;
    font-size: 15px;
    opacity: 1
}

.form-book-bottom {
    padding: 0 20px 30px 20px;
}

.form-book-bottom h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px
}

.faqs-icon svg,
.btn-expand {
    cursor: pointer
}

.form-book-bottom span {
    font-size: 14px;
    color: #8b8b8b;
    line-height: 1.4;
    display: block
}

.form-book-bottom button {
    background-color: #ea5b31;
    width: 100%;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 15px;
    border-radius: 4px;
    margin-top: 10px
}

.btn-expand.active .expand {
    display: none
}

.btn-expand.active .close {
    display: block
}

.form-tags {
    padding: 0.8rem;
}

.form-tags a {
    display: inline-block;
    border: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
    padding: 11px 16px;
    margin-right: 5px;
    margin-bottom: 10px;
    background-color: var(--smoke-color);
    color: var(--title-color);
    border-radius: 4px
}

.form-tags a:hover {
    background-color: var(--brand-gold);
    color: var(--white-color) !important
}

.form-tags a:nth-child(n+6) {
    display: none;
}



