/* File version: 10-12-2026 rev 8 */
#cognitodiv { max-width: 680px; margin: 17px auto 0 auto; padding: 0 16px; box-sizing: border-box; }
.cognito-wizard { font-family: Verdana, Arial, sans-serif; }
.cognito-wizard * { box-sizing: border-box; }
.cognito-card { max-width: 640px; margin: 0 auto; background: #ffffff; border: 1px solid #cfd6e2; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.cognito-card-small { max-width: 440px; }
.cognito-card-header { padding: 20px 24px 8px 24px; border-bottom: 1px solid #eef0f4; }
.cognito-card-header h2 { margin: 8px 0 0 0; font-size: 20px; color: #1a2332; }
.cognito-badge { display: inline-block; background: #eaf1ff; color: #1e57c2; font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; padding: 3px 8px; border-radius: 3px; }
.cognito-badge-inline { display: inline-block; background: #d8f3d9; color: #1c6a20; font-size: 12px; padding: 2px 6px; border-radius: 3px; margin-left: 6px; vertical-align: middle; font-weight: normal; }
.cognito-pill { display: inline-block; background: #eaf1ff; color: #1e57c2; font-size: 12px; padding: 2px 8px; border-radius: 10px; margin-left: 6px; vertical-align: middle; font-weight: normal; }
.cognito-pill-green { background: #d8f3d9; color: #1c6a20; }
.cognito-card-body { padding: 20px 24px; }
.cognito-card-body p { font-size: 13px; color: #33475b; line-height: 1.5; margin: 0 0 12px 0; }
.cognito-lead { font-size: 14px; color: #33475b; line-height: 1.5; margin-top: 0; }
.cognito-prep { background: #f5f7fb; border-radius: 6px; padding: 12px 16px; margin: 16px 0; }
.cognito-prep h4 { margin: 0 0 6px 0; font-size: 13px; color: #1a2332; }
.cognito-prep ul { margin: 0; padding-left: 20px; font-size: 13px; color: #33475b; line-height: 1.5; }
.cognito-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; align-items: center; }
.cognito-actions-center { justify-content: center; flex-direction: column; }
.cognito-btn { display: inline-block; padding: 10px 18px; border-radius: 4px; border: 1px solid transparent; font-size: 14px; font-family: Verdana, Arial, sans-serif; cursor: pointer; text-decoration: none; min-height: 40px; }
.cognito-btn-primary { background: #1e57c2; color: #ffffff; border-color: #1e57c2; }
.cognito-btn-primary:hover { background: #174ba6; }
.cognito-btn-primary:disabled { background: #6b7a90; border-color: #6b7a90; cursor: not-allowed; }
.cognito-btn-ghost { background: transparent; color: #1e57c2; border-color: #cfd6e2; }
.cognito-btn-ghost:hover { background: #f2f5fa; }
.cognito-btn-ghost:disabled { color: #5a6474; cursor: not-allowed; }
.cognito-btn-danger { background: #c0392b; color: #ffffff; border-color: #c0392b; }
.cognito-btn-sm { padding: 6px 10px; font-size: 12px; min-height: 30px; }
.cognito-link { color: #1e57c2; font-size: 13px; text-decoration: none; background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; }
.cognito-link:hover, .cognito-link:focus { text-decoration: underline; }
.cognito-link:disabled { color: #5a6474; cursor: default; text-decoration: none; }
.cognito-btn:focus, .cognito-link:focus, .cognito-field input:focus, .cognito-code input:focus, .cognito-choice-tile:focus { outline: 2px solid #1e57c2; outline-offset: 1px; }
.cognito-footer-note { margin-top: 16px; font-size: 12px; color: #5a6474; }
.cognito-field { margin-bottom: 14px; }
.cognito-field label { display: block; font-size: 13px; color: #33475b; margin-bottom: 4px; }
.cognito-field input[type="text"], .cognito-field input[type="password"], .cognito-field input[type="email"], .cognito-field input[type="tel"] { width: 100%; height: auto; padding: 8px 10px; border: 1px solid #cfd6e2; border-radius: 4px; font-size: 14px; font-family: Verdana, Arial, sans-serif; margin-bottom: 0; }
.cognito-field.has-error input { border-color: #c0392b; }
.cognito-req { color: #c0392b; }
.cognito-hint { color: #5a6474; font-size: 12px; margin-top: 4px; }
.cognito-current { font-size: 12px; color: #5a6474; margin: 0 0 4px 0; }
.cognito-current b { color: #1a2332; font-weight: normal; font-family: Consolas, "Courier New", monospace; }
.cognito-error { color: #c0392b; font-size: 13px; min-height: 18px; margin: 6px 0; }
.cognito-banner { background: #fff4d6; border: 1px solid #e3c468; color: #5c4300; font-size: 13px; line-height: 1.45; padding: 10px 14px; border-radius: 4px; margin-bottom: 16px; }
.cognito-choice-tile { display: block; width: 100%; text-align: left; background: #ffffff; border: 2px solid #eef0f4; padding: 12px 16px; border-radius: 6px; margin-bottom: 10px; cursor: pointer; font-family: Verdana, Arial, sans-serif; }
.cognito-choice-tile:hover, .cognito-choice-tile.sel { border-color: #1e57c2; background: #f7faff; }
.cognito-choice-title { font-weight: 600; font-size: 15px; color: #1a2332; }
.cognito-choice-desc { color: #33475b; font-size: 13px; margin-top: 4px; }
.cognito-two-col { display: flex; gap: 24px; flex-wrap: wrap; }
.cognito-two-col-left { flex: 1; min-width: 240px; }
.cognito-two-col-right { flex: 1; min-width: 320px; }
.cognito-qr { padding: 10px; background: white; border: 1px solid #cfd6e2; border-radius: 4px; display: inline-block; }
.cognito-secret { display: flex; gap: 8px; align-items: center; background: #f5f7fb; padding: 8px 10px; border-radius: 4px; margin: 6px 0; }
.cognito-secret code { font-family: Consolas, "Courier New", monospace; font-size: 14px; letter-spacing: 1px; word-break: break-all; }
.cognito-captcha-row { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.cognito-captcha-row img { border: 1px solid #cfd6e2; border-radius: 4px; }
.cognito-muted { color: #5a6474; font-size: 12px; font-weight: normal; }

.cognito-code { display: flex; gap: 8px; margin: 14px 0 6px 0; }
.cognito-code input { width: 46px; height: 54px; padding: 0; margin: 0; text-align: center; font-size: 22px; font-family: Consolas, "Courier New", monospace; border: 1px solid #cfd6e2; border-radius: 4px; color: #1a2332; }
.cognito-code.has-error input { border-color: #c0392b; background: #fdf3f2; }

.cognito-pw { position: relative; }
.cognito-pw input { padding-right: 64px; }
.cognito-pw button { position: absolute; right: 4px; top: 4px; height: 28px; border: 0; background: #f5f7fb; color: #1e57c2; font-size: 12px; border-radius: 3px; padding: 0 8px; font-family: Verdana, Arial, sans-serif; cursor: pointer; }
.cognito-meter { display: flex; gap: 4px; margin: 8px 0 4px 0; }
.cognito-meter span { flex: 1; height: 6px; border-radius: 3px; background: #e3e7ee; }
.cognito-meter[data-score="1"] span:nth-child(-n+1), .cognito-meter[data-score="2"] span:nth-child(-n+2) { background: #c0392b; }
.cognito-meter[data-score="3"] span:nth-child(-n+3) { background: #b8770f; }
.cognito-meter[data-score="4"] span:nth-child(-n+4), .cognito-meter[data-score="5"] span { background: #1c6a20; }
.cognito-meter-label { font-size: 12px; color: #5a6474; text-transform: uppercase; letter-spacing: 0.6px; min-height: 16px; }
.cognito-rules { list-style: none; margin: 8px 0 0 0; padding: 0; font-size: 12px; color: #5a6474; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.cognito-rules li { display: flex; gap: 6px; align-items: center; width: calc(50% - 6px); }
.cognito-rules li:before { content: ""; width: 12px; height: 12px; border: 1px solid #9aa6b8; border-radius: 2px; flex: none; }
.cognito-rules li.ok { color: #1c6a20; }
.cognito-rules li.ok:before { background: #1c6a20; border-color: #1c6a20; box-shadow: inset 0 0 0 2px #ffffff; }
.cognito-mismatch { display: inline-block; background: #fdecea; color: #a12a1e; font-size: 12px; padding: 2px 8px; border-radius: 10px; margin-top: 6px; }

.cognito-card-body p.cognito-resend { font-size: 12px; color: #5a6474; margin: 14px 0 0 0; }
.cognito-resend .cognito-link { font-size: 12px; text-decoration: underline; }
.cognito-resend .cognito-link:disabled { text-decoration: none; }
.cognito-card-body p.cognito-footer-note { font-size: 12px; color: #5a6474; margin: 16px 0 0 0; }
.cognito-apps { display: flex; gap: 12px; margin: 14px 0; flex-wrap: wrap; }
.cognito-app { flex: 1; min-width: 200px; border: 1px solid #cfd6e2; border-radius: 6px; padding: 14px; }
.cognito-app strong { display: block; font-size: 14px; color: #1a2332; margin-bottom: 8px; }
.cognito-app a { font-size: 12px; color: #1e57c2; margin-right: 12px; }
.cognito-qr img { display: block; width: 180px; height: 180px; }

.cognito-tab { padding: 16px; font-family: Verdana, Arial, sans-serif; font-size: 13px; color: #1a2332; }
.cognito-tab label { display: block; margin-bottom: 6px; }
.cognito-tab .cognito-field label { margin-bottom: 4px; }
.cognito-tab .meta { color: #5a6474; font-size: 12px; margin-bottom: 12px; }
.cognito-tab .box { background: #f5f7fb; padding: 12px; border-radius: 4px; margin-bottom: 12px; max-width: 640px; }
.cognito-pill.green { background: #d8f3d9; color: #1c6a20; }
.cognito-tab label.cognito-active { background: #fff3d6; border-left: 4px solid #b8770f; padding: 6px 8px; border-radius: 3px; font-weight: bold; max-width: 640px; box-sizing: border-box; }
.cognito-tab label.cognito-active .cognito-pill { background: #b8770f; color: #fff; }
.cognito-saved { color: #1c6a20; font-weight: bold; margin-left: 10px; }
.cognito-method { display: flex; gap: 12px; align-items: center; border: 1px solid #d0d5dd; border-radius: 6px; padding: 12px 14px; margin-bottom: 10px; }
.cognito-method .grow { flex: 1; min-width: 0; }
.cognito-method .btns { display: flex; gap: 6px; flex: none; }
.cognito-tick { width: 20px; height: 20px; border-radius: 50%; background: #1c6a20; flex: none; position: relative; }
.cognito-tick:after { content: ""; position: absolute; left: 7px; top: 4px; width: 4px; height: 8px; border: solid #ffffff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.cognito-overlay { position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: rgba(60, 60, 60, 0.45); z-index: 9000; display: flex; align-items: flex-start; justify-content: center; padding-top: 110px; }
.cognito-dialog { background: #ffffff; border: 1px solid #a4bed4; box-shadow: 0 4px 16px rgba(0,0,0,0.25); width: 440px; max-width: calc(100% - 32px); padding: 22px 24px 16px 24px; font-family: Verdana, Arial, sans-serif; font-size: 13px; color: #1a2332; text-align: center; }
.cognito-dialog p { margin: 0 0 14px 0; line-height: 1.5; }
.cognito-dialog-btns { display: flex; gap: 10px; justify-content: center; margin-top: 4px; }
.cognito-dialog-btns .cognito-btn { min-width: 70px; }

.cognito-dim { position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: rgba(170, 170, 170, 0.7); z-index: 9500; display: flex; align-items: flex-start; justify-content: center; padding: 64px 16px 28px 16px; overflow: auto; }
.cognito-popform { background: #ffffff; border-radius: 10px; box-shadow: 0 0 25px 5px #999999; padding: 25px; min-width: 300px; max-width: 640px; width: 100%; box-sizing: border-box; }
.cognito-popform.cognito-pop-small { max-width: 440px; }
.cognito-popform h2 { margin: 0 0 14px 0; font-size: 20px; color: #1a2332; }
.cognito-popform p { font-size: 13px; color: #33475b; line-height: 1.5; margin: 0 0 12px 0; }
.cognito-legal { font-size: 11px; color: #5a6474; line-height: 1.45; border-top: 1px solid #eef0f4; padding-top: 12px; margin-top: 14px; }

.cognito-logo { width: fit-content; min-width: 44px; max-width: 100%; height: 44px; border-radius: 8px; background: #eaf1ff; color: #1e57c2; font-weight: bold; font-size: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; overflow: hidden; }
.cognito-logo img { width: auto; height: 44px; max-width: 100%; display: block; object-fit: contain; }

@media (max-width: 640px) {
  #cognitodiv { padding: 0 8px; }
  .cognito-two-col { flex-direction: column; gap: 12px; }
  .cognito-two-col-left, .cognito-two-col-right { min-width: 0; }
  .cognito-qr img { max-width: 100%; height: auto; }
  .cognito-field input { font-size: 16px; }
  .cognito-code { gap: 5px; }
  .cognito-code input { width: 40px; }
  .cognito-rules li { width: 100%; }
}
