* { box-sizing: border-box; }
body {
  font-family: -apple-system, Segoe UI, Roboto, sans-serif;
  background: #f7f8fa;
  color: #1a1a1a;
  margin: 0;
  padding: 24px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
h1 { font-size: 20px; margin: 0; }
h2 { font-size: 16px; margin: 24px 0 8px; }
.link { margin-left: 12px; color: #444; }
button {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
  margin-left: 8px;
}
.cards { display: flex; gap: 12px; margin-bottom: 16px; }
.card {
  background: white;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  min-width: 160px;
}
.card .label { font-size: 12px; color: #777; }
.card .value { font-size: 20px; font-weight: 600; margin-top: 4px; }

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
th, td { padding: 8px 10px; text-align: left; font-size: 13px; border-bottom: 1px solid #eee; }
th { background: #fafafa; color: #555; }

.status-critical { background: #fdecea; }
.status-warning { background: #fff8e1; }
.status-ok { background: white; }
.status-unknown { background: #f0f0f0; }

.alert { padding: 10px 14px; border-radius: 6px; margin-bottom: 8px; font-size: 14px; }
.alert-critical { background: #fdecea; border-left: 4px solid #d32f2f; }
.alert-warning { background: #fff8e1; border-left: 4px solid #f57c00; }
.alert-info { background: #e3f2fd; border-left: 4px solid #1976d2; }

.pnl-positive { color: #2e7d32; font-weight: 600; }
.pnl-negative { color: #c62828; font-weight: 600; }

.muted { color: #888; }
.error { color: #d32f2f; background: #fdecea; padding: 10px; border-radius: 6px; }

.login-box {
  max-width: 480px;
  margin: 80px auto;
  text-align: center;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}
.btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background: #ff5722;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}
.btn-paytm { background: #00b9f1; }
