/* XPRO AUTH v6.3.1 Realme OTP module: loaded only in the platform admin dashboard */
.otp-editor-grid{grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr)}
.otp-format{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#ccbfff;letter-spacing:.35px}
.otp-quick-picks,.otp-action-row{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.otp-quick-picks button{min-width:38px}
.otp-action-row button{white-space:nowrap}
.otp-info{font-size:12px;line-height:1.5;margin:4px 0 0}
.otp-note{font-size:12px;line-height:1.5;margin:5px 0 10px}
.otp-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:230px;padding:20px;border:1px dashed #38333f;border-radius:11px;background:#131315}
.otp-placeholder p{margin:11px 0 0;max-width:310px;line-height:1.55}
#realmeOtpCreated textarea{width:100%;min-height:175px;max-height:300px;resize:vertical;white-space:pre;overflow:auto;font-size:12px}
#realmeOtpCreated .otp-action-row{margin-top:10px}
.otp-filters select{width:auto;min-width:135px}
.otp-batch-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:14px 0}
.otp-batch-row label{font-size:12px;color:var(--muted)}
.otp-batch-row input{min-width:225px;max-width:335px;flex:1 1 225px}
.otp-table{min-width:1050px}
.otp-table .otp-hint{font-size:12px;white-space:nowrap;color:#d2c5ff}
.otp-batch-hint{font-size:10px;margin-top:5px}
.otp-pagination{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin:16px 0 4px}
.otp-api-note{display:flex;gap:12px;align-items:center;border-top:1px solid var(--line);padding:14px 0 0;margin-top:12px;line-height:1.6;flex-wrap:wrap}
.pill.used{color:#a6adbe;background:#252831}.pill.revoked{color:#ff7f8b;background:#32171b}.pill.unused{color:#62db8d;background:#142c1e}
@media(max-width:1100px){.otp-editor-grid{grid-template-columns:1fr}}
@media(max-width:650px){.otp-batch-row input{max-width:none;width:100%}.otp-batch-row label{width:100%}.otp-action-row button{flex:1}.otp-pagination{justify-content:space-between;gap:8px}.otp-pagination button{min-width:0}.otp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* v6.5 - OTP management */
.otp-custom-controls[hidden]{display:none!important}
.otp-custom-controls{display:grid;gap:8px;margin:5px 0 12px}
.otp-custom-row{display:flex;gap:8px;flex-wrap:wrap}
.otp-custom-row input{min-width:100px;flex:1}
.otp-custom-row select{min-width:130px;flex:1}
.otp-bulk-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0;padding:11px;border:1px solid rgba(127,127,127,.22);border-radius:11px}
.otp-bulk-toolbar label{display:flex;align-items:center;gap:7px;cursor:pointer}
.otp-bulk-toolbar input[type=checkbox],.otp-table input[type=checkbox]{appearance:auto;width:16px;height:16px;min-height:unset;accent-color:#7458fa;cursor:pointer}
.otp-bulk-toolbar button{white-space:normal}
.otp-batch-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.otp-batch-row input{flex:1 1 180px;min-width:125px}
.otp-inline-code{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.otp-inline-code>.code{font-size:12px;overflow-wrap:anywhere;user-select:text}
.otp-action-row{display:flex;gap:6px;flex-wrap:wrap}
.otp-action-row button{white-space:nowrap}
.otp-dialog-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.78);display:flex;align-items:center;justify-content:center;padding:18px;z-index:99999}
.otp-dialog{max-width:470px;width:100%;max-height:90vh;overflow:auto;box-shadow:0 22px 80px rgba(0,0,0,.55)}
.otp-table{min-width:900px}
.otp-table th,.otp-table td{vertical-align:middle}
@media(max-width:640px){.otp-bulk-toolbar button{flex:1}.otp-batch-row button{flex:1}.otp-dialog{padding:16px}.otp-inline-code>.code{font-size:11px}}
