/* Bảng trạng thái vòng lặp học — tab Phương pháp. */

.fx-learning-loop{display:block;margin:0 0 24px}
.fxll{border:1px solid rgba(148,163,184,.28);border-radius:14px;padding:18px 20px;background:rgba(15,23,42,.03)}
.fxll-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.fxll-head h2{margin:0;font-size:18px;font-weight:600}
.fxll-refresh{border:1px solid rgba(148,163,184,.5);background:transparent;border-radius:8px;padding:6px 14px;font-size:13px;cursor:pointer}
.fxll-refresh:hover{background:rgba(148,163,184,.14)}

.fxll-chain{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:0 0 20px}
.fxll-link{border-radius:10px;padding:11px 13px;border-left:3px solid transparent}
.fxll-link.is-ok{background:rgba(16,185,129,.10);border-left-color:#10b981}
.fxll-link.is-broken{background:rgba(239,68,68,.10);border-left-color:#ef4444}
.fxll-link__name{margin:0 0 4px;font-size:13px;font-weight:600}
.fxll-link__detail{margin:0;font-size:12.5px;opacity:.82;line-height:1.5}
.fxll-link__warn{margin:6px 0 0;font-size:12px;color:#b91c1c;line-height:1.45}

.fxll-block{margin:0 0 20px}
.fxll-block h3{margin:0 0 6px;font-size:15px;font-weight:600}
.fxll-note{margin:0 0 10px;font-size:12.5px;opacity:.78;line-height:1.6}

.fxll-gate{display:flex;align-items:center;gap:14px;padding:12px 16px;border-radius:10px}
.fxll-gate.is-locked{background:rgba(245,158,11,.12);border:1px solid rgba(245,158,11,.35)}
.fxll-gate.is-open{background:rgba(16,185,129,.12);border:1px solid rgba(16,185,129,.4)}
.fxll-gate__score{font-size:26px;font-weight:600;line-height:1;white-space:nowrap}
.fxll-gate__text{font-size:13px;line-height:1.55}

.fxll-table{width:100%;border-collapse:collapse;font-size:12.5px}
.fxll-table th,.fxll-table td{text-align:left;padding:7px 10px;border-bottom:1px solid rgba(148,163,184,.22)}
.fxll-table th{font-weight:600;opacity:.72;font-size:12px}
.fxll-fired{color:#b91c1c;font-weight:600}

.fxll-hyp.is-bac_bo td:last-child{color:#b91c1c}
.fxll-hyp.is-xac_nhan td:last-child{color:#047857}
.fxll-hyp.is-dang_do td:last-child{opacity:.7}

.fxll-foot{margin:0;font-size:12px;opacity:.7;line-height:1.6;padding-top:12px;border-top:1px solid rgba(148,163,184,.22)}
.fxll-error{margin:0;font-size:13px;color:#b91c1c}

@media (max-width:760px){
  .fxll{padding:14px}
  .fxll-chain{grid-template-columns:1fr}
  .fxll-gate{flex-direction:column;align-items:flex-start;gap:8px}
}
