.registration-errors {
    padding: 14px;
    margin: 12px 0;
    border: 1px solid #a33a32;
    border-radius: 6px;
    background: #fff4f1;
    color: #7e211a;
}
.registration-errors ul { margin-bottom: 0; padding-left: 20px; }
.registration-captcha { margin: 16px 0; }
.registration-captcha p, .registration-captcha noscript { font-size: .9rem; line-height: 1.4; }
.registration-captcha [hidden] { display: none; }

/* These drawers are rendered only by the mobile registration template. */
details.registration-drawer {
    display: block;
    padding: 0;
    margin: 0 auto 14px;
    border: 1px solid #d8e0ea;
    overflow: hidden;
}
.registration-drawer-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    min-height: 56px;
    box-sizing: border-box;
    list-style: none;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    color: #172033;
}
.registration-drawer-summary::-webkit-details-marker { display: none; }
.registration-drawer-summary::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 1.5rem;
    line-height: 1;
    color: #1f5f9f;
}
.registration-drawer[open] > .registration-drawer-summary::after { content: '−'; }
.registration-drawer[open] > .registration-drawer-summary { border-bottom: 1px solid #d8e0ea; }
.registration-drawer-summary:focus-visible { outline: 3px solid #337aa4; outline-offset: -4px; }
.registration-drawer-body { padding: 0 20px 20px; }
.registration-drawer-body input:not([type="hidden"]),
.registration-drawer-body select,
.registration-drawer-body textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.registration-page-heading {
    max-width: 400px;
    margin: 0 auto 18px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #172033;
}
