

/* ==========================================
    [03. パンくずリスト]
    ========================================== */
.btc-mypage-regular__breadcrumb-container {
    position: relative;
    padding: 85px 25px 20px;
    z-index: 10;
}
.btc-mypage-regular__breadcrumbs {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.05em;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.btc-mypage-regular__breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin: 0 10px;
    color: #ccc;
}
.btc-mypage-regular__breadcrumbs a {
    text-decoration: none;
    color: #2d2d2d;
    opacity: 0.5;
}

/* ==========================================
    [04. ページヘッダー]
    ========================================== */
.btc-mypage-regular__page-header {
    padding: 20px 25px 30px;
    text-align: center;
    position: relative;
}
.btc-mypage-regular__page-title {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 0.1rem;
    margin: 0;
    color: #008075;
    line-height: 1.6;
}
.btc-mypage-regular__page-title span {
    display: block;
    font-size: 10px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 2em;
    text-indent: 2em;
    text-align: center;
    margin-top: 0px;
    opacity: 0.6;
}

/* --- [05. コンテンツエリア共通設定] --- */
main { position: relative; z-index: 1; }
.btc-mypage-regular__main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* ==========================================
    [06. TOPへ戻るボタン]
    ========================================== */
.btc-mypage-regular__totop-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 54px;
    height: 54px;
    background-color: #bda16b;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 10px;
    font-weight: 200;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.1em;
}
.btc-mypage-regular__totop-button:hover { opacity: 0.8; transform: translateY(-3px); }
.btc-mypage-regular__totop-button.btc-mypage-regular__is-show { opacity: 1; visibility: visible; }

/* ==========================================
    [07. ユーザー挨拶エリア]
    ========================================== */
.btc-mypage-regular__mypage-greeting {
    padding: 0px 0 10px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 24px;
}
.btc-mypage-regular__mypage-greeting .btc-mypage-regular__user-name {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    color: #2d2d2d;
    letter-spacing: 0.06em;
    margin: 0 0 4px;
}
.btc-mypage-regular__mypage-greeting .btc-mypage-regular__user-name em {
    font-style: normal;
    font-size: 16px;
    font-weight: 500;
    color: #2d2d2d;
    margin-left: 4px;
    letter-spacing: 0.05em;
}

/* ==========================================
    [08. お申込みの定期セクション見出し]
    ========================================== */
.btc-mypage-regular__section-title-teiki {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #008075;
    margin: 36px 0 24px;
    letter-spacing: 0.05em;
}

/* ==========================================
    [09. 定期履歴コンテナ & 各種ラベル配置]
    ========================================== */
.btc-mypage-regular__order-history-container {
    margin-bottom: 48px;
    background-color: #f1f1f0;
    border: 1px solid #008075;
    border-radius: 8px;
    padding: 24px 16px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    box-sizing: border-box;
}

.btc-mypage-regular__order-info-container {
    display: flex;
    flex-direction: column;
}

.btc-mypage-regular__order-info-block {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-bottom: 16px;
    align-items: center;
}

.btc-mypage-regular__order-left-media {
    position: relative;
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    background-color: #f9f9f9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
}
.btc-mypage-regular__order-left-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #008075;
    box-sizing: border-box;
}

.btc-mypage-regular__status-badge-holo {
    position: absolute;
    top: -6px;
    left: -6px;
    z-index: 2;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
    letter-spacing: 0.03em;
    white-space: nowrap;
    color: #fff;
}

.btc-mypage-regular__status-badge-holo.btc-mypage-regular__is-active {
    background-color: #137333;
}

.btc-mypage-regular__status-badge-holo.btc-mypage-regular__is-paused {
    background-color: #cc3333;
}

.btc-mypage-regular__status-badge-holo.btc-mypage-regular__is-canceled {
    background-color: #5f6368;
}

.btc-mypage-regular__order-right-details {
    flex-grow: 1;
    min-width: 0;
}
.btc-mypage-regular__order-right-details p {
    margin: 0 0 6px 0;
    font-size: 15px;
    line-height: 1.5;
    color: #2d2d2d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.btc-mypage-regular__order-right-details p:last-child {
    margin-bottom: 0;
}
.btc-mypage-regular__order-label {
    font-weight: 700;
    color: #555;
}

/* ==========================================
    [09-B. 「ご変更と詳細はこちら」主導ボタン]
    ========================================== */
.btc-mypage-regular__toggle-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    background-color: #008075;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: background-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    text-decoration: none;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 128, 117, 0.2);
}
.btc-mypage-regular__toggle-accordion-btn:hover {
    background-color: #00665e;
    box-shadow: 0 4px 10px rgba(0, 128, 117, 0.3);
}

