
/* from template.php */
.ui-overlay { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.7); z-index:2147483640; align-items:center; justify-content:center; }
    .ui-overlay.show { display:flex; }
    .ui-modal { background:var(--cm-color-bg-card); width:100%; max-width:450px; border-radius:12px; overflow:hidden; position:relative; font-family:sans-serif; box-shadow:0 10px 30px rgba(0,0,0,0.5); }
    .ui-tabs { display:flex; background:var(--cm-color-border-light); border-bottom:1px solid var(--cm-color-border-light); }
    .ui-tab { flex:1; padding:15px; text-align:center; cursor:pointer; font-weight:bold; color:var(--cm-color-muted); text-transform:uppercase; font-size:12px; }
    .ui-tab.active { background:var(--cm-color-bg-card); color:var(--cm-color-text); border-bottom:2px solid var(--cm-color-text); }
    .ui-body { padding:30px; }
    .ui-input { width:100%; padding:12px; margin-bottom:10px; border:1px solid var(--cm-color-border); border-radius:6px; box-sizing:border-box; font-size:14px; }
    .ui-btn { width:100%; padding:14px; border:0; border-radius:6px; font-weight:bold; cursor:pointer; color:var(--cm-color-bg-card); display:block; text-align:center; text-decoration:none; }
    .ui-close { position:absolute; right:15px; top:10px; font-size:24px; cursor:pointer; color:var(--cm-color-border); z-index:10; }
