/* Membership query screen: scoped presentation, with the site's normal content width. */
.bw-membership.ct-container {
    width: var(--theme-container-width, 90%);
    max-width: var(--theme-normal-container-max-width, 1290px);
    margin-inline: auto;
    padding-block: clamp(2rem, 5vw, 4rem);
    color: #f5f1e8;
}
.bw-membership > h1 { font-size: clamp(1.8rem, 4vw, 2rem); margin: 0 0 2rem; }
.bw-membership-card {
    box-sizing: border-box;
    max-width: 1000px;
    margin-inline: auto;
    padding: clamp(1.1rem, 3vw, 2rem);
    background: #0e1928;
    border: 1px solid rgba(214, 169, 95, .23);
    border-radius: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.bw-membership-card p { margin: 0 0 1.15rem; }
.bw-membership-card a { color: #f0cf95; }
.bw-membership-card form { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }
.bw-membership-card button {
    box-sizing: border-box;
    min-height: 44px;
    height: auto;
    max-width: 100%;
    white-space: normal;
    font: inherit;
    font-weight: 600;
    line-height: 1.5;
    padding: .65rem 1rem;
    border: 1px solid #d6a95f;
    border-radius: 8px;
    background: #d6a95f;
    color: #101722 !important;
    cursor: pointer;
}
.bw-membership-card button[value="refresh"],
.bw-membership-card button[value="portal"] { background: transparent; color: #f0cf95 !important; }
.bw-membership-card button:hover { background: #f0cf95; color: #101722 !important; }
.bw-membership-card :focus-visible { outline: 3px solid #f0cf95; outline-offset: 3px; }
.bw-membership-card [role="alert"] { padding: .75rem; border: 1px solid #d6a95f; border-radius: 8px; }
.bw-membership-card .bw-membership-links { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(214, 169, 95, .23); }
@media (max-width: 600px) {
    .bw-membership-card button { width: 100%; }
    .bw-membership-card form { flex-direction: column; }
}