.btc-mypage-regular__toggle-accordion-btn .btc-mypage-regular__arrow-icon {
    display: inline-block;
    margin-left: 6px;
    font-size: 12px;
    transition: transform 0.3s;
}
.btc-mypage-regular__toggle-accordion-btn.btc-mypage-regular__is-active .btc-mypage-regular__arrow-icon {
    transform: rotate(180deg);
}

.btc-mypage-regular__accordion-content-panel {
    /* max-height: 0; */
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    margin-top: 35px;
}
.btc-mypage-regular__accordion-inner-wrapper {
    padding-top: 18px;
}

.btc-mypage-regular__action-button-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.btc-mypage-regular__action-sub-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}

.btc-mypage-regular__action-sub-btn:hover, .btc-mypage-regular__action-sub-btn:active {
    opacity: 0.85;
}

.btc-mypage-regular__action-sub-btn.btc-mypage-regular__btn-skip {
    background-color: #e2eeec;
    color: #005a52;
    border: 1.5px solid #a3cfca;
}

.btc-mypage-regular__action-sub-btn.btc-mypage-regular__btn-pause {
    background-color: #f5eae1;
    color: #a04f00;
    border: 1.5px solid #dbbeab;
}

.btc-mypage-regular__action-sub-btn.btc-mypage-regular__btn-restart {
    background-color: #a04f00;
    color: #dbbeab;
    border: 1.5px solid #a04f00;
    /* background-color: #f5eae1;
    color: #a04f00;
    border: 1.5px solid #dbbeab; */
}

.btc-mypage-regular__action-sub-btn.btc-mypage-regular__btn-cancel {
    background-color: #e3e5e7;
    color: #4b5054;
    border: 1.5px solid #b9bfc4;
}

/* ==========================================
    [10. テーブル構造]
    ========================================== */
/* テーブル自体は通常表示に戻す */
.btc-mypage-regular__info-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

/* 1行を縦積みにする（1023px以下はth/tdを上下に積み重ねる） */
.btc-mypage-regular__info-detail-table tr {
    display: block;
    border: 0.5px solid #777777;
    margin-bottom: 16px;
    border-radius: 6px;
    background-color: #fff;
    overflow: hidden;
}

/* th（ラベル） */
.btc-mypage-regular__info-detail-table th {
    width: 100%;
    background-color: #f1f1f1;
    color: #555555;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    padding: 16px 20px;
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
}

/* td（内容） */
.btc-mypage-regular__info-detail-table td {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}
/* 短いテキスト行：テキストとボタンを横並び */
.btc-mypage-regular__flex-inline-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.btc-mypage-regular__notice-text {
    display: block;
    margin-top: 8px;
    color:#b08b2e;
    font-size:14px;
}

/* 日付行：テキストを2段にしてボタンを右に縦中央揃え */
.btc-mypage-regular__flex-date-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
}
.btc-mypage-regular__flex-date-row .btc-mypage-regular__date-text-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.btc-mypage-regular__date-main {
    font-size: 16px;
    color: #2d2d2d;
    line-height: 1.5;
}
.btc-mypage-regular__date-sub {
    font-size: 13px;
    color: #888;
    line-height: 1.4;
}

.btc-mypage-regular__inline-change-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    height: 36px;
    padding: 0 14px;
    background-color: rgba(0, 128, 117, 0.08);
    color: #008075;
    border: 1.5px solid #008075;
    border-radius: 6px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    letter-spacing: 0.03em;
}

.btc-mypage-regular__inline-change-btn:hover, .btc-mypage-regular__inline-change-btn:active {
    background-color: rgba(0, 128, 117, 0.15);
    border-color: #00665e;
}

.btc-mypage-regular__inline-change-btn img {
    width: 16px;
    height: 16px;
    display: block;
    object-fit: contain;
}

.btc-mypage-regular__sub-info-text {
    display: inline-block;
    font-size: 16px;
    color: #666;
    margin-left: 8px;
    font-weight: 500;
}
.btc-mypage-regular__info-detail-table td.btc-mypage-regular__address-box {
    display: block;
}
.btc-mypage-regular__address-box p {
    margin: 0 0 8px 0;
    line-height: 1.6;
}
.btc-mypage-regular__address-box p:last-child {
    margin-bottom: 0;
}

.btc-mypage-regular__custom-select-wrapper {
    margin-top: 4px;
    width: 100%;
}
.btc-mypage-regular__custom-delivery-select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1.5px solid #008075;
    border-radius: 6px;
    background-color: #fff;
    color: #2d2d2d;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232d2d2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}
