/* AlphaChecker Monitor – App UI (scoped) */
.acm-app *{ box-sizing:border-box; }
.acm-app{ color:rgba(255,255,255,.92); }

.acm-app a{ color:inherit; text-decoration:none; }
.acm-app .app-shell{ display:grid; grid-template-columns:280px 1fr; gap:18px; align-items:start; }
@media (max-width: 980px){ .acm-app .app-shell{ grid-template-columns:1fr; } }

.acm-app .card{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
}
.acm-app .pad{ padding:18px; }
.acm-app .main{ padding:22px; }
.acm-app .sidebar{ position:sticky; top:92px; }
@media (max-width: 980px){ .acm-app .sidebar{ position:relative; top:auto; } }

.acm-app .h1{ font-size:28px; font-weight:950; letter-spacing:-.6px; margin:0 0 6px; }
.acm-app .sec-title{ font-size:18px; font-weight:900; margin:0 0 6px; }
.acm-app .sub{ margin:0 0 14px; color:rgba(255,255,255,.70); }
.acm-app .small{ font-size:13px; color:rgba(255,255,255,.72); }
.acm-app .hr{ height:1px; background:rgba(255,255,255,.10); margin:14px 0; }
.acm-app .spacer{ height:12px; }

.acm-app .nav a{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 12px; border-radius:14px;
  color:rgba(255,255,255,.80);
}
.acm-app .nav a:hover{ background:rgba(255,255,255,.06); }
.acm-app .nav a.active{
  background: rgba(124,92,255,.18);
  box-shadow: 0 0 0 1px rgba(124,92,255,.28) inset;
  color: rgba(255,255,255,.95);
}

.acm-app label{ display:block; margin:0 0 6px; font-weight:800; color:rgba(255,255,255,.82); }
.acm-app input[type="text"], .acm-app input[type="url"], .acm-app select, .acm-app textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  outline:none;
}
.acm-app input:focus, .acm-app select:focus, .acm-app textarea:focus{
  border-color: rgba(124,92,255,.55);
  box-shadow: 0 0 0 4px rgba(124,92,255,.18);
}

.acm-app .btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border-radius:14px; padding:12px 16px;
  font-weight:850; color:#fff;
  background: linear-gradient(135deg, #7C5CFF, rgba(124,92,255,.62));
  box-shadow: 0 16px 44px rgba(124,92,255,.22);
  border:0; cursor:pointer;
}
.acm-app .btn:hover{ transform: translateY(-1px); box-shadow: 0 20px 70px rgba(124,92,255,.28); }
.acm-app .btn.secondary{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:none;
  color:rgba(255,255,255,.92);
}
.acm-app .btn.danger{
  background: rgba(255,73,100,.22);
  border:1px solid rgba(255,73,100,.35);
  box-shadow:none;
}

.acm-app .notice{
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.78);
}
.acm-app .notice.ok{
  border-color: rgba(45,212,191,.35);
  background: rgba(45,212,191,.10);
}
.acm-app .notice.bad{
  border-color: rgba(255,73,100,.35);
  background: rgba(255,73,100,.10);
}

.acm-app .grid2{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width: 980px){ .acm-app .grid2{ grid-template-columns:1fr; } }

.acm-app table{
  width:100%;
  border-collapse: collapse;
  border-radius:16px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12);
}
.acm-app th{
  text-align:left;
  font-weight:950;
  color:rgba(255,255,255,.75);
  background: rgba(255,255,255,.06);
  padding:12px;
}
.acm-app td{
  padding:12px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  vertical-align: top;
}
.acm-app tr:hover td{ background: rgba(255,255,255,.03); }

.acm-app .pill{
  display:inline-flex;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  font-size:12px;
  color: rgba(255,255,255,.75);
}


/* Form fields */
.acm-app .input{
  width:100%;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  padding:10px 12px;
  color: rgba(255,255,255,.90);
  outline:none;
}
.acm-app .input:focus{
  border-color: rgba(255,255,255,.28);
}
.acm-app select.input{ cursor:pointer; }


/* Tables */
.acm-app .tablewrap{ overflow:auto; }
.acm-app .table{
  width:100%;
  border-collapse: collapse;
}
.acm-app .table th{
  text-align:left;
  font-weight:600;
  font-size:12px;
  color: rgba(255,255,255,.65);
  padding:10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.acm-app .table td{
  padding:12px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  vertical-align: top;
}
.acm-app .table tr:hover td{ background: rgba(255,255,255,.03); }


.acm-app .pill.ok{ border-color: rgba(34,197,94,.35); color: rgba(34,197,94,.95); background: rgba(34,197,94,.12); }
.acm-app .pill.bad{ border-color: rgba(239,68,68,.35); color: rgba(239,68,68,.95); background: rgba(239,68,68,.12); }
