/* Login Wajah — modal reset/kalibrasi */
/* ── Tombol aksi bawah login ── */
.lw-gate{margin-bottom:12px;padding:12px 14px;border:1.5px solid rgba(255,255,255,.9);border-radius:14px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);box-shadow:0 4px 16px rgba(15,23,42,.06)}
.lw-gate label{font-size:.74rem;font-weight:700;color:#475569;display:flex;align-items:center;gap:6px;margin-bottom:6px}
.lw-gate .lw-inp{position:relative;display:flex;align-items:center}
.lw-gate .lw-inp i{position:absolute;left:12px;color:#94a3b8}
.lw-gate .lw-inp input{width:100%;padding:10px 14px 10px 36px;border:1.5px solid #e2e8f0;border-radius:11px;font-size:.86rem;color:#1e293b;background:#f8fafc}
.lw-gate .lw-inp input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.12)}
.lw-gate-hint{margin:6px 0 0;font-size:.68rem;color:#64748b}
.lw-btn-next{width:100%;margin-top:10px;padding:11px;border:none;border-radius:12px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;font-weight:800;font-size:.86rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 8px 20px rgba(99,102,241,.35)}
.lw-btn-next:active{transform:scale(.98)}
/* ── Panel header + compact action buttons ── */
.lw-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
}
.lw-panel-head-text {
    flex: 1 1 auto;
    min-width: 0;
}
.lw-head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.lw-hbtn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 16px;
    border: none;
    border-radius: 10px;
    font-size: .76rem;
    font-weight: 800;
    cursor: pointer;
    transition: all .22s cubic-bezier(.4,0,.2,1);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}
.lw-hbtn-reset {
    background: #fef2f2;
    color: #dc2626;
    border: 1.5px solid #fecaca;
}
.lw-hbtn-reset:hover {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fca5a5;
    box-shadow: 0 2px 8px rgba(239,68,68,.14);
}
.lw-hbtn-reset:active { transform: scale(.97); }
.lw-hbtn-calib {
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: #fff;
    box-shadow: 0 3px 12px rgba(99,102,241,.28);
}
.lw-hbtn-calib:hover {
    box-shadow: 0 5px 18px rgba(99,102,241,.38);
    transform: translateY(-1px);
    color: #fff;
}
.lw-hbtn-calib:active { transform: translateY(0); }
.lw-hbtn:focus-visible {
    outline: 3px solid rgba(99,102,241,.35);
    outline-offset: 2px;
}

/* ── Modal Reset ── */
.lw-xbtn{width:34px;height:34px;border-radius:9px;border:none;background:transparent;color:#94a3b8;font-size:1.2rem;cursor:pointer;transition:.2s;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;}
.lw-xbtn:hover{background:#f1f5f9;color:#475569;}
.lw-xbtn:focus-visible{outline:2px solid #6366f1;outline-offset:2px;}
.lw-modal-bg{display:none;position:fixed;inset:0;background:rgba(15,23,42,.6);backdrop-filter:blur(6px);z-index:9999;align-items:center;justify-content:center;}
.lw-modal-bg.show{display:flex;}
.lw-modal{background:#fff;border-radius:22px;max-width:420px;width:92%;box-shadow:0 24px 64px rgba(0,0,0,.22);overflow:hidden;animation:slideUp .3s ease;}
@keyframes slideUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
.lw-modal-head{padding:20px 24px 14px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;gap:10px;}
.lw-modal-head .ic{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#ef4444,#fca5a5);display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.2rem;flex-shrink:0;}
.lw-modal-head h5{font-family:'Outfit',sans-serif;font-weight:800;font-size:1.05rem;margin:0;color:#0f172a;}
.lw-modal-head p{margin:2px 0 0;font-size:.76rem;color:#64748b;}
.lw-modal-body{padding:18px 24px 22px;}
.lw-modal-body label{display:block;font-size:.78rem;font-weight:700;color:#334155;margin-bottom:5px;}
.lw-modal-body input,.lw-modal-body textarea{width:100%;padding:10px 14px;border:2px solid #e2e8f0;border-radius:12px;font-size:.84rem;margin-bottom:12px;transition:.2s;box-sizing:border-box;}
.lw-modal-body input:focus,.lw-modal-body textarea:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px rgba(99,102,241,.15);}
.lw-modal-body textarea{resize:vertical;min-height:70px;}
.lw-modal-foot{display:flex;gap:10px;padding:0 24px 20px;}
.lw-modal-foot button{flex:1;padding:11px;border:none;border-radius:12px;font-size:.82rem;font-weight:700;cursor:pointer;transition:.2s;}
.lw-mbtn-cancel{background:#f1f5f9;color:#475569;}
.lw-mbtn-cancel:hover{background:#e2e8f0;}
.lw-mbtn-submit{background:linear-gradient(135deg,#ef4444,#f87171);color:#fff;}
.lw-mbtn-submit:hover{filter:brightness(1.08);}
.lw-req-sent .lw-mbtn-close{margin-top:18px;padding:11px 22px;border:none;border-radius:12px;background:linear-gradient(135deg,#6366f1,#7c3aed);color:#fff;font-size:.82rem;font-weight:800;cursor:pointer;transition:.2s;display:inline-flex;align-items:center;justify-content:center;gap:7px;box-shadow:0 5px 16px rgba(99,102,241,.28);}
.lw-req-sent .lw-mbtn-close:hover{box-shadow:0 7px 22px rgba(99,102,241,.4);transform:translateY(-1px);}
.lw-req-sent .lw-mbtn-close:focus-visible{outline:3px solid rgba(99,102,241,.4);outline-offset:2px;}
.lw-reset-err{margin-bottom:14px;}
.lw-req-sent{display:none;text-align:center;padding:28px 24px;}
.lw-req-sent .big-icon{width:60px;height:60px;border-radius:18px;background:linear-gradient(135deg,#10b981,#34d399);display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:1.6rem;margin-bottom:14px;}
.lw-req-sent h5{font-family:'Outfit',sans-serif;font-weight:800;color:#0f172a;margin:0 0 6px;}
.lw-req-sent p{font-size:.8rem;color:#64748b;line-height:1.55;}
@media(max-width:576px){
.lw-modal-bg{padding:12px;align-items:center;}
.lw-modal{width:calc(100% - 24px);max-width:100%;max-height:90dvh;display:flex;flex-direction:column;}
.lw-modal-head{padding:16px 18px 12px;flex-shrink:0;}
.lw-modal-head .ic{width:38px;height:38px;border-radius:12px;font-size:1.05rem;}
.lw-modal-body{padding:16px 18px;overflow-y:auto;-webkit-overflow-scrolling:touch;flex:1 1 auto;min-height:0;}
.lw-modal-foot{padding:12px 18px 16px;border-top:1px solid #e2e8f0;background:#fff;flex-shrink:0;}
.lw-modal-foot button{min-height:44px;}
}
@media(max-width:576px){.lw-modal{width:96%;}.lw-tools{display:none!important;}}
