/* =========================
   YH CANCELLATION PAGE
========================= */
.display-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yh-cancellation-page {
    position: relative;
    padding: 145px 0 80px;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(34, 138, 255, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(8, 85, 181, 0.12), transparent 25%),
        linear-gradient(180deg, #02142d 0%, #041a39 50%, #03152f 100%);
    overflow: hidden;
}

.yh-cancellation-container {
    width: 100%;
    /* max-width: 1240px; */
    margin: 0 auto;
    padding: 145px 20px 10px;
}

.yh-cancel-left,
.yh-cancel-right {
    width: 100%;
}

.yh-page-topbar {
    /* margin-bottom: 18px; */
    padding-left: 20px;
}

.yh-page-topbar span {
    font-size: 24px;
    font-weight: 400;
}

.yh-back-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #dcecff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.95;
    transition: 0.25s ease;
}

.yh-back-link:hover {
    color: #ffffff;
    opacity: 1;
}

.yh-back-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    min-height: 18px;
    position: relative;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    padding: 9px;
    flex-shrink: 0;
}

.yh-back-icon img {
    display: block;
    width: 15px;
    height: 15px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.yh-back-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, .40) 0%, rgba(255, 255, 255, .10) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.yh-cancel-card,
.yh-reservation-card,
.yh-mobile-summary-card,
.yh-mobile-cancel-card {
    background: transparent;
    border-radius: 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.yh-cancel-card {
    padding: 28px;
}

.yh-cancel-title {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 300;
    line-height: 145%;
}

.yh-cancel-subtitle {
    margin: 0 0 22px;
    color: #AAB8C2;
    font-size: 16px;
    line-height: 145%;
}

.yh-cancel-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yh-reason-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px 16px 0px;
    min-height: 56px;
    /* border-radius: 16px; */
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    border-bottom: 1px solid #2E4A6A;
}

.yh-reason-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.yh-reason-text {
    flex: 1;
    color: #d7e9ff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.yh-radio-ui {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(220, 234, 255, 0.8);
    position: relative;
    transition: all 0.25s ease;
}

.yh-radio-ui::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #fff;
    transform: scale(0);
    transition: transform 0.22s ease;
}

.yh-reason-item input:checked~.yh-radio-ui {
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(99, 170, 255, 0.08);
}

.yh-reason-item input:checked~.yh-radio-ui::after {
    transform: scale(1);
}

.yh-cancel-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 22px;
}

.yh-btn-primary,
.yh-btn-secondary {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
    font-size: 16px;
    font-weight: 300;
    cursor: pointer;
    height: 56px;
}

.yh-btn-primary {
    border: none;
    color: #07203f;
    background: linear-gradient(90deg, #7ebfff 0%, #eef5ff 100%);
}

.yh-btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.yh-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(227, 239, 255, 0.86);
    background: transparent;
}

.yh-btn-secondary:hover {
    border-color: rgba(118, 187, 255, 0.35);
    color: #fff;
}

/* RIGHT CARD */
.yh-reservation-card,
.yh-mobile-summary-card {
    padding: 24px 16px;
    border: 1px solid #1F3958;
}

.yh-reservation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.yh-booking-id {
    color: #AAB8C2;
    font-size: 16px;
    font-weight: 400;
    line-height: 145%;
}

.yh-booking-id span {
    color: #ffff;
}

.yh-booking-status {
    color: #22C55E;
    font-size: 16px;
    font-weight: 400;
    line-height: 145%;
}

.yh-reservation-image-wrap {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 24px;
}

.yh-reservation-image-wrap img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.yh-reservation-main {
    margin-bottom: 24px;
    margin-left: 8px;
}

.yh-reservation-main .titles {
    display: flex;
    gap: 8px;
    align-items: center;
}

.yh-reservation-main .titles .icon-img {
    width: 20px;
    height: 20px;
}

.yh-reservation-main .titles span {
    font-size: 14px;
    line-height: 145%;
    font-weight: 300;
}

