body.account-registration-confirmation-open {
    overflow: hidden;
}

.account-registration-confirmation {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(25, 45, 75, .48);
    color: #34465e;
    font: 14px/1.5 'Segoe UI', Arial, sans-serif;
}

.account-registration-confirmation[hidden] { display: none !important; }
.account-registration-confirmation * { box-sizing: border-box; }

.account-registration-confirmation__dialog {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow: hidden;
    border: 1px solid #dce5ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(25, 45, 75, .2);
}

.account-registration-confirmation__header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 18px 24px;
    border-bottom: 1px solid #e8edf4;
    background: #f8fafc;
}

.account-registration-confirmation__header h2 {
    margin: 0;
    color: #20334d;
    font: 600 19px/1.4 'Segoe UI', Arial, sans-serif;
}

.account-registration-confirmation__close {
    display: flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 7px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #56677c;
    cursor: pointer;
}

.account-registration-confirmation__close:hover { background: #eaf0f7; }
.account-registration-confirmation__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.account-registration-confirmation__body {
    min-height: 0;
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.account-registration-confirmation__notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid #d4e3f6;
    border-radius: 12px;
    background: #f0f6ff;
}

.account-registration-confirmation__icon {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 10px;
    background: #e0ecfb;
    color: #37699f;
}

.account-registration-confirmation__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.account-registration-confirmation__notice p { margin: 0; align-self: center; color: #344f70; white-space: pre-line; overflow-wrap: anywhere; }

.account-registration-confirmation__footer {
    display: flex;
    flex-shrink: 0;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 16px 24px 20px;
    border-top: 1px solid #edf0f5;
}

.account-registration-confirmation__button {
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #d7e0ea;
    border-radius: 8px;
    font: 600 14px/20px 'Segoe UI', Arial, sans-serif;
    text-align: center;
    cursor: pointer;
}

.account-registration-confirmation__button--secondary { color: #465970; background: #fff; }
.account-registration-confirmation__button--secondary:hover { background: #f3f6fa; }
.account-registration-confirmation__button--primary { color: #fff; border-color: #2d639f; background: #326fae; box-shadow: 0 3px 8px rgba(50, 111, 174, .18); }
.account-registration-confirmation__button--primary:hover { background: #285c94; }
.account-registration-confirmation__button:disabled { opacity: .65; cursor: wait; }
.account-registration-confirmation button:focus-visible { outline: 2px solid #719fd4; outline-offset: 3px; }

@media (max-width: 580px) {
    .account-registration-confirmation { padding: 16px; }
    .account-registration-confirmation__dialog { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
    .account-registration-confirmation__header { padding: 14px 14px 14px 18px; gap: 10px; }
    .account-registration-confirmation__header h2 { font-size: 17px; }
    .account-registration-confirmation__body { padding: 18px; }
    .account-registration-confirmation__notice { gap: 10px; padding: 13px; }
    .account-registration-confirmation__icon { flex-basis: 32px; height: 32px; }
    .account-registration-confirmation__footer { flex-direction: column-reverse; align-items: stretch; padding: 14px 18px 18px; }
    .account-registration-confirmation__button { width: 100%; }
}