.btc-mypage-regular__custom-delivery-select:focus {
    border-color: #008075;
}

/* ==========================================
    [11. 料金内訳ブロック]
    ========================================== */
.btc-mypage-regular__billing-summary-box {
    background-color: rgba(0, 128, 117, 0.1);
    border: 1.5px solid rgba(0, 128, 117, 0.2);
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 24px;
    box-sizing: border-box;
}
.btc-mypage-regular__billing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 15px;
    color: #333;
}
.btc-mypage-regular__billing-row.btc-mypage-regular__total-row {
    border-top: 1.5px dashed rgba(0, 128, 117, 0.3);
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 700;
    font-size: 18px;
    color: #1a2a40;
}

.btc-mypage-regular__close-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background-color: #ffffff;
    color: #333;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 12px;
    transition: background-color 0.2s;
}
.btc-mypage-regular__close-accordion-btn:hover {
    background-color: #e5e5e5;
}

/* ==========================================
    [解約済みコンテナ] 薄いグレーのオーバーレイで視覚的に無効化
    ========================================== */
.btc-mypage-regular__order-history-container.btc-mypage-regular__is-canceled {
    position: relative;
}
.btc-mypage-regular__order-history-container.btc-mypage-regular__is-canceled::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(160, 160, 160, 0.65);
    border-radius: 8px;
    pointer-events: none;
    z-index: 1;
}

/* ==========================================
    [13. ページネーション]
    ========================================== */
.btc-mypage-regular__pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 0 48px;
    flex-wrap: wrap;
}

.btc-mypage-regular__pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: 1.5px solid #d0d0d0;
    background-color: #ffffff;
    color: #2d2d2d;
    transition: background-color 0.18s, border-color 0.18s, color 0.18s;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

.btc-mypage-regular__pagination-btn:hover:not(.btc-mypage-regular__is-active):not(.btc-mypage-regular__is-disabled) {
    background-color: #f0faf9;
    border-color: #008075;
    color: #008075;
}

.btc-mypage-regular__pagination-btn.btc-mypage-regular__is-active {
    background-color: #008075;
    border-color: #008075;
    color: #ffffff;
    cursor: default;
    pointer-events: none;
}

.btc-mypage-regular__pagination-btn.btc-mypage-regular__is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* 「…」省略表示 */
.btc-mypage-regular__pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 40px;
    font-size: 14px;
    color: #999;
    letter-spacing: 0.1em;
    user-select: none;
}

/* 前へ／次へ ラベル付きボタン */
.btc-mypage-regular__pagination-btn.btc-mypage-regular__btn-prev,
.btc-mypage-regular__pagination-btn.btc-mypage-regular__btn-next {
    width: auto;
    padding: 0 14px;
    gap: 4px;
    font-size: 13px;
}

/* ==========================================
    [11-B. フィルタータブ]
    ========================================== */
