/* AF File Share: the name and email form, on pages and on the gate page. */
.aft-form { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 520px; box-sizing: border-box; margin: 1em 0; }
.aft-form input[type=text], .aft-form input[type=email] {
    width: 100%; box-sizing: border-box; height: auto; margin: 0; padding: .95em 1em;
    border: 1px solid #c8cfd2 !important; border-radius: 6px; background: #fff !important; color: #16272c !important;
    font: inherit; font-size: 1em; line-height: 1.3; box-shadow: none;
}
.aft-form input::placeholder { color: #6b7a80; opacity: 1; }
.aft-form input:focus-visible, .aft-form .aft-form-btn:focus-visible { outline: 3px solid #16272c; outline-offset: 2px; }
.aft-form .aft-form-btn, .aft-form button.aft-form-btn {
    display: block; width: 100%; box-sizing: border-box; margin: 0; padding: .95em 1em;
    border: 0 !important; border-bottom: 3px solid rgba(0, 0, 0, .18) !important; border-radius: 6px;
    background: var(--aft-dl-bg, #00B8B0) !important; color: var(--aft-dl-fg, #071F26) !important;
    font: inherit; font-size: 1em !important; font-weight: 700 !important; line-height: 1.3; text-transform: none !important; letter-spacing: normal !important;
    text-shadow: none; box-shadow: none; opacity: 1; cursor: pointer; transition: filter .15s;
}
.aft-form .aft-form-btn:hover, .aft-form .aft-form-btn:focus { background: var(--aft-dl-bg, #00B8B0) !important; color: var(--aft-dl-fg, #071F26) !important; filter: brightness(1.07); }
.aft-form .aft-form-btn[disabled] { opacity: .65; cursor: progress; }
.aft-check { display: flex; align-items: flex-start; gap: 10px; font-size: .95em; line-height: 1.4; }
.aft-check input { margin-top: .25em; }
.aft-form-notice { margin: 0; font-size: .85em; opacity: .85; line-height: 1.4; }
.aft-form-msg { min-height: 1.4em; margin: 0; font-size: .95em; }
.aft-form-msg.aft-ok { color: #1a7f37; }
.aft-form-msg.aft-err { color: #b32d2e; }
.aft-form-msg a { color: #0b5cad; text-decoration: underline; }
/* On the dark download page the whole message, link included, is white so it can be read over the photo. */
.aft-body .aft-form-msg, .aft-body .aft-form-msg.aft-ok, .aft-body .aft-form-msg a, .aft-body .aft-form-msg a:visited { color: #fff !important; }
.aft-body .aft-form-msg.aft-err { color: #ffd6d6 !important; }
.aft-body .aft-form-msg a { text-decoration: underline; font-weight: 600; }
.aft-form-error { margin: 0 0 12px; padding: 10px 14px; border-radius: 6px; background: #fdeaea; color: #8a1f1f; }
.aft-form-sent { margin: 1em 0; padding: 14px 18px; border-radius: 8px; background: #e8f8f6; color: #12383b; }
.aft-form-sent p { margin: .4em 0 0; }
.aft-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aft-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aft-form-card .aft-form { margin: 0; flex: 1 1 280px; }
@media (prefers-reduced-motion: reduce) { .aft-form-btn { transition: none; } }
