.acop-access-panel[hidden] { display: none !important; }
.acop-access-panel {
    position: fixed; z-index: 10000; width: 350px; max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 100px); overflow-y: auto; background: #fff; color: #051441;
    padding: 24px; border: 1px solid #e0e5ef; border-radius: 6px;
    box-shadow: 0 15px 40px rgba(5,20,65,.22);
}
.acop-access-panel h3 { color: #051441; margin-right: 25px; }
.acop-access-panel label { font-size: 14px; font-weight: 600; }
.acop-access-panel .form-control { width: 100%; }
.acop-access-close { position: absolute; right: 10px; top: 8px; background: none; border: 0; font-size: 28px; color: #051441; cursor: pointer; }
.acop-access-panel [data-acop-turnstile] { margin: 15px 0; }
#acop-login-message { font-size: 14px; margin-top: 12px; }
/* The original template styles only anchors; the login control is a button. */
.header-right button.header-btn.acop-access-toggle {
    display: inline-block;
    background: linear-gradient(to right, #5a49f8, #7a64f2);
    color: #fff;
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    height: 45px;
    line-height: 45px;
    padding: 0 35px;
    letter-spacing: 0;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    margin-left: 20px;
    transition: background 0.3s ease;
    z-index: 1;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
    appearance: none;
}
.header-right button.header-btn.acop-access-toggle:hover,
.header-right button.header-btn.acop-access-toggle[aria-expanded="true"] {
    color: #fff;
    background: #07122d;
}
.header-right button.header-btn.acop-access-toggle:focus-visible {
    outline: 3px solid #f4c542;
    outline-offset: 3px;
}
/* Keep the original decorative span from covering the label. */
.header-right button.header-btn.acop-access-toggle span { display: none; }
.acop-private-card { background: #fff; padding: 32px; border-radius: 6px; box-shadow: 0 8px 24px rgba(5,20,65,.1); max-width: 700px; margin: 0 auto; }
.acop-private-card label { display: block; font-weight: 600; }
.acop-private-card .form-control { margin: 8px 0 20px; }
.acop-private-card .alert { margin-bottom: 20px; }
@media (max-width: 420px) {
    .header-right button.header-btn.acop-access-toggle { padding: 0 12px; margin-left: 8px; font-size: 12px; }
    .acop-private-card { padding: 22px; }
}
