.rbtx-country-gate {
    margin-bottom: 24px;
}

.rbtx-country-gate .required {
    color: #f00;
}

.rbtx-country-gate select {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
    margin-top: 0.4rem;
    padding: 8px 35px 8px 16px;
    border: 1px solid var(--lp-border-color, #e1e1e1);
    border-radius: 3px;
    background-color: #fff;
}

.rbtx-country-gate [hidden] {
    display: none !important;
}

.rbtx-country-error {
    color: #a51d24;
}

.rbtx-country-dialog {
    box-sizing: border-box;
    width: min(28rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    padding: 2rem;
    border: 1px solid #767676;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-size: 1rem;
    line-height: 1.5;
    overflow: auto;
}

.rbtx-country-dialog[open] {
    display: grid;
    gap: 1.5rem;
}

.rbtx-country-dialog > p {
    margin: 0;
}

.rbtx-country-dialog::backdrop {
    background: rgb(0 0 0 / 45%);
}

.rbtx-country-dialog button {
    justify-self: end;
    min-height: 44px;
    padding: 0.5rem 1rem;
    border: 1px solid #222;
    border-radius: 4px;
    background: #222;
    color: #fff;
    font: inherit;
    cursor: pointer;
}