/* /css/register-page.css — NoGatekeepers registration/login page only.
   Cache-busting version comes from /pages/register.php ($version). */

/* This stylesheet follows /css/subpages.css and the page's existing inline styles. */
body .pageWrap {
    background: #e9dfce !important;
}

.register-page {
    width: min(calc(100% - 28px), 850px);
    margin: 28px auto 48px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

.register-intro,
.login-shell {
    border-radius: 0;
    box-shadow: 9px 9px 0 rgba(0, 0, 0, .35);
}

.register-intro {
    padding: 28px clamp(20px, 5vw, 44px);
    margin-bottom: 22px;
    border: 1px solid #a89782;
    border-top: 6px solid #aa302b;
    background: #e9dfce;
    color: #121212;
    text-align: left;
}

.register-intro h1 {
    font: italic 900 clamp(32px, 5vw, 52px)/1.05 Impact, 'Arial Narrow', Arial, sans-serif;
    text-transform: uppercase;
    color: #121212;
    margin: 0 0 14px;
    border-bottom: 3px solid #121212;
    padding-bottom: 12px;
}

.register-intro p {
    max-width: 65ch;
    margin: 7px 0;
    font-size: 15px;
    line-height: 1.5;
}

.login-shell {
    padding: clamp(20px, 4vw, 38px);
    border: 1px solid #61574f;
    border-top: 6px solid #aa302b;
    background: #1b1b1b;
    color: #fff7e8;
}

.login-form,
.authenticated-view {
    max-width: 560px;
}

.login-form h2,
.authenticated-view h2 {
    font: italic 900 clamp(29px, 4vw, 40px)/1.1 Impact, 'Arial Narrow', Arial, sans-serif;
    text-transform: uppercase;
    color: #fff7e8;
    margin-bottom: 22px;
}

.login-form label,
.login-form p,
.authenticated-message {
    color: #e9dfce;
}

.login-form input[type='text'],
.login-form input[type='email'],
.login-form input[type='password'] {
    border-radius: 0;
    border: 1px solid #a89782;
    background: #f7eee0;
    color: #121212;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.login-form input:focus-visible,
.login-form button:focus-visible,
.authenticated-view button:focus-visible {
    outline: 3px solid #e14e43;
    outline-offset: 2px;
}

.login-form form > button[type='submit'],
.logout-button {
    border: 2px solid #aa302b;
    border-radius: 0;
    background: #aa302b;
    color: #fff7e8;
    box-shadow: none;
    font: 900 18px Impact, 'Arial Narrow', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.login-form form > button[type='submit']:hover,
.logout-button:hover {
    background: #84231e;
    border-color: #84231e;
}

.login-form button[data-login-action],
.login-form button[data-legal-document],
.login-form a,
.authenticated-view a {
    color: #f28378;
}

.field-help-button,
.login-status,
.logout-status {
    color: #f28378;
}

.field-help-tooltip {
    border-radius: 0;
    border-color: #a89782;
    background: #252525;
    color: #fff7e8;
}

.password-toggle {
    color: #5c5147;
}

.login-version {
    color: #b7a99a;
}

.authenticated-username {
    color: #fff7e8;
}

.authenticated-email {
    color: #c5b7aa;
}

@media (max-width: 640px) {
    .register-page {
        width: calc(100% - 20px);
        margin: 16px auto 32px;
    }

    .register-intro,
    .login-shell {
        border-radius: 0;
        padding: 20px 16px;
    }
}


.register-intro,
.login-shell {
    background: #191919 !important;
    border: 1px solid #8e8579;
}

.login-form form > button[type="submit"],
.logout-button {
    background: #aa302b !important;
    border-color: #aa302b !important;
}

.field-help-button,
.login-form button[data-login-action],
.login-status,
.logout-status {
    color: #e14e43 !important;
}

.login-form input:focus {
    outline-color: #aa302b !important;
}


.register-intro,
.register-intro h1,
.register-intro p {
    color: #fff7e8 !important;
}