.yh-yacht-title {
    margin: 0 0 16px;
    color: #f6fbff;
    font-size: 24px;
    font-weight: 400;
    line-height: 145%;
}

.yh-reservation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(215, 233, 255, 0.72);
    font-size: 13px;
}

.yh-divider {
    width: 100%;
    height: 1px;
    background: #1F3958;
    margin: 24px 0;
}

.yh-divider-sm {
    margin: 24px 0;
}

.yh-section-title {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 300;
}

.yh-price-section,
.yh-policy-section {
    width: 100%;
    padding-left: 8px;
}

.yh-info-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.yh-info-row span {
    color: #AAB8C2;
    font-size: 16px;
    line-height: 145%;
    font-weight: 400;
}

.yh-info-row strong {
    color: #ffffff;
    font-size: 16px;
    line-height: 145%;
    font-weight: 300;
    text-align: right;
    white-space: nowrap;
}

.yh-refund-row span,
.yh-refund-row strong {
    font-size: 16px;
    font-weight: 400;
}

.yh-policy-item {
    margin-bottom: 14px;
}

.yh-policy-item h4 {
    margin: 0 0 8px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 145%;
    font-family: "Montserrat", san-serif;
}

.yh-policy-item p {
    margin: 0;
    color: #AAB8C2;
    font-weight: 400;
    font-size: 14px;
    line-height: 145%;
    font-family: 'Montserrat', sans-serif;
}

.yh-policy-link {
    display: inline-flex;
    margin-top: 10px;
    color: #8DD8FF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.yh-policy-link:hover {
    color: #a8d6ff;
}

/* MOBILE */
.yh-cancellation-mobile {
    display: none;
}

.yh-mobile-screen {
    max-width: 420px;
    margin: 0 auto;
}

.yh-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 4px 12px;
}

.yh-mobile-back,
.yh-mobile-icon-btn {
    width: 40px;
    height: 40px;
    font-weight: 200;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    display: inline-flex;
    padding-bottom: 3px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yh-mobile-back::before,
.yh-mobile-icon-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(268.7deg, #fff, #76bbff);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.yh-mobile-icon-btn {
    padding: 0;
}

.yh-mobile-icon-btn img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.yh-mobile-title {
    flex: 1;
    text-align: start;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.yh-mobile-summary-card {
    /* margin-bottom: 16px; */
}

.yh-mobile-cancel-card {
    padding: 18px 24px 16px;
}

/* animations fallback */
.yh-cancellation-page {
    opacity: 1;
    transform: none;
}

.yh-mobile-summary-toggle {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    cursor: pointer;
}

.yh-mobile-summary-toggle-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yh-mobile-summary-heading {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    line-height: 145%;
}

.yh-mobile-summary-subinfo {
    color: #AAB8C2;
    font-size: 12px;
    line-height: 145%;
}

.yh-mobile-summary-toggle-right {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    padding: 5px 15px;
    width: 20px;
    height: 30px;
    justify-content: center;
}

.yh-cancel-success-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.yh-cancel-success-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.yh-cancel-success-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 16, 38, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.yh-cancel-success-dialog {
    position: relative;
    z-index: 2;
    width: min(90vw, 420px);
    min-height: 140px;
    border-radius: 24px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;

    background: rgba(7, 28, 63, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transform: scale(0.96);
    transition: transform 0.25s ease;
}

.yh-cancel-success-modal.is-open .yh-cancel-success-dialog {
    transform: scale(1);
}

.yh-cancel-success-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 107, 107, 0.35);
    background: rgba(255, 255, 255, 0.03);
}

.yh-cancel-success-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.yh-cancel-success-icon-text {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b6b;
    font-size: 18px;
    font-weight: 700;
    border: 1px solid rgba(255, 107, 107, 0.35);
    background: rgba(255, 255, 255, 0.03);
}

.yh-cancel-success-title {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
}

@media (max-width: 768px) {
    .yh-cancel-success-dialog {
        width: calc(100vw - 32px);
        min-height: 124px;
        padding: 28px 20px;
        border-radius: 20px;
    }

    .yh-cancel-success-title {
        font-size: 18px;
    }
}

.mobile-menu-links {
    list-style: none !important;
}

.mobile-menu-header {
    padding: 20px 20px 0px 10px;
}

.mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
}

