/* Shared price and consultation modal shell. */
.price-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.price-auth-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5,18,13,.56);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.price-auth-dialog {
    position: relative;
    width: min(460px, calc(100% - 32px));
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    margin: 20px auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 32px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.price-auth-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: none;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 700px) {
    .price-auth-modal {
        padding: 12px 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .price-auth-modal::-webkit-scrollbar,
    .price-auth-dialog::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }

    .price-auth-dialog {
        width: min(100% - 24px, 460px);
        max-height: calc(100dvh - 24px);
        margin: 0 auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
}
