/* V4.2.77 — License module styles. */
.license400-shell{width:min(980px,96vw);max-height:88vh;display:flex;flex-direction:column;background:#fff;border-radius:14px;overflow:hidden}
.license400-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px 12px;border-bottom:1px solid #e6ecef}
.license400-head h2{margin:0;font-size:17px;color:#173244}
.license400-head small{display:block;margin-top:3px;color:#72838e;font-size:11px}
.license400-tabs{display:flex;gap:4px;padding:0 20px;border-bottom:1px solid #e6ecef;background:#fbfdfd}
.license400-tabs button{border:0;background:transparent;padding:11px 14px;font-size:11.5px;font-weight:750;color:#6f8388;cursor:pointer;border-bottom:2px solid transparent}
.license400-tabs button.active{color:#1d5c58;border-bottom-color:#1d5c58}
.license400-body{padding:16px 20px 22px;overflow-y:auto;background:#f6f9fa}

.license400-card{background:#fff;border:1px solid #e2eaec;border-radius:12px;padding:16px 18px;margin-bottom:14px}
.license400-loading,.license400-empty{padding:18px;text-align:center;color:#7d8a92;font-size:11.5px}
.license400-error{background:#fdecea;color:#b84942;border-radius:9px;padding:10px 12px;font-size:11.5px;margin-top:10px}
.license400-note{background:#eef5f6;color:#3a5d63;border-radius:9px;padding:9px 12px;font-size:11px;margin-top:10px}
.license400-note.ok{background:#e5f7ee;color:#1f8a4f}
.license400-note.warn{background:#fff3e0;color:#a1650f}

.license400-status{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border-radius:10px;background:#eef5f6;margin-bottom:12px}
.license400-status b{font-size:12.5px;color:#173244}
.license400-status small{color:#6f8388;font-size:10.5px}
.license400-status.warn{background:#fff6e8}

.license400-btnrow{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.license400-btn{border:1px solid #d7e2e4;background:#fff;color:#2d4a50;font-size:11px;font-weight:750;padding:9px 14px;border-radius:9px;cursor:pointer}
.license400-btn:hover{background:#f3f8f8}
.license400-btn.primary{background:#1d5c58;border-color:#1d5c58;color:#fff}
.license400-btn.primary:hover{background:#194e4b}

.license400-help ul{margin:8px 0 0;padding-left:18px;font-size:11px;color:#556168;line-height:1.65}
.license400-help b{font-size:12px;color:#1d3445}

.license400-keyblock{margin-top:12px;border-top:1px solid #eef2f3;padding-top:12px;display:flex;flex-direction:column;gap:10px}
.license400-keyblock>b{font-size:11.5px;color:#1d3445}
.license400-keyblock label{display:flex;flex-direction:column;gap:5px;font-size:10.5px;font-weight:700;color:#6f8388}
.license400-keyblock small{color:#87959f;font-size:10px}
.license400-copyfield{display:flex;align-items:center;gap:8px;background:#f6f9fa;border:1px solid #e2eaec;border-radius:8px;padding:8px 10px}
.license400-copyfield code{flex:1;min-width:0;overflow-x:auto;white-space:nowrap;font-size:10.5px;color:#1d3445}
.license400-copy{border:1px solid #d7e2e4;background:#fff;color:#2d4a50;font-size:10px;font-weight:750;padding:5px 10px;border-radius:7px;cursor:pointer;flex:0 0 auto}

.license400-formgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px 14px;margin-bottom:12px}
.license400-formgrid label{display:flex;flex-direction:column;gap:5px;font-size:10.5px;font-weight:700;color:#6f8388}
.license400-input{border:1px solid #d7e2e4;border-radius:8px;padding:9px 10px;font-size:11.5px;color:#1d3445;background:#fff;width:100%;box-sizing:border-box}
.license400-sublabel{display:block;font-size:10.5px;font-weight:700;color:#6f8388;margin-bottom:6px}
.license400-presets{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.license400-chip{border:1px solid #d7e2e4;background:#fff;color:#3a5d63;font-size:10px;font-weight:750;padding:6px 11px;border-radius:999px;cursor:pointer}
.license400-chip.active{background:#1d5c58;border-color:#1d5c58;color:#fff}
.license400-hint{margin:12px 0 0;font-size:10.5px;color:#87959f}
.license400-hint code{background:#eef3f4;border-radius:5px;padding:1px 5px}

.license400-code-result{margin-top:14px;padding:16px;border:1px dashed #b9d2ce;border-radius:12px;background:#f2f9f8;text-align:center}
.license400-code-big{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:26px;font-weight:800;letter-spacing:2px;color:#173244;margin-bottom:10px;word-break:break-all}
.license400-code-result small{display:block;margin-top:8px;color:#6f8388;font-size:10.5px}

.license400-registerbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:12px}
.license400-registerbar .license400-input{flex:1;min-width:200px}
.license400-table{width:100%;border-collapse:collapse;font-size:11px}
.license400-table th{text-align:left;font-size:9.5px;text-transform:uppercase;letter-spacing:.03em;color:#7d8a92;padding:8px 10px;border-bottom:1px solid #e6ecef}
.license400-table td{padding:9px 10px;border-bottom:1px solid #eef2f3;color:#33474e}
.license400-pill{display:inline-flex;align-items:center;font-size:9px;font-weight:800;padding:3px 8px;border-radius:999px;background:#eef2f3;color:#5d7075}
.license400-pill.usb{background:#e8f0ff;color:#3856c9}
.license400-pill.phone{background:#eef5f6;color:#24777e}
.license400-pill.renew{background:#e5f7ee;color:#1f8a4f}
.license400-pill.unlimited{background:#f2eafd;color:#7854c7}
.license400-pill.support{background:#fff3e0;color:#a1650f}

.license400-passform,.license400-confirmbox{margin-top:12px;border:1px solid #e2eaec;border-radius:12px;padding:14px 16px;background:#fff}
.license400-passform.warn,.license400-confirmbox.warn{border-color:#f2d7ae;background:#fffaf1}
/* V4.2.83: Rotate Keys permanently invalidates every phone code issued so far — a much more
   destructive, one-way action than the other amber ".warn" confirmations in this module, so it gets
   its own stronger red treatment (same red already used for .license400-error) plus a thicker border,
   instead of reusing the mild amber "heads up" styling used for backup export/restore. */
.license400-passform.danger,.license400-confirmbox.danger{border-color:#e3a29c;border-width:2px;background:#fdecea}
.license400-confirmbox.danger b{color:#8a2e26}
.license400-btn.danger{background:#b84942;border-color:#b84942;color:#fff}
.license400-btn.danger:hover{background:#9c3b35}
.license400-btn.danger:disabled{background:#e3a29c;border-color:#e3a29c;cursor:not-allowed}
.license400-passform b,.license400-confirmbox b{display:block;font-size:12.5px;color:#173244;margin-bottom:6px}
.license400-passform p,.license400-confirmbox p{margin:0 0 10px;font-size:10.5px;color:#6f8388;line-height:1.55}
.license400-passform label{display:flex;flex-direction:column;gap:5px;font-size:10.5px;font-weight:700;color:#6f8388;margin-bottom:10px}
.license400-passform label:last-of-type{margin-bottom:0}
.license400-passform .license400-btnrow,.license400-confirmbox .license400-btnrow{margin-top:12px}
.license400-passform #ekbMsg,.license400-passform #rkbMsg{margin-top:10px}
.license400-passform #ekbMsg:empty,.license400-passform #rkbMsg:empty{margin-top:0}

@media(max-width:720px){.license400-shell{width:100vw;height:100vh;max-height:100vh;border-radius:0}.license400-formgrid{grid-template-columns:1fr}}