.yh-mobile-summary-toggle-right::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, .40) 0%, rgba(255, 255, 255, .10) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.yh-mobile-summary-arrow {
    color: #ffffff;
    font-size: 16px;
    width: 12px;
    height: 12px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.yh-mobile-summary-content {
    overflow: hidden;
    transition: max-height 0.32s ease, opacity 0.25s ease, margin-top 0.25s ease;
}

.yh-other-reason-wrap {
    position: relative;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    border-radius: 20px;
    transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.25s ease;
    pointer-events: none;
}

.yh-other-reason-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.40) 0%,
            rgba(255, 255, 255, 0.10) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.yh-other-reason-wrap.is-open {
    max-height: 260px;
    opacity: 1;
    margin-top: 6px;
    pointer-events: auto;
}


.yh-other-reason-textarea {
    width: 100%;
    min-height: 170px;
    resize: none;
    border-radius: 20px;
    padding: 20px 18px;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 300;
    line-height: 145%;
}

.yh-other-reason-textarea::placeholder {
    color: #8FA6BF;
}

@media (max-width: 991.98px) {
    .yh-other-reason-textarea {
        min-height: 150px;
        font-size: 14px;
        border-radius: 18px;
        padding: 18px 16px;
    }
}

.yh-mobile-drawer.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 991.98px) {
    .yh-mobile-summary-card {
        padding: 24px;
    }

    .yh-mobile-summary-toggle {
        display: flex;
    }

    .yh-mobile-summary-collapsed .yh-mobile-summary-content {
        max-height: 0;
        opacity: 0;
        margin-top: 0;
        pointer-events: none;
    }

    .yh-mobile-summary-card:not(.yh-mobile-summary-collapsed) .yh-mobile-summary-content {
        max-height: 2000px;
        opacity: 1;
        margin-top: 14px;
        pointer-events: auto;
    }

    .yh-mobile-summary-collapsed .yh-mobile-summary-arrow {
        transform: rotate(180deg);
    }

    .yh-reservation-card,
    .yh-mobile-summary-card {
        border: none;
    }
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .yh-cancellation-page {
        padding: 28px 0 56px;
    }

    .yh-cancellation-desktop {
        display: none !important;
    }

    .yh-cancellation-mobile {
        display: block;
    }

    .yh-reservation-image-wrap img {
        height: 190px;
    }

    .yh-yacht-title {
        font-size: 18px;
    }

    .yh-reservation-meta {
        gap: 10px;
        font-size: 12px;
    }

    .yh-section-title {
        font-size: 20px;
    }

    .yh-info-row span,

    /* .yh-policy-item h4,
    .yh-policy-item p,
    .yh-cancel-subtitle
     {
        font-size: 12px;
    } */
    .yh-cancel-subtitle {
        font-size: 14px;
    }

    .yh-info-row span,
    .yh-info-row strong {
        font-size: 16px;
    }

    .yh-policy-section,
    .yh-price-section {
        padding-left: 0px !important;
    }

    .yh-reason-text {
        font-size: 16px;
    }

    .yh-cancel-title {
        font-size: 20px;
    }

    .yh-btn-primary,
    .yh-btn-secondary {
        min-height: 44px;
        font-size: 16px;
    }
}

body.yh-modal-open {
    overflow: hidden;
}

.yh-cancel-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.yh-cancel-confirm-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.yh-cancel-confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 14, 35, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.yh-cancel-confirm-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 470px;
    background: linear-gradient(180deg, #08234A 0%, #051935 100%);
    border-radius: 28px;
    padding: 52px 28px 51px;
    text-align: center;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.28s ease;
}

.yh-cancel-confirm-dialog::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, .40) 0%, rgba(255, 255, 255, .10) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.yh-cancel-confirm-modal.is-open .yh-cancel-confirm-dialog {
    transform: translateY(0) scale(1);
}

