/* i2fa.app v4 — focused authenticated code collection, after the existing 2FA tool. */
.cloud-header-login{background:#14273a;border:1px solid #2b4e62;border-radius:11px;color:#78f2cd;min-height:38px;padding:6px 14px;font:700 13px/1.2 inherit;cursor:pointer;max-width:165px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.cloud-header-login:hover{border-color:#4ee7ca}
.cloud-panel{background:linear-gradient(135deg,#111d32,#0e182a);border:1px solid #31445e;border-radius:19px;margin:20px 0 20px;padding:24px;color:var(--text)}
.cloud-head{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.cloud-head-text{display:flex;align-items:center;gap:13px}
.cloud-hero-icon{font-size:23px;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#193548}
.cloud-head h2{font-size:21px;font-weight:800;margin:0 0 4px;line-height:1.3}
.cloud-head small{color:#a3b6cc;font-size:12px}
.cloud-pill{font-size:11px;color:#a3b6cc;border:1px solid #2c4564;background:#1a2b43;border-radius:99px;padding:7px 12px}
.cloud-pill.online{color:#58efd0;border-color:#346e6e}
.cloud-signedout{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:19px;padding-top:18px;border-top:1px solid #2a3c55}
.cloud-signedout p{font-size:13px;color:#b9cadc;line-height:1.6;margin:0;flex:1;min-width:240px}
.cloud-provider-preview{display:flex;gap:7px;flex-wrap:wrap}
.cloud-provider-preview span{background:#1a3049;border:1px solid #2b4663;color:#c7d8e8;padding:8px 11px;border-radius:10px;font-size:12px;font-weight:650}
.cloud-action{font-size:13px!important;padding:12px 17px!important;min-height:40px!important;white-space:nowrap}
.cloud-offline{display:flex;flex-wrap:wrap;gap:5px;color:#ffcf88;background:#48351f;border-radius:9px;padding:10px 12px;font-size:12px;margin-top:13px}
.cloud-profile{margin-top:13px;padding-top:13px;border-top:1px solid #2b405c;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#aec2d8;font-size:12px;overflow-wrap:anywhere}
.cloud-profile button{border:1px solid #39506c;background:#19283e;color:#a9c2de;border-radius:9px;padding:9px 13px;cursor:pointer;flex-shrink:0}
.cloud-add{margin:16px 0;border:1px solid #31546c;border-radius:13px;overflow:hidden}
.cloud-add>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:16px 19px;background:#162b42;color:#63e8ce;font-size:14px;font-weight:800}
.cloud-add>summary::-webkit-details-marker{display:none}
.cloud-add[open]>summary{border-bottom:1px solid #2b435b}
.cloud-form{display:flex;flex-direction:column;gap:14px;padding:17px;background:#111e31}
.cloud-fields{display:grid;grid-template-columns:1fr 2fr;gap:12px}
.cloud-fields-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.cloud-form label{font-size:12px;display:flex;flex-direction:column;gap:7px;color:#b4c5da;font-weight:700}
.cloud-form input,.cloud-form textarea,.cloud-form select{width:100%;box-sizing:border-box;font-size:14px;background:#0b1728;border:1px solid #35516b;border-radius:10px;color:#f2f6ff;padding:13px;min-height:46px;font-family:inherit;outline-offset:2px}
.cloud-form textarea{resize:vertical;min-height:108px;line-height:1.65;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.cloud-form select{appearance:auto}
.cloud-form input:focus,.cloud-form textarea:focus,.cloud-form select:focus{border-color:#4ce1c5;outline:1px solid #4ce1c5}
.cloud-tools{display:flex;gap:8px;flex-wrap:wrap}
.cloud-tools>button,.cloud-file-label{background:#1d304a;border:1px solid #354a69;border-radius:9px;color:#c5d6e7;cursor:pointer;padding:9px 13px;font-size:12px;font-weight:700;min-height:40px;display:inline-flex;align-items:center;justify-content:center}
.cloud-tools>*:hover{border-color:#57d8bb}
.cloud-advanced>summary{font-size:12px;color:#a8bed6;cursor:pointer;margin-bottom:10px}
.cloud-form-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.cloud-form-footer p{font-size:12px;margin:0;color:#ffb7c6;flex:1}
.cloud-form-footer button{font-size:13px;min-height:43px;padding:10px 19px}
.cloud-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cloud-item{border:1px solid #2f4860;background:#14233a;border-radius:13px;padding:16px;min-width:0}
.cloud-item-top{display:flex;gap:11px;align-items:center;margin-bottom:14px}
.cloud-item-logo{background:#203950;color:#63e6c5;border-radius:10px;font-weight:900;width:37px;height:37px;display:grid;place-items:center;font-size:16px;flex-shrink:0}
.cloud-item-ident{min-width:0;flex:1}
.cloud-item-ident strong{display:block;color:#f0f6ff;font-size:14px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cloud-item-ident small{display:block;color:#92a8c3;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cloud-remove{background:none;border:none;color:#8ca4b8;cursor:pointer;padding:4px;font-size:17px;min-width:25px}
.cloud-remove:hover{color:#ff8d9d}
.cloud-numbers{font-size:clamp(24px,2.4vw,32px);font-weight:850;letter-spacing:3px;white-space:nowrap;color:#f8fdff;font-variant-numeric:tabular-nums}
.cloud-code-footer{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:13px}
.cloud-seconds{color:#9cb3c7;font-size:12px;font-variant-numeric:tabular-nums}
.cloud-copy{background:#4ee4c2;border:0;border-radius:8px;color:#092e35;font:800 12px inherit;padding:9px 13px;cursor:pointer}
.cloud-copy:disabled{opacity:.45;cursor:not-allowed}
.cloud-timer-progress{margin-top:12px;height:4px;border-radius:5px;background:#2d4157;overflow:hidden}
.cloud-timer-progress>span{display:block;background:#4fe8c7;height:100%;width:0;transition:width .2s linear}
.cloud-empty{padding:22px 7px;text-align:center;color:#9cb2c9;font-size:13px}
.cloud-warning{font-size:11px;line-height:1.7;color:#8eabc5;margin:14px 0 0}
.cloud-auth-dialog{border:0;background:transparent;padding:20px;max-width:calc(100vw - 22px);width:440px;color:#eef6ff}
.cloud-auth-dialog::backdrop{background:rgba(0,5,15,.77);backdrop-filter:blur(3px)}
.cloud-dialog{background:#111e30;border:1px solid #3b5973;border-radius:20px;box-shadow:0 22px 80px #0007;padding:25px;position:relative}
.cloud-dialog h2{margin:8px 0 21px;font-size:21px;font-weight:850;text-align:center}
.cloud-auth-symbol{font-size:31px;text-align:center}
.cloud-close{position:absolute;top:13px;right:15px;background:none;color:#b4c9de;border:none;font-size:28px;cursor:pointer}
.cloud-auth-tabs{display:flex;background:#0c1627;border:1px solid #2c455f;border-radius:10px;padding:4px;gap:4px;margin-bottom:17px}
.cloud-auth-tabs button{flex:1;background:none;color:#9eb6ce;border:none;border-radius:8px;padding:10px 8px;font-weight:800;cursor:pointer}
.cloud-auth-tabs button.active{background:#215343;color:#7dfbdb}
#cloudAuthForm{display:flex;flex-direction:column;gap:13px}
#cloudAuthForm label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:#afc3d8}
#cloudAuthForm input{width:100%;box-sizing:border-box;border:1px solid #38516d;border-radius:9px;background:#0b1728;color:#fff;font:inherit;font-size:14px;min-height:46px;padding:11px 13px}
#cloudAuthForm button{min-height:46px;font-size:14px}
#cloudAuthError{font-size:12px;color:#ff9db2;margin:0}
.cloud-or{font-size:11px;text-align:center;color:#a1b3c8;margin:16px 0}
.cloud-google{background:#fff;color:#263243;display:flex;align-items:center;justify-content:center;gap:11px;border-radius:9px;min-height:46px;font-size:13px;font-weight:800;text-decoration:none}
.cloud-google svg{height:18px;width:18px}
.cloud-google[aria-disabled="true"]{filter:grayscale(1);opacity:.5;pointer-events:none}
.cloud-auth-note{font-size:10px;color:#8299b3;line-height:1.55;text-align:center;margin:13px 0 0}
:root[data-theme="light"] .cloud-panel{background:#eaf1f8;border-color:#d0dfeb;color:#1d2b3e}
:root[data-theme="light"] .cloud-head h2{color:#172d3d}
:root[data-theme="light"] .cloud-head small,:root[data-theme="light"] .cloud-signedout p,:root[data-theme="light"] .cloud-warning{color:#4d6681}
:root[data-theme="light"] .cloud-hero-icon,:root[data-theme="light"] .cloud-pill,:root[data-theme="light"] .cloud-profile button,:root[data-theme="light"] .cloud-item{background:#fff;border-color:#c8d9e9;color:#22526a}
:root[data-theme="light"] .cloud-item-ident strong,:root[data-theme="light"] .cloud-numbers{color:#1a354c}
:root[data-theme="light"] .cloud-item-ident small,:root[data-theme="light"] .cloud-seconds{color:#486884}
:root[data-theme="light"] .cloud-add>summary{background:#dcefe9;color:#144f48}
:root[data-theme="light"] .cloud-form{background:#e7eff6}
:root[data-theme="light"] .cloud-form label{color:#334f67}
:root[data-theme="light"] .cloud-form input,:root[data-theme="light"] .cloud-form textarea,:root[data-theme="light"] .cloud-form select{background:#fff;color:#1f344a}
:root[data-theme="light"] .cloud-profile{color:#456681}
@media(max-width:1050px){.cloud-items{grid-template-columns:repeat(2,minmax(0,1fr))}.cloud-signedout{align-items:flex-start}.cloud-provider-preview{order:3;width:100%}}
@media(max-width:640px){.cloud-panel{padding:16px;border-radius:14px}.cloud-head h2{font-size:17px}.cloud-hero-icon{width:39px;height:39px;font-size:20px}.cloud-head small{font-size:10px}.cloud-pill{font-size:10px}.cloud-items{grid-template-columns:1fr}.cloud-fields{grid-template-columns:1fr}.cloud-fields-three{grid-template-columns:repeat(3,minmax(0,1fr))}.cloud-signedout p{min-width:100%}.cloud-action{width:100%}.cloud-provider-preview{order:0}.cloud-header-login{font-size:10px;padding:7px 9px;max-width:88px;min-height:34px}.cloud-dialog{padding:22px 16px}.cloud-numbers{font-size:29px}}

/* v4.1: compact, server-verified numeric CAPTCHA inside account sign-in */
.cloud-captcha{display:flex;flex-direction:column;gap:9px;padding:11px 12px;border:1px solid #334e68;border-radius:12px;background:#0b1627}
.cloud-captcha-title{font-size:12px;font-weight:750;color:#b7cedf}
.cloud-captcha-controls{display:flex;align-items:center;gap:9px}
.cloud-captcha-art{display:flex;align-items:center;justify-content:center;background:#edf6f8;border-radius:9px;min-width:0;flex:1;overflow:hidden;height:65px}
.cloud-captcha-art img{width:100%;height:65px;object-fit:contain;image-rendering:auto;user-select:none}
#cloudAuthForm .cloud-captcha-reload{width:auto;min-height:40px;padding:8px 12px;background:#182e45;border:1px solid #375c75;border-radius:9px;color:#a9eeda;font-weight:750;cursor:pointer;white-space:nowrap;font-size:12px}
#cloudCaptchaInput{text-align:center;letter-spacing:9px;font-size:20px!important;font-weight:800!important;font-variant-numeric:tabular-nums}
#cloudCaptchaStatus{font-size:11px;color:#9eb9d1}
@media(max-width:370px){.cloud-captcha-controls{gap:5px}#cloudAuthForm .cloud-captcha-reload{padding:6px 8px;font-size:11px}.cloud-dialog{padding:16px 12px}}


/* v4.2: separate register button + subtler compact captcha */
.cloud-header-auth{display:flex;align-items:center;gap:10px}
.cloud-header-register{appearance:none;border:1px solid #335476;background:#16243b;color:#d4e6f7;border-radius:14px;padding:10px 16px;min-height:44px;font:800 15px/1.1 inherit;cursor:pointer;transition:.18s ease}
.cloud-header-register:hover{border-color:#57d8bb;color:#fff;transform:translateY(-1px)}
.cloud-captcha{gap:8px;padding:10px 12px;border-radius:12px;background:#0d1829}
.cloud-captcha-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cloud-captcha-title{font-size:11px;font-weight:800;color:#c3d6e6;letter-spacing:.01em}
.cloud-captcha-controls{display:grid;grid-template-columns:minmax(120px,150px) minmax(120px,1fr);align-items:center;gap:10px}
.cloud-captcha-art{height:48px;border-radius:8px;background:#f4f8fa;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}
.cloud-captcha-art img{height:48px}
#cloudAuthForm .cloud-captcha-reload{min-height:34px;padding:6px 10px;border-radius:8px;font-size:11px;background:#162940;color:#bde8db}
#cloudCaptchaInput{text-align:center;letter-spacing:6px;font-size:18px!important;min-height:44px!important;padding:10px 12px!important;font-weight:800!important}
#cloudCaptchaStatus{font-size:10px;color:#8ea9c3;padding-left:2px}
#cloudAuthForm label{gap:8px}
#cloudAuthForm input{font-size:15px;min-height:50px;padding:13px 14px}
#cloudAuthForm > label:first-of-type input,
#cloudAuthForm > label:nth-of-type(2) input{font-size:16px;min-height:54px}
@media(max-width:640px){
  .cloud-header-auth{gap:8px}
  .cloud-header-register,.cloud-header-login{padding:8px 12px;min-height:38px;font-size:12px;max-width:none}
  .cloud-captcha-controls{grid-template-columns:1fr}
  .cloud-captcha-art{width:100%;max-width:180px}
  #cloudCaptchaInput{width:100%}
}


/* v4.4: bright, readable wordmark based on the supplied i2fa emblem */
.brand-v44{display:inline-flex;align-items:center;gap:7px;min-width:0;text-decoration:none;flex-shrink:0}
.brand-mark-v44{width:49px;height:49px;object-fit:contain;display:block;flex-shrink:0;filter:drop-shadow(0 3px 9px rgba(0,158,255,.16))}
.brand-word-v44{color:#f6f9ff;font-weight:900;font-size:27px;letter-spacing:-1.25px;line-height:1;white-space:nowrap;text-shadow:0 1px 5px rgba(0,0,0,.25)}
.brand-word-v44>span{color:#64ebd0}
:root[data-theme="light"] .brand-word-v44{color:#12325a;text-shadow:none}
:root[data-theme="light"] .brand-word-v44>span{color:#047e80}
@media (max-width:760px){.brand-mark-v44{width:42px;height:42px}.brand-word-v44{font-size:24px}}
@media (max-width:640px){
 .site-header{height:auto!important;min-height:0!important}
 .header-content{padding-block:10px;flex-wrap:wrap;justify-content:center;row-gap:9px}
 .header-actions{width:100%;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px}
 .brand-mark-v44{width:39px;height:39px}.brand-word-v44{font-size:24px}
}
@media (max-width:360px){.brand-mark-v44{width:36px;height:36px}.brand-word-v44{font-size:21px}.header-actions{gap:5px}}
@media (max-width:360px){
 .header-actions{gap:4px}
 .language-option{padding:3px 4px;min-height:30px}
 .language-flag{font-size:13px}
 .language-code{font-size:9px}
 .cloud-header-register,.cloud-header-login{padding:7px 8px;min-height:32px;font-size:11px}
 .theme-switch{width:32px;height:32px}
}
