* { box-sizing: border-box; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f2f4f8;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.wrapper {
  width: 100%;
  max-width: 560px;
  margin-top: 50px;
  padding: 0 20px;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

h1, h2 {
  margin: 0 0 6px;
  color: #1c1c1c;
}

h1 { font-size: 22px; }
h2 { font-size: 18px; }

p.subtitle {
  margin: 0 0 20px;
  font-size: 13.5px;
  color: #666;
}

label {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
  font-weight: 600;
}

input[type="text"], input[type="password"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d5d9e2;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 14px;
  outline: none;
}

input:focus { border-color: #2f5df5; }

button, .btn {
  width: 100%;
  padding: 12px;
  background: #2f5df5;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}

button:hover, .btn:hover { background: #244bd1; }

.btn-secondary {
  background: transparent;
  color: #555;
  border: 1px solid #d5d9e2;
  margin-top: 10px;
}
.btn-secondary:hover { background: #f2f4f8; }

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 13.5px;
}

th, td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid #eceef2;
}

th {
  color: #666;
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
}

td.mono {
  font-family: 'Consolas', monospace;
  font-weight: 600;
  color: #1c1c1c;
}

.flash {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  margin-bottom: 16px;
}

.flash.success {
  background: #e7f8ec;
  color: #1f7a3d;
  border: 1px solid #b9e6c4;
}

.flash.error {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f0c2bc;
}

.nav-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.nav-tabs a {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  background: #e2e6ee;
  color: #333;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.nav-tabs a.active {
  background: #2f5df5;
  color: #fff;
}

.empty-note {
  font-size: 13.5px;
  color: #888;
  padding: 10px 0;
}