.yh-cancel-confirm-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}

.yh-cancel-confirm-close:hover {
    color: #fff;
}

.yh-cancel-confirm-title {
    margin: 0 0 14px;
    color: #FFF;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 145%;
    letter-spacing: -0.02em;
}

.yh-cancel-confirm-text {
    margin: 20px 0 !important;
    color: #AAB8C2;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.45;
}

.yh-cancel-confirm-text+.yh-cancel-confirm-text {
    margin-top: 10px;
}

.yh-cancel-confirm-text-warning {
    /* max-width: 270px; */
    margin-left: auto;
    margin-right: auto;
    padding: 0 25px;
}

.yh-cancel-confirm-actions {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yh-cancel-confirm-primary,
.yh-cancel-confirm-secondary {
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.25s ease;
}

.yh-cancel-confirm-primary {
    border: none;
    color: #FFF;
    background: linear-gradient(90deg, #E50914 0%, #FFB6B6 100%);
    box-shadow: 0 10px 24px rgba(229, 9, 20, 0.22);
}

.yh-cancel-confirm-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.yh-cancel-confirm-secondary {
    background: transparent;
    color: #AAB8C2;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.yh-cancel-confirm-secondary:hover {
    color: #FFF;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.03);
}

.yh-ui-hidden {
    display: none !important;
}

.yh-cancellation-mobile .yh-mobile-screen {
    min-height: 85dvh;
    display: flex;
    flex-direction: column;
}

.yh-cancellation-mobile .yh-mobile-top {
    flex-shrink: 0;
}

.yh-cancellation-mobile .yh-cancelled-state-card,
.yh-cancellation-mobile .yh-mobile-summary-card {
    flex-shrink: 0;
}

.yh-cancellation-mobile .figma-footer {
    margin-top: auto;
    flex-shrink: 0;
}

.yh-cancelled-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
    overflow: visible;
    background: transparent;
    border: 1px solid rgba(255, 82, 82, 0.22);
    box-shadow:
        0 0 0 1px rgba(255, 90, 95, 0.10) inset,
        0 0 18px rgba(255, 64, 64, 0.18),
        0 0 36px rgba(255, 64, 64, 0.14),
        0 0 60px rgba(255, 64, 64, 0.10);
}

.yh-cancelled-icon-wrap::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 22px;
    background: radial-gradient(circle, rgba(255, 74, 74, 0.22) 0%, rgba(255, 74, 74, 0.10) 38%, rgba(255, 74, 74, 0.00) 72%);
    z-index: -1;
    pointer-events: none;
    filter: blur(10px);
}

.yh-cancelled-icon-wrap img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.yh-cancelled-icon-wrap img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.yh-cancelled-next-box {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 18px;
    border-top: 1px solid #1F3958;
}

.yh-cancelled-next-box h3 {
    margin: 0 0 8px;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 300;
    line-height: 145%;
}

.yh-cancelled-next-box p {
    margin: 0;
    color: #AAB8C2;
    font-size: 16px;
    font-weight: 300;
    line-height: 145%;
}

.yh-booking-status-cancelled {
    color: #FF5A5F !important;
}

@media (max-width: 991.98px) {
    .yh-cancelled-next-box h3 {
        font-size: 16px;
    }

    .yh-cancelled-next-box p {
        font-size: 12px;
    }

    .yh-cancelled-next-box {
        border-bottom: 1px solid #1F3958;
        padding-bottom: 18px;
    }
}

