:root {
  --is-bg: #0b1220;
  --is-bg-elev: #121a2b;
  --is-bg-soft: #182235;
  --is-panel: #10192a;
  --is-border: #24324a;
  --is-text: #e8f0ff;
  --is-text-muted: #9eb0cc;
  --is-primary: #2aa7ff;
  --is-primary-hover: #1594ef;
  --is-accent: #67e8f9;
  --is-success: #22c55e;
  --is-danger: #ef4444;
  --is-warning: #f59e0b;
  --is-radius: 14px;
  --is-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

html, body {
  background: linear-gradient(180deg, #09111d 0%, var(--is-bg) 100%);
  color: var(--is-text);
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Main wrappers */
.container,
.wrap,
.content,
.main,
section,
.card,
.box,
.panel,
form {
  border-radius: var(--is-radius);
}

/* Panels / cards */
.card,
.box,
.panel,
.table-container,
form,
pre,
blockquote {
  background: rgba(18, 26, 43, 0.92);
  border: 1px solid var(--is-border);
  box-shadow: var(--is-shadow);
}

/* Text */
h1, h2, h3, h4, h5, h6,
label,
strong,
th {
  color: var(--is-text);
}

p,
small,
.help,
.muted,
td,
li,
span {
  color: var(--is-text-muted);
}

/* Links */
a {
  color: var(--is-accent);
}

a:hover {
  color: #a5f3fc;
}

/* Inputs */
input,
textarea,
select {
  background: #0d1727 !important;
  color: var(--is-text) !important;
  border: 1px solid var(--is-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

input::placeholder,
textarea::placeholder {
  color: #6f84a3 !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: var(--is-primary) !important;
  box-shadow: 0 0 0 3px rgba(42, 167, 255, 0.18) !important;
}

/* Buttons */
button,
.btn,
input[type="submit"],
input[type="button"],
.button {
  background: linear-gradient(180deg, var(--is-primary) 0%, var(--is-primary-hover) 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(21, 148, 239, 0.28);
}

button:hover,
.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Secondary / neutral buttons */
button.secondary,
.btn-secondary,
.button-secondary {
  background: var(--is-bg-soft) !important;
  color: var(--is-text) !important;
  border: 1px solid var(--is-border) !important;
  box-shadow: none !important;
}

/* Tables */
table {
  background: transparent;
  color: var(--is-text);
}

thead th {
  background: rgba(103, 232, 249, 0.06);
  color: var(--is-text);
  border-bottom: 1px solid var(--is-border);
}

tbody tr {
  border-bottom: 1px solid rgba(36, 50, 74, 0.8);
}

tbody tr:hover {
  background: rgba(42, 167, 255, 0.05);
}

/* Alerts / notices */
.success,
.alert-success,
.notice-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #bbf7d0;
}

.error,
.alert-danger,
.alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #fecaca;
}

.warning,
.alert-warning {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fde68a;
}

/* Badges / tags */
.badge,
.tag,
.label {
  background: rgba(42, 167, 255, 0.12);
  color: #cfe9ff;
  border: 1px solid rgba(42, 167, 255, 0.24);
  border-radius: 999px;
}

/* Horizontal rules */
hr {
  border: 0;
  border-top: 1px solid var(--is-border);
}

/* Selection */
::selection {
  background: rgba(103, 232, 249, 0.22);
  color: #fff;
}