:root{
  --bg1:#03121f;
  --bg2:#062a4a;
  --card:rgba(255,255,255,0.08);
  --card2:rgba(255,255,255,0.10);
  --border:rgba(255,255,255,0.14);
  --text:#eaf3ff;
  --muted:#b9d4ff;
  --accent:#2da7ff;
  --accent2:#00d4ff;
  --good:#36d48c;
  --warn:#ffbe00;
  --bad:#ff4b4b;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(45,167,255,0.20), transparent 60%),
    radial-gradient(900px 500px at 80% 0%, rgba(0,212,255,0.14), transparent 55%),
    linear-gradient(180deg, var(--bg2), var(--bg1));
  min-height:100vh;
}

.wrap{
  max-width:1200px;
  margin:0 auto;
  padding:26px 18px 40px;
}

h1{
  margin:0 0 16px 0;
  font-size:34px;
  letter-spacing:0.3px;
}

h2{ margin: 0 0 10px; font-size: 16px; color: var(--muted); }

.card{
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--border);
  border-radius:16px;
  padding:16px;
  margin:12px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
}

.row{
  display:flex;
  gap:18px;
  justify-content:space-between;
  flex-wrap:wrap;
}

.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: var(--muted);
  font-size: 12px;
}

.form{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
  align-items:flex-end;
}

label{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:13px;
  color: var(--muted);
}

input, select{
  width: 180px;
  padding:10px 12px;
  border-radius:12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.22);
  color: var(--text);
  outline:none;
}

select{ width: 260px; }

input:focus, select:focus{
  border-color: rgba(45,167,255,0.6);
  box-shadow: 0 0 0 3px rgba(45,167,255,0.18);
}

button{
  padding:10px 14px;
  border-radius:12px;
  border: 1px solid rgba(45,167,255,0.45);
  background: linear-gradient(180deg, rgba(45,167,255,0.35), rgba(0,0,0,0.15));
  color: var(--text);
  cursor:pointer;
}

button:hover{
  border-color: rgba(0,212,255,0.55);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.16);
}

.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:14px;
  margin-top:12px;
}

.alert{ border-color: rgba(255,190,0,0.55); }
.error{ border-color: rgba(255,75,75,0.65); }
.ok{ border-color: rgba(54,212,140,0.55); }

table{
  width:100%;
  border-collapse: collapse;
  margin-top:10px;
  overflow:hidden;
  border-radius:14px;
}

th, td{
  padding:10px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  text-align:left;
  font-size:14px;
}

th{
  color:#d7ecff;
  background: rgba(45,167,255,0.10);
}

tr:hover td{
  background: rgba(255,255,255,0.04);
}

@media (max-width: 900px) {
  input { width: 160px; }
  select { width: 220px; }
}