@media (max-width: 767px) {
    .yh-cancel-confirm-modal {
        padding: 18px;
        align-items: center;
    }

    .yh-cancel-confirm-dialog {
        max-width: 100%;
        border-radius: 24px;
        padding: 28px 20px 22px;
    }

    .yh-cancel-confirm-text {
        font-size: 13px;
    }

    .yh-cancel-confirm-primary,
    .yh-cancel-confirm-secondary {
        min-height: 48px;
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .yh-cancellation-container {
        padding: 100px 3px 3px;
    }

    .yh-mobile-summary-card,
    .yh-mobile-cancel-card {
        border-radius: 20px;
    }

    .yh-reservation-image-wrap {
        border-radius: 14px;
    }

    .yh-reservation-image-wrap img {
        height: 155px;
    }

    .yh-info-row {
        gap: 10px;
    }

    .yh-info-row strong {
        white-space: normal;
    }

}

.yh-cancel-confirm-primary:disabled {
    opacity: 0.85;
    cursor: not-allowed;
    pointer-events: none;
}

.yh-btn-loader-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.yh-btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: yhSpin 0.7s linear infinite;
}

@keyframes yhSpin {
    to {
        transform: rotate(360deg);
    }
}

.yh-time-notice {
    position: fixed;
    top: 92px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10050;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

.yh-time-notice.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.yh-time-notice__pill {
    width: min(344px, 92vw);
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(106, 3, 3, 0.20);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    color: rgba(255, 255, 255, .92);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.35;

    position: relative;
    overflow: hidden;
}

.yh-time-notice__pill::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(268.7deg, rgba(255, 255, 255, .85), rgba(118, 187, 255, .85));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.yh-time-notice.is-error .yh-time-notice__pill::before {
    background: linear-gradient(268.7deg, rgba(239, 68, 68, .95), rgba(255, 255, 255, .65));
}


.cancellation-page {
    position: relative;
    min-height: 100vh;
    background:
        #001D3F;
    overflow: hidden;
    padding: 150px 60px 80px;
}

.cancellation-container {
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.policy-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.policy-back-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 9px;
    border: 1px solid rgba(164, 202, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f3f8ff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    transition: 0.25s ease;
}

.policy-back-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-2px);
}

.policy-title {
    margin: 0;
    color: #fff;
    font-size: 24px;
    line-height: 145%;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.policy-meta {
    margin-bottom: 14px;
}

.policy-intro p {
    color: #FFFFFF;
    line-height: 145%;
    font-weight: 300;
}

.policy-meta p,
.policy-effective-date {
    color: rgba(223, 235, 255, 0.74);
    font-size: 16px;
    line-height: 145%;
    font-weight: 300;
    margin: 0;
}

.section-subtext {
    color: #fff;
    font-size: 16px;
    line-height: 145%;
    font-weight: 300;
    margin: 0;
}

.policy-list li,
.policy-contact-list p,
.footer-col a,
.footer-col p,
.footer-copy,
.store-btn,
.policy-socials a {
    color: #ffff;
    font-size: 15px;
    line-height: 145%;
    font-weight: 300;
    margin: 0;
}

.policy-meta p {
    line-height: 1.5;
}

.policy-effective-date {
    margin-top: 14px;
    margin-bottom: 28px;
}

.policy-intro {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.policy-divider {
    width: 100%;
    height: 1px;
    background: rgba(142, 189, 255, 0.12);
    margin: 26px 0 22px;
}

.policy-section h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 20px;
    line-height: 145%;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.section-subtext {
    margin-bottom: 16px;
}

.section-space-top {
    margin-top: 18px;
}

.policy-table {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 10px 0 18px;
}

ul {
    list-style: unset !important;
}

.policy-table-head span {
    color: #8DD8FF;
    font-size: 15px;
    line-height: 145%;
    font-weight: 500;
    white-space: nowrap;
}

.policy-table-row span {
    color: #ffff;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
}

.policy-small-title {
    margin: 8px 0 10px;
    color: #d8ebff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.policy-list {
    margin: 0;
    padding-left: 18px;
}

.policy-list li {
    margin-bottom: 4px;
}

.policy-contact-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.policy-last-section {
    padding-bottom: 10px;
}

.policy-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    padding-top: 22px;
}

.policy-footer-left {
    flex: 0 0 320px;
}

.policy-footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 18px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 0.95;
    color: #ffffff;
}

