/* Reset & base */
:root{
  --bg:#5959b0;
  --panel:#ffffff;
  --muted:rgba(0,0,0,0.6);
  --accent:#00c2a8;
  --danger:#e25a5a;
  --glass:rgba(255,255,255,0.08);
  --radius:10px;
  --max-width:920px;
  --gap:16px;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: light;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:linear-gradient(180deg,var(--bg),#46469a 60%);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:40px 16px;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  color:#0b0b0b;
}

/* Main container */
.container{
  width:100%;
  max-width:var(--max-width);
  background:linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,255,0.95));
  border-radius:var(--radius);
  box-shadow:0 10px 30px rgba(12,12,40,0.35);
  padding:24px;
  backdrop-filter: blur(6px);
}

/* Header */
.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.header .title{
  font-size:18px;
  font-weight:600;
  color:#111;
}
.header .subtitle{
  color:var(--muted);
  font-size:13px;
}

/* Table styling */
.table-wrap{
  overflow:auto;
  margin:14px 0 22px;
  border-radius:8px;
  background:var(--glass);
  padding:8px;
}
table{
  width:100%;
  border-collapse:collapse;
  min-width:560px;
  background:transparent;
}
th, td{
  text-align:left;
  padding:10px 12px;
  font-size:14px;
  border-bottom:1px solid rgba(12,12,40,0.04);
}
th{
  font-size:13px;
  color:var(--muted);
  letter-spacing:0.02em;
  font-weight:600;
}
tbody tr:hover{
  background:linear-gradient(90deg, rgba(0,0,0,0.02), rgba(0,0,0,0.01));
}
td:first-child{width:72px}
td:nth-child(3){width:120px}

/* Inline action icons (edit/remove) */
a.action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:8px;
  text-decoration:none;
  color:#111;
  font-size:16px;
  transition:all .18s ease;
}
a.action:hover{transform:translateY(-2px); box-shadow:0 6px 18px rgba(9,14,31,0.08)}
a.remove{color:var(--danger); background:transparent}
a.edit{color:var(--accent); background:transparent}

/* Form layout */
form-wrap{
  overflow:auto;
  margin:14px 0 22px;
  border-radius:8px;
  background:var(--glass);
  background-color:green;
  padding:8px;
  opacity:0.6;
}
form{
  /*
  display:flex;
  gap:12px;
  align-items:flex-end;
  flex-wrap:wrap;
  margin-top:6px;
  width:100%;
  background:transparent;
  border-collapse:collapse;
  min-width:560px;
  */
}
label{display:block; font-size:13px; color:var(--muted); margin-bottom:6px}
.field{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:160px;
}
input[type="text"], input[type="number"]{
  border:1px solid rgba(12,12,40,0.08);
  background:lightblue;
  padding:10px 12px;
  border-radius:8px;
  font-size:14px;
  outline:none;
  transition:border-color .12s ease, box-shadow .12s ease;
}
input[type="text"]:focus, input[type="number"]:focus{
  border-color:var(--accent);
  box-shadow:0 6px 18px rgba(0,194,168,0.08);
}
input[type="password"], input[type="number"]{
  border:1px solid rgba(12,12,40,0.08);
  background:lightblue;
  padding:10px 12px;
  border-radius:8px;
  font-size:14px;
  outline:none;
  transition:border-color .12s ease, box-shadow .12s ease;
}
input[type="password"]:focus, input[type="number"]:focus{
  border-color:var(--accent);
  box-shadow:0 6px 18px rgba(0,194,168,0.08);
}
input[type="submit"]{
  background:linear-gradient(180deg,var(--accent),#00a88f);
  color:white;
  border:0;
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  box-shadow:0 8px 20px rgba(0,194,168,0.12);
  transition:transform .12s ease, box-shadow .12s ease, opacity .12s;
}
input[type="submit"]:hover{transform:translateY(-2px)}
input[type="submit"]:active{transform:translateY(0) scale(.995)}

/* Small utilities */
.note{font-size:13px; color:var(--muted); margin-top:8px}
.row{display:flex;gap:12px;align-items:center}
.right{margin-left:auto}

/* Responsive */
@media (max-width:720px){
  .container{padding:16px}
  table{min-width:0}
  form{flex-direction:column; align-items:stretch}
  .field{width:100%}
}

/* Optional: make page body HTML elements match these classes quickly */
body > *:first-child:not(.container){ /* if original page content exists without wrapper */ }
