/* ===========================
        CORE CSS FOR SKOLOPID
=========================== */


@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  --bg: #2E3440;
  --panel: #3B4252;
  --panel-hover: #434C5E;

  --border: #434C5E;

  --text: #D8DEE9;
  --text-muted: #9AA5B5;

  --accent: #88C0D0;
  --accent-dark: #81A1C1;

  --success: #A3BE8C;
  --warning: #EBCB8B;
  --danger: #BF616A;

  --input: #242B36;

  --radius: 4px;
}


/* ===========================
        RESET
=========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html,
body {
  min-height: 100%;
}


body {
  background: var(--bg);
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
}


/* ===========================
        GLOBAL
=========================== */

button,
input,
textarea,
select {
  font-family: inherit;
}


button {
  cursor: pointer;
}


img {
  max-width: 100%;
}


a {
  color: inherit;
  text-decoration: none;
}


/* ===========================
        APP
=========================== */

#app {
  min-height: 100vh;
}


/* ===========================
        PANELS
=========================== */

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}


.panel-header {
  padding: 14px;
  border-bottom: 1px solid var(--border);
}


.panel-body {
  padding: 14px;
}


/* ===========================
        INPUTS
=========================== */

.input {
  width: 100%;
  padding: 12px;

  background: var(--input);
  color: var(--text);

  border: 1px solid var(--border);
  outline: none;

  border-radius: var(--radius);
}


.input:focus {
  border-color: var(--accent);
}


/* ===========================
        BUTTONS
=========================== */

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 16px;

  border: none;
  background: var(--accent);
  color: var(--bg);

  font-weight: bold;
  border-radius: var(--radius);

  transition: .15s;
}


.button:hover {
  filter: brightness(1.15);
}


.button-secondary {
  background: var(--accent-dark);
}


.button-danger {
  background: var(--danger);
}


/* ===========================
        FLEX HELPERS
=========================== */

.flex {
  display: flex;
}


.flex-column {
  flex-direction: column;
}


.center {
  justify-content: center;
  align-items: center;
}


.gap-sm {
  gap: 8px;
}


.gap-md {
  gap: 16px;
}


.gap-lg {
  gap: 24px;
}


/* ===========================
        FOOTER
=========================== */

.footer {
  color: var(--text-muted);
  font-size: 13px;
}