/* Theme-safe WHMCS two-factor setup dialog. */
html body.vdc-reference #modalAjax:has(.twofa-setup),html body.vdc-reference #modalAjax.twofa-setup{padding:20px!important}
html body.vdc-reference #modalAjax :is(.modal-dialog.twofa-setup,.twofa-setup .modal-dialog){width:100%!important;max-width:660px!important;margin:clamp(16px,6vh,64px) auto!important}
html body.vdc-reference #modalAjax .twofa-setup .modal-content,html body.vdc-reference #modalAjax:has(.twofa-setup) .modal-content,html body.vdc-reference #modalAjax.twofa-setup .modal-content{background:var(--vp-surface)!important;color:var(--vp-text)!important;border:1px solid var(--vp-line)!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 24px 80px #0005!important;font-family:Inter,Arial,sans-serif!important}
html body.vdc-reference #modalAjax:has(.twofa-setup) :is(.modal-header,.modal-body,.modal-footer),html body.vdc-reference #modalAjax.twofa-setup :is(.modal-header,.modal-body,.modal-footer){background:var(--vp-surface)!important;color:var(--vp-text)!important;border-color:var(--vp-line)!important}
html body.vdc-reference #modalAjax:has(.twofa-setup) .modal-header,html body.vdc-reference #modalAjax.twofa-setup .modal-header{display:flex!important;align-items:center!important;gap:16px!important;padding:22px 26px!important;border-bottom:1px solid var(--vp-line)!important}
html body.vdc-reference #modalAjax:has(.twofa-setup) .modal-title,html body.vdc-reference #modalAjax.twofa-setup .modal-title{font:700 20px/1.4 Manrope,Inter,Arial,sans-serif!important;color:var(--vp-text)!important;margin:0!important}
html body.vdc-reference #modalAjax:has(.twofa-setup) .close,html body.vdc-reference #modalAjax.twofa-setup .close{display:grid!important;place-items:center!important;flex:none!important;width:34px!important;height:34px!important;margin:0 0 0 auto!important;padding:0!important;border:1px solid var(--vp-line)!important;border-radius:9px!important;background:var(--vp-soft)!important;color:var(--vp-muted)!important;opacity:1!important;text-shadow:none!important;font-size:24px!important;line-height:1!important}
html body.vdc-reference #modalAjax:has(.twofa-setup) .modal-body,html body.vdc-reference #modalAjax.twofa-setup .modal-body{padding:24px 26px!important;max-height:65vh!important;overflow-y:auto!important;overscroll-behavior:contain;line-height:1.7!important}
html body.vdc-reference #modalAjax:has(.twofa-setup) .modal-body p,html body.vdc-reference #modalAjax.twofa-setup .modal-body p{font:400 14px/1.75 Inter,Arial,sans-serif!important;color:var(--vp-muted)!important;margin:0 0 16px!important}
html body.vdc-reference #modalAjax:has(.twofa-setup) :is(label,.twofa-provider,.twofa-provider-select),html body.vdc-reference #modalAjax.twofa-setup :is(label,.twofa-provider,.twofa-provider-select){color:var(--vp-text)!important;font-family:Inter,Arial,sans-serif!important}
html body.vdc-reference #modalAjax:has(.twofa-setup) :is(.list-group-item,.twofa-provider),html body.vdc-reference #modalAjax.twofa-setup :is(.list-group-item,.twofa-provider){background:var(--vp-soft)!important;border:1px solid var(--vp-line)!important;border-radius:12px!important;padding:18px!important;margin:10px 0 18px!important;box-shadow:none!important}
html body.vdc-reference #modalAjax:has(.twofa-setup) input[type=radio],html body.vdc-reference #modalAjax.twofa-setup input[type=radio]{accent-color:#7888e0;width:17px;height:17px;cursor:pointer}
html body.vdc-reference #modalAjax:has(.twofa-setup) :is(input[type=text],input[type=password]),html body.vdc-reference #modalAjax.twofa-setup :is(input[type=text],input[type=password]){background:var(--vp-soft)!important;color:var(--vp-text)!important;border:1px solid var(--vp-line)!important;border-radius:10px!important;min-height:48px!important;font:400 14px Inter,Arial,sans-serif!important}
html body.vdc-reference #modalAjax:has(.twofa-setup) .modal-footer,html body.vdc-reference #modalAjax.twofa-setup .modal-footer{padding:16px 26px!important;display:flex!important;gap:10px!important;align-items:center!important;border-top:1px solid var(--vp-line)!important}
html body.vdc-reference #modalAjax:has(.twofa-setup) .btn,html body.vdc-reference #modalAjax.twofa-setup .btn{min-height:44px!important;padding:11px 18px!important;border-radius:10px!important;font:600 13px/1.5 Inter,Arial,sans-serif!important;text-shadow:none!important}
html body.vdc-reference #modalAjax:has(.twofa-setup) .btn-primary,html body.vdc-reference #modalAjax.twofa-setup .btn-primary{background:#687bdb!important;border:1px solid #687bdb!important;color:#fff!important}
html body.vdc-reference #modalAjax:has(.twofa-setup) .btn-default,html body.vdc-reference #modalAjax.twofa-setup .btn-default{background:var(--vp-soft)!important;border:1px solid var(--vp-line)!important;color:var(--vp-text)!important}
@media(max-width:575px){html body.vdc-reference #modalAjax:has(.twofa-setup),html body.vdc-reference #modalAjax.twofa-setup{padding:10px!important}html body.vdc-reference #modalAjax:has(.twofa-setup) :is(.modal-header,.modal-body,.modal-footer),html body.vdc-reference #modalAjax.twofa-setup :is(.modal-header,.modal-body,.modal-footer){padding:18px!important}html body.vdc-reference #modalAjax:has(.twofa-setup) .modal-title,html body.vdc-reference #modalAjax.twofa-setup .modal-title{font-size:18px!important}}
html body.vdc-reference #modalAjax.twofa-setup .modal-dialog,html body.vdc-reference #modalAjax:has(.twofa-setup) .modal-dialog{width:100%!important;max-width:660px!important;margin:clamp(16px,6vh,64px) auto!important}
html body.vdc-reference #modalAjax .twofa-module{display:grid!important;grid-template-columns:22px 52px minmax(0,1fr)!important;gap:14px!important;align-items:center!important;padding:18px!important;margin:12px 0 20px!important;background:var(--vp-soft)!important;color:var(--vp-text)!important;border:1px solid var(--vp-line)!important;border-radius:12px!important;cursor:pointer}
html body.vdc-reference #modalAjax .twofa-module.active{border-color:#8291e7!important;box-shadow:0 0 0 2px #8291e712!important}
html body.vdc-reference #modalAjax .twofa-module :is(.col-radio,.col-logo,.col-description){float:none!important;width:auto!important;margin:0!important;line-height:1.6!important}
html body.vdc-reference #modalAjax .twofa-module .col-logo{display:grid;place-items:center;width:52px!important;height:52px;border-radius:10px;background:var(--vp-surface)}
html body.vdc-reference #modalAjax .twofa-module .col-description{font:400 13px/1.6 Inter,Arial,sans-serif!important;color:var(--vp-muted)!important}
html body.vdc-reference #modalAjax .twofa-module strong{display:block;color:var(--vp-text)!important;font:700 14px/1.6 Inter,Arial,sans-serif!important;margin-bottom:3px}
html body.vdc-reference #modalAjax.twofa-setup :is(.activation-msg,.backup-code),html body.vdc-reference #modalAjax:has(.twofa-setup) :is(.activation-msg,.backup-code){background:var(--vp-soft)!important;color:var(--vp-text)!important;border:1px solid var(--vp-line)!important;border-radius:10px!important;padding:16px!important;overflow-wrap:anywhere}
@media(max-width:575px){html body.vdc-reference #modalAjax .twofa-module{grid-template-columns:20px 40px minmax(0,1fr)!important;gap:10px!important;padding:14px!important}html body.vdc-reference #modalAjax .twofa-module .col-logo{width:40px!important;height:44px!important}}