.btc-mypage-regular__filter-tab-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.btc-mypage-regular__filter-tab-btn {
    flex: 1;
    min-width: 60px;
    height: 40px;
    padding: 0 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.03em;
    cursor: pointer;
    border: 1.5px solid #d0d0d0;
    background-color: #ffffff;
    color: #666;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
    box-sizing: border-box;
}
.btc-mypage-regular__filter-tab-btn.btc-mypage-regular__is-active {
    background-color: #008075;
    border-color: #008075;
    color: #ffffff;
}
.btc-mypage-regular__filter-tab-btn:hover:not(.btc-mypage-regular__is-active) {
    border-color: #008075;
    color: #008075;
}
.btc-mypage-regular__filter-empty-msg {
    text-align: center;
    padding: 48px 0;
    color: #999;
    font-size: 15px;
}
.btc-mypage-regular__payment-action-group {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.btc-mypage-regular__payment-action-group .btc-mypage-regular__inline-change-btn {
    flex: 1;
    justify-content: center;
    font-size: 12px;
    padding: 0 8px;
    height: auto;
    min-height: 40px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}


/* --- [11-C. マイページTOPボタン] --- */
.btc-mypage-regular__btn-container {
    padding: 0 20px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.btc-mypage-regular__form-btn {
    width: 100%;
    height: 60px;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 29px;
    letter-spacing: 0.04em;
    cursor: pointer;
}
.btc-mypage-regular__btn-white {
    background-color: #fff;
    color: #008075;
    border: 1.5px solid #008075;
}



/* ==========================================
    [12. タブレット・PC環境（横幅600px以上）レイアウト]
    ========================================== */
@media screen and (min-width: 600px) {
    .btc-mypage-regular__order-history-container {
        padding: 32px 24px;
        margin-bottom: 56px;
    }
    .btc-mypage-regular__order-left-media {
        width: 150px;
        height: 150px;
    }
    .btc-mypage-regular__status-badge-holo {
        top: -8px;
        left: -8px;
        font-size: 12px;
        padding: 4px 10px;
    }
    .btc-mypage-regular__sub-info-text {
        display: inline-block;
        margin-left: 8px;
        margin-top: 0;
    }
    .btc-mypage-regular__close-accordion-btn {
        width: 180px;
        margin: 0 auto;
    }
    .btc-mypage-regular__pagination-btn {
        width: 44px;
        height: 44px;
        font-size: 15px;
    }
    .btc-mypage-regular__pagination-btn.btc-mypage-regular__btn-prev,
    .btc-mypage-regular__pagination-btn.btc-mypage-regular__btn-next {
        width: auto;
        padding: 0 18px;
        font-size: 14px;
    }
}

/* ============================================================
   PC・タブレット レイアウト（768px以上）
   ============================================================ */
@media (min-width: 768px) {
    .btc-mypage-regular__breadcrumb-container {
        max-width: 960px;
        margin: 0 auto;
    }
    .btc-mypage-regular__breadcrumbs {
        font-size: 12px;
    }
    .btc-mypage-regular__main-content {
        max-width: 960px;
        padding: 15px 30px 80px;
        display: flex;
        flex-wrap: wrap;
    }
    .btc-mypage-regular__main-content .c-contents-header {
        width: 100%;
    }
    .btc-mypage-regular__main-content .mypage-contents__aside {
        width: 240px;
        margin-right: 50px;
        position: sticky;
        top: 95px;
        align-self: flex-start;
    }
    .btc-mypage-regular__main-content .btc-mypage-regular__form-content {
        width: calc(100% - 290px);
    }
    .btc-mypage-regular__section-title-teiki {
        font-size: 26px;
        margin: 20px 0 30px;
    }
}

/* ============================================================
   768px〜849px: 「次回を最短でお届け」ボタンの文字折り返し対策
   （3列だと文字が2行になるため一時的に2列へ。850px以降はボタン幅が
   　広がり3列でも収まるため元に戻す）
   ============================================================ */
@media (min-width: 768px) and (max-width: 849px) {
    .btc-mypage-regular__action-button-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   ワイドデスクトップ（1024px以上）
   ============================================================ */
@media (min-width: 1024px) {
    .btc-mypage-regular__main-content {
        max-width: 1060px;
    }
    .btc-mypage-regular__breadcrumb-container {
        max-width: 1060px;
    }

    .btc-mypage-regular__order-right-details {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .btc-mypage-regular__order-right-details p {
        margin: 0;
    }

    /* 1024px以上はth/tdを横並びの表形式に戻す */
    .btc-mypage-regular__info-detail-table tr {
        display: table-row;
        border-radius: 0;
    }
    .btc-mypage-regular__info-detail-table th,
    .btc-mypage-regular__info-detail-table td {
        display: table-cell;
        border: 1.5px solid #dcdcdc;
        padding: 14px 18px;
        width: auto;
    }
    .btc-mypage-regular__info-detail-table th {
        width: 30%;
        border-right: 1px solid #e5e5e5;
        border-bottom: 1.5px solid #dcdcdc;
    }
}

/* ============================================================
   お届け先変更ダイアログ（jQuery UI .ui-dialog）：
   tpl_frame側のレイアウトが「メニュー固定＋右側コンテンツがスクロール」
   という構成になっており、jQuery UIが付与するインラインの
   position:absolute（そのスクロールコンテナ基準の座標）に引きずられて
   ダイアログがそのコンテンツ領域に貼り付き、ページ側がスクロールしても
   ダイアログ内部はスクロールできない状態になっていた。
   → ダイアログ自体をビューポート基準でposition:fixedに固定し、
   　高さを画面内に収めた上で中身だけをoverflow-yでスクロールさせる。
   （同じ考え方は .c-bundle-combination-modal 等、既存の自作モーダルでも
   　position:fixed !important + 内部overflow-yスクロールとして実装済み）
   ============================================================ */
.c-ui-dialog-modal.ui-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-height: 90vh !important;
    display: flex;
    flex-direction: column;
}
.c-ui-dialog-modal.ui-dialog .ui-dialog-content {
    flex: 1 1 auto !important;
    height: auto !important;
    max-height: none !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
