/* Form card (2026-11-23): the module card (donation-v2.css .dnx) with fields that have an icon, a dark
   dropdown, a character counter, a show-password eye and a gold button. Contact, Login, Lost / New Password. */
.content-wrapper > .dnx.ctf { max-width: 640px; margin: 0 auto; }
/* no gold in the forms: the accent is the site's light blue (titles, labels, icons, checks) */
.dnx.ctf { --dn-gold: #9fd0f5; --dn-gold-2: #6fb2e0; }
.ctf-form { display: flex; flex-direction: column; padding: 16px 18px 18px; }
.ctf-intro { margin: 0 0 14px; color: #c9d5df; font-size: 13.5px; }
.ctf-label { margin: 0 0 6px; color: var(--dn-gold); font: 700 11px/1.3 Arial, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; }
.ctf-field { position: relative; display: flex; align-items: center; margin-bottom: 14px; background: rgba(3, 8, 14, .6); border: 1px solid var(--dn-line); border-radius: 7px; transition: border-color .15s, box-shadow .15s; }
.ctf-field:focus-within { border-color: rgba(110, 190, 245, .6); box-shadow: 0 0 0 3px rgba(110, 190, 245, .12); }
.ctf-field.is-bad { border-color: rgba(231, 90, 90, .6); }
.ctf-field > i { flex: 0 0 38px; color: var(--dn-mute); font-size: 16px; text-align: center; }
.content-wrapper .ctf .ctf-field input, .content-wrapper .ctf .ctf-field textarea {
    flex: 1; width: 100%; min-width: 0; margin: 0; padding: 11px 12px 11px 0; color: #eef4fa !important; font: 500 14px/1.5 'Segoe UI', Arial, sans-serif;
    background: transparent !important; border: 0 !important; border-radius: 0; outline: none; box-shadow: none !important; }
.content-wrapper .ctf .ctf-field.is-area textarea { height: 170px; min-height: 0; padding: 12px 14px; resize: none !important; overflow-y: auto; }
.ctf-field input::placeholder, .ctf-field textarea::placeholder { color: #5f7183; }
.ctf-meta { display: flex; justify-content: space-between; gap: 10px; margin: -8px 2px 14px; color: var(--dn-mute); font-size: 11.5px; }
.ctf-count { font-variant-numeric: tabular-nums; }
.ctf-count.is-low { color: #f0a33a; }
.ctf-count.is-max { color: #ff8a7a; }
.ctf-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .05); }

.ctf-error { display: flex; gap: 10px; margin: 0 0 14px; padding: 10px 12px; color: #ffd0c9; font-size: 13px; background: rgba(231, 90, 90, .1); border: 1px solid rgba(231, 90, 90, .35); border-radius: 6px; }
.ctf-error i { color: #ff8a7a; }
/* honeypot: off-screen for people, still in the form for bots */
.contact-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
/* message box: fixed height, no resize handle; a slim scrollbar in the site colours when the text gets longer */
@supports not selector(::-webkit-scrollbar) { .ctf-field textarea { scrollbar-width: thin; scrollbar-color: rgba(110, 190, 245, .5) transparent; } }
.ctf-field textarea::-webkit-scrollbar-button { display: none; }
.ctf-field textarea::-webkit-scrollbar { width: 8px; }
.ctf-field textarea::-webkit-scrollbar-track { background: transparent; }
.ctf-field textarea::-webkit-scrollbar-thumb { background: rgba(110, 190, 245, .4); border: 2px solid rgba(3, 8, 14, .9); border-radius: 8px; }
.ctf-field textarea::-webkit-scrollbar-thumb:hover { background: rgba(110, 190, 245, .7); }
/* topic list: a native select dressed like the other fields (own arrow, dark options) */
.content-wrapper .ctf .ctf-field.is-select select { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0 36px 0 0; color: #eef4fa !important; font: 500 14px/1.5 'Segoe UI', Arial, sans-serif;
    background: transparent !important; border: 0 !important; border-radius: 0; outline: none; box-shadow: none !important; appearance: none; -webkit-appearance: none; cursor: pointer; }
.ctf-field.is-select select:invalid { color: #5f7183 !important; }
.ctf-field.is-select option { color: #eef4fa; background: #0d1824; }
.ctf-field.is-select .ctf-caret { position: absolute; right: 0; flex: none; width: 38px; color: var(--dn-gold); font-size: 13px; pointer-events: none; }
/* logged in: the account e-mail, locked */
.ctf-field.is-locked { background: rgba(255, 255, 255, .02); border-style: dashed; }
.content-wrapper .ctf .ctf-field.is-locked input { color: #aebccb !important; cursor: not-allowed; }
.ctf-field.is-locked .ctf-lock { flex: 0 0 34px; color: var(--dn-gold); font-size: 13px; }
.ctf-note { margin: -10px 2px 14px; color: var(--dn-mute); font-size: 11.5px; }
/* dropdown: dark list drawn by form-card.js over the real select (which stays in the form, hidden) */
.ctf-field.has-dd select { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; pointer-events: none; }
.content-wrapper .ctf .ctf-dd-btn { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0 38px 0 0; color: #eef4fa !important; font: 600 14px/44px 'Segoe UI', Arial, sans-serif;
    text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: transparent !important; border: 0 !important; box-shadow: none !important; cursor: pointer; }
.content-wrapper .ctf .ctf-dd-btn.is-empty { color: #6f8396 !important; font-weight: 500; }
.ctf-field.is-open { border-color: rgba(110, 190, 245, .6); box-shadow: 0 0 0 3px rgba(110, 190, 245, .12); }
.ctf-field.is-open .ctf-caret { transform: rotate(180deg); }
.ctf-caret { transition: transform .15s; }
.ctf-dd-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50; margin: 0; padding: 6px; list-style: none;
    background: linear-gradient(180deg, rgba(18, 31, 46, .99), rgba(8, 14, 22, .99)); border: 1px solid rgba(110, 190, 245, .35); border-radius: 8px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .6); }
.ctf-dd-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: #d9e2ea; font-size: 13.5px; border-radius: 5px; cursor: pointer; outline: none; }
.ctf-dd-list li i { width: 18px; color: var(--dn-gold); font-size: 15px; text-align: center; }
.ctf-dd-list li:hover, .ctf-dd-list li:focus { color: #fff; background: rgba(110, 190, 245, .12); }
.ctf-dd-list li[aria-selected="true"] { color: #fff; background: rgba(110, 170, 220, .14); }
.ctf-dd-list li[aria-selected="true"]::after { content: '\2713'; margin-left: auto; color: var(--dn-gold); font-weight: 900; }
/* password: the eye button (form-card.js) shows / hides it */
.content-wrapper .ctf .ctf-eye { flex: 0 0 40px; height: 42px; margin: 0; padding: 0; color: var(--dn-mute) !important; font-size: 16px; background: transparent !important; border: 0 !important; box-shadow: none !important; cursor: pointer; }
.content-wrapper .ctf .ctf-eye:hover, .content-wrapper .ctf .ctf-eye.is-on { color: var(--dn-gold) !important; }
/* remember me: a small switch-like checkbox */
.ctf-check { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; color: #c9d5df; font-size: 13px; cursor: pointer; user-select: none; }
/* !important: the site's own checkbox skin would paint over it */
.content-wrapper .ctf .ctf-check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; background: rgba(3, 8, 14, .6) !important; border: 1px solid rgba(110, 190, 245, .35) !important; border-radius: 4px; cursor: pointer; display: grid; place-items: center; }
.content-wrapper .ctf .ctf-check input:checked { background: linear-gradient(180deg, #3a86c2, #1d5486) !important; border-color: #6fb2e0 !important; }
.content-wrapper .ctf .ctf-check input:checked::after { content: '\2713'; color: #fff; font-size: 12px; font-weight: 900; line-height: 1; }
/* full-width gold button + links under it (login, lost password) */
.content-wrapper .ctf .dnx-btn.is-block { width: 100%; justify-content: center;   }
.ctf-links { display: flex; justify-content: center; gap: 8px 22px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .05); }
.content-wrapper .ctf .ctf-links a { display: inline-flex; align-items: center; gap: 6px; color: #9fd0f5 !important; font-size: 13px; text-decoration: none; }
.content-wrapper .ctf .ctf-links a:hover { color: var(--dn-gold) !important; }
.ctf-rule { margin: -8px 2px 14px; color: var(--dn-mute); font-size: 11.5px; }
/* login: the button while bw-app.js signs in */
.content-wrapper .ctf .bw-login-submit.is-loading { opacity: .75; pointer-events: none; }
.content-wrapper > .dnx.ctf.is-narrow { max-width: 460px; }
/* buttons: the site's blue (as the active 3D / 2D buttons), not gold */
.content-wrapper .ctf .dnx-btn-gold { color: #fff !important; background: linear-gradient(180deg, #2f78b2, #18456c) !important; border-color: rgba(150, 212, 255, .55) !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.content-wrapper .ctf .dnx-btn-gold:hover { color: #fff !important; background: linear-gradient(180deg, #3a8ccc, #1d5486) !important; box-shadow: 0 0 14px rgba(110, 190, 245, .3) !important; }
/* Chrome paints autofilled fields light: keep them dark */
.ctf-field input:-webkit-autofill, .ctf-field input:-webkit-autofill:hover, .ctf-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 40px #060d15 inset !important; -webkit-text-fill-color: #eef4fa !important; caret-color: #fff; transition: background-color 9999s ease 0s; }
/* smaller, simple buttons */
.content-wrapper .ctf .dnx-btn { height: 36px; padding: 0 18px; font-size: 12px; letter-spacing: .06em; border-radius: 6px; }
.content-wrapper .ctf .dnx-btn.is-block { height: 38px; font-size: 12.5px; }
