:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --border: #1e1e2a;
  --accent: #c8a96e;
  --accent2: #e8c98e;
  --text: #e8e8f0;
  --muted: #7a7a90;
}

html, body {
  background: var(--bg) !important;
  min-height: 100%;
}

body {
  min-height: 100vh;
}

#maincontent {
    min-height: calc(100vh - 190px);
}

#maincontent {
  max-width: 1500px;
  margin-right: auto;
  margin-left: auto;
}

#wrapper {
  min-height: 100vh;
}

#footer {
  bottom: 0;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ── TYPOGRAFI ── */
h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 32px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #c8a96e 0%, #e8c98e 50%, #fff8e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  word-break: break-word;
  hyphens: auto;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--accent);
  word-break: break-word;
  hyphens: auto;
}

h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--accent);
  word-break: break-word;
  hyphens: auto;
}

h4 {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--accent);
}

h5 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 16px;
  margin-bottom: 8px;
  color: var(--accent);
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 16px;
  margin-bottom: 8px;
  color: var(--accent);
}

p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent2);
}

/* -----------------------------------
      TABLE
-------------------------------------- */
table tr {
    border-bottom: 1px solid #2b2d3e;
}

table hr,
table td {
    border-top: none;
}
table {
    box-shadow: 0 0 10px 4px rgb(63 64 78 / 20%);
}

/* ── KNAPPAR ── */
button,
.btn,
input[type="submit"],
input[type="button"] {
  background: var(--accent);
  color: #0a0a0f;
  border: none;
  padding: 14px 32px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

button:hover,
.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: var(--accent2);
  color: #0a0a0f;
  transform: translateY(-2px);
  box-shadow: 0 8px 48px rgba(200,169,110,0.4);
}

/* ── FORMULÄR ── */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
select,
textarea {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 32px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  border-radius: 4px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  background: var(--surface);
  color: var(--text);
  border-color: var(--accent);
}

.list-group-item {
    color: var(--muted) !important;
}


/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #222; border-radius: 3px; }

/* ---------------------------------------------
                  loginform
--------------------------------------------- */
.view-remind #maincontent,
.view-reset #maincontent,
.loginform #maincontent {
max-width: 400px;
    margin-right: auto;
    margin-left: auto;
}
/* ----------------------------------------- */

.nav-header {
    color: var(--accent);
    transition: color 0.2s;
}
