/* Вынесено из tema/rankedin_new/registration.tpl — 20261108, 1:1 без изменений.
   Правки стилей теперь только здесь, в tpl CSS не возвращать. */

/* === source: registration.tpl (строки 151–187) === */

.reg-toast-container { position: fixed; top: 16px; right: 16px; z-index: 4000; display: flex; flex-direction: column; gap: 8px; pointer-events: none; max-width: calc(100vw - 32px); }
.reg-toast { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.4; box-shadow: 0 8px 24px rgba(15,23,42,.16); pointer-events: auto; animation: regToastIn .22s ease; max-width: 360px; border: 1px solid; }
.reg-toast--error { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.reg-toast--success { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.reg-toast__msg { flex: 1; min-width: 0; }
.reg-toast__close { flex-shrink: 0; background: none; border: 0; font-size: 18px; line-height: 1; cursor: pointer; color: inherit; opacity: .6; padding: 0 2px; }
.reg-toast__close:hover { opacity: 1; }
@keyframes regToastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.reg-consent { margin-top: 12px; }
.form-checkbox { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.4; cursor: pointer; }
.form-checkbox input { margin-top: 3px; width: auto; }
.reg-pd-link { color: var(--teal, #1a9aa8); text-decoration: underline; }
.form-hint-inline { font-weight: 400; color: var(--text-muted, #6b7a8d); font-size: 13px; }
.field-error { margin-top: 6px; font-size: 13px; line-height: 1.35; color: #b42318; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 7px 10px; }
.field-error[hidden] { display: none !important; }
.input.is-invalid { border-color: #e5534b !important; box-shadow: 0 0 0 3px rgba(229,83,75,.14); }
.captcha-card { display: inline-flex; align-items: center; gap: 8px; padding: 8px; background: var(--surface-muted, #f8fafc); border: 1px solid var(--border, #e3e8ee); border-radius: 10px; margin-bottom: 8px; }
.captcha-img-wrap { flex: 0 0 auto; }
.captcha-img-wrap a { display: block; line-height: 0; }
.captcha-img-wrap img { display: block; width: 160px; height: 80px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border, #e3e8ee); }
.captcha-card .captcha-reload { flex-shrink: 0; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border, #e3e8ee); background: #fff; border-radius: 8px; cursor: pointer; color: var(--text-muted, #6b7a8d); }
.captcha-card .captcha-reload:hover { background: var(--surface, #fff); color: var(--teal, #1a9aa8); border-color: var(--teal, #1a9aa8); }
#password1-hint { display: block; margin-top: 6px; }
#pdModal.modal-overlay { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.55); z-index: 3000; padding: 16px; }
#pdModal .modal-backdrop { position: absolute; inset: 0; }
#pdModal .modal { position: relative; background: var(--surface, #fff); border-radius: 12px; max-width: 720px; width: 100%; max-height: 85vh; display: flex; flex-direction: column; box-shadow: 0 12px 40px rgba(0,0,0,.3); }
#pdModal .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border, #e3e8ee); }
#pdModal .modal-title { margin: 0; font-size: 17px; font-weight: 700; color: var(--text, #14202e); }
#pdModal .modal-close { background: none; border: 0; font-size: 24px; line-height: 1; cursor: pointer; color: var(--text-muted, #6b7a8d); }
#pdModal .modal-body { padding: 16px 20px; overflow-y: auto; color: var(--text, #14202e); font-size: 14px; line-height: 1.55; }
#pdModal .modal-body h6 { margin: 16px 0 4px; font-size: 14px; font-weight: 700; }
#pdModal .modal-body ul { margin: 4px 0; padding-left: 20px; }
#pdModal .modal-body p { margin: 4px 0; }
#pdModal .modal-footer { padding: 12px 20px; border-top: 1px solid var(--border, #e3e8ee); text-align: right; }
#pdModal .reg-pd-note { font-size: 13px; color: var(--text-muted, #6b7a8d); margin-top: 12px; }
