/* static/static_for_dynamic_content/members/forgot_password.css */

/* Minimal accessible style without extra boxes */

body {
    font-family: Arial, sans-serif;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

label {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
}

input[type="email"] {
    display: block;
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #aaa;
    border-radius: 5px;
    margin-top: 0.25rem;
}

input:focus {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

.form-hint {
    font-size: 0.875rem;
    color: #555;
    margin-top: 0.2rem;
}

button.btn-primary {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background-color: #005fcc;
    color: #fff;
    cursor: pointer;
}

button.btn-primary:hover,
button.btn-primary:focus {
    background-color: #004799;
}

.links {
    text-align: center;
    margin-top: 1rem;
}

.link-back {
    font-size: 0.95rem;
    color: #005fcc;
    text-decoration: underline;
}

.link-back:focus,
.link-back:hover {
    color: #004799;
    text-decoration: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    input[type="email"] {
        font-size: 1rem;
    }

    button.btn-primary {
        font-size: 1rem;
    }
}





/* Scale Cloudflare Turnstile CAPTCHA to 92% width */
.cf-turnstile {
    transform: scale(0.92);
    transform-origin: top left; /* keep it aligned with the input */
    display: inline-block;
}