.footer-logo-text span {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.footer-logo-text strong {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.policy-store-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition: 0.25s ease;
    white-space: nowrap;
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.footer-copy {
    margin-bottom: 12px;
}

.policy-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-socials a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(196, 221, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.25s ease;
}

.navbar {
    display: block !important;
    top: 10px !important;
}

.yh-cancellation-desktop {
    display: flex;
}

@media (max-width: 991px) {
    .cancellation-page {
        padding: 100px 16px 60px;
    }

    .policy-card {
        padding: 28px 22px 26px;
        border-radius: 22px;
    }

    .policy-title {
        font-size: 24px;
    }

    .policy-section h2 {
        font-size: 18px;
    }

    .policy-table-row span {
        font-size: 14px;
        white-space: nowrap;
    }

    .policy-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .policy-footer-left {
        flex: unset;
        width: 100%;
    }

    .policy-footer-links {
        width: 100%;
        justify-content: flex-start;
        gap: 30px;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .cancellation-page {
        padding: 90px 12px 50px;
    }

    .policy-card {
        padding: 22px 5px 22px;
        border-radius: 18px;
    }

    .policy-top {
        align-items: flex-start;
    }

    .policy-title {
        font-size: 16px;
    }

    .policy-meta p,
    .policy-effective-date,
    .policy-intro p,
    .section-subtext,
    .policy-list li,
    .policy-contact-list p,
    .footer-col a,
    .footer-col p,
    .footer-copy,
    .store-btn,
    .policy-socials a,
    .policy-table-head span,
    .policy-table-row span {
        font-size: 10px;
    }

    .policy-section h2 {
        font-size: 16px;
    }

    .policy-table-head,
    .policy-table-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .policy-table {
        gap: 12px;
    }

    .policy-store-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .store-btn {
        width: 100%;
    }
}

.legal-page {
    padding: 10px 65px 80px;
}

.w-32 {
    width: 32px;
    height: 32px;
}

.legal-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
}

.legal-top span {
    font-size: 24px;
    font-family: "Montserrat", sans-serif;
}

.legal-back-btn {
    width: 32px;
    height: 32px;
    min-width: 30px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0B2545;
    border: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.legal-back-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, .40) 0%,
            rgba(255, 255, 255, .10) 40%,
            rgba(255, 255, 255, 0) 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.legal-back-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
    pointer-events: none;
}

.legal-back-btn img {
    width: 10px;
    height: 10px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.legal-page h1 {
    color: #fff;
    font-size: 32px;
    font-weight: 500;
    margin: 0 0 8px;
}

.legal-subtitle {
    color: #AAB8C2;
    font-size: 16px;
    margin: 0 0 32px;
}

.legal-cards {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: 85%;
}

.legal-card {
    position: relative;
    flex: 1;
    min-height: 170px;
    padding: 22px 18px;
    border-radius: 20px;
    text-decoration: none;
    background: rgba(0, 29, 63, 0.35);
    border: none;
    overflow: hidden;
    transition: 0.25s ease;
}

.legal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 4.06%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.legal-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
    pointer-events: none;
}

.legal-card:hover {
    transform: translateY(-2px);
}

.legal-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(30, 144, 255, 0.45);
    box-shadow: 0 0 22px rgba(30, 144, 255, 0.45);
    margin-bottom: 24px;
}

.p-left-100 {
    padding-left: 100px;
}

.legal-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.legal-card h3 {
    color: #8EC8FF;
    font-size: 17px;
    font-weight: 400;
    margin: 0 0 8px;
    position: relative;
    z-index: 1;
}

.legal-card p {
    color: #AAB8C2;
    font-size: 13px;
    line-height: 145%;
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .legal-page h1 {
        color: #fff;
        font-size: 18px;
        font-weight: 500;
        margin: 0 0 8px;

    }
.p-left-100
{
    padding: 0;
}
    .legal-subtitle {
        color: #AAB8C2;
        font-size: 14px;
        margin: 0 0 28px;
    }

    .legal-page {
        padding: 15px 20px 60px;
    }

    .legal-cards {
        flex-direction: column;
        width: 100%;
    }

    .legal-card {
        flex: unset;
        width: 100%;
    }
}