/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

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

/* ============================================
   eriklassen.eu — bold & energetic, mobile-first
   ============================================ */

:root {
    --bg: #ffffff;
    --surface: #f7f2f0;
    --text: #14171a;
    --muted: #75695f;
    --accent: #e8442b;
    --accent-dark: #c7371f;
    --onaccent: #ffffff;
    --border: #ead9d4;
    --navbg: #14171a;
    --navtext: #ffffff;
    --radius: 10px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    background-color: var(--bg);
}

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

a:hover {
    text-decoration: underline;
}

.main-wrapper {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- Header / nav ---------- */

header {
    background: var(--navbg);
}

header nav .main-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
}

.brand {
    color: var(--navtext);
    font-weight: 500;
    font-size: 18px;
    line-height: 56px;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--navtext);
    font-size: 22px;
    cursor: pointer;
    order: 3;
}

.nav-menu {
    display: none;
    width: 100%;
    order: 4;
    flex-direction: column;
    border-top: 0.5px solid rgba(255,255,255,0.15);
    margin-top: 8px;
    padding-top: 8px;
}

.nav-menu.open {
    display: flex;
}

header nav ul {
    display: flex;
    flex-direction: column;
    width: 100%;
}

header nav ul li {
    list-style: none;
    width: 100%;
}

header nav ul li a {
    display: block;
    width: 100%;
    padding: 12px 4px;
    font-size: 16px;
    color: var(--navtext);
    min-height: 44px;
    line-height: 20px;
}

header nav ul li a:hover {
    color: var(--accent);
    text-decoration: none;
}

.nav-login {
    width: 100%;
    padding-top: 8px;
    border-top: 0.5px solid rgba(255,255,255,0.15);
    margin-top: 8px;
}

.nav-login form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-login form input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 0.5px solid rgba(255,255,255,0.25);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.08);
    color: var(--navtext);
    font-size: 16px;
}

.nav-login form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.nav-login form button {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--onaccent);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.nav-login form button:hover {
    background: var(--accent-dark);
}

.nav-login > a {
    display: block;
    padding: 12px 4px;
    color: var(--navtext);
    font-size: 15px;
}

.nav-login > a:hover {
    color: var(--accent);
}

/* Desktop nav: collapse the hamburger, show inline */
@media (min-width: 760px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: auto;
        order: 2;
        border-top: none;
        margin-top: 0;
        padding-top: 0;
        gap: 8px;
    }

    header nav ul {
        flex-direction: row;
        width: auto;
    }

    header nav ul li {
        width: auto;
    }

    header nav ul li a {
        width: auto;
        padding: 8px 12px;
        min-height: auto;
    }

    .nav-login {
        width: auto;
        display: flex;
        align-items: center;
        gap: 10px;
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }

    .nav-login form {
        flex-direction: row;
        gap: 6px;
    }

    .nav-login form input {
        width: 150px;
    }

    .nav-login form button {
        width: auto;
        padding: 0 16px;
    }

    .nav-login > a {
        padding: 8px 4px;
    }
}

/* ---------- Page content ---------- */

.main-container {
    padding: 28px 0 40px;
}

.main-container h2 {
    font-size: 26px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 16px;
}

.main-container p {
    margin-bottom: 10px;
    color: var(--text);
}

.main-container ul {
    margin: 0 0 12px 20px;
}

.main-container li {
    list-style: disc;
    margin-bottom: 4px;
}

/* ---------- Buttons ---------- */

.btn,
.btn-default,
button,
input[type="submit"] {
    display: inline-block;
    min-height: 44px;
    padding: 0 20px;
    border: none;
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--onaccent);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.btn:hover,
.btn-default:hover,
button:hover,
input[type="submit"]:hover {
    background: var(--accent-dark);
}

/* ---------- Forms ---------- */

.form-group {
    margin-bottom: 16px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
}

select {
    background-color: var(--bg);
}

/* Signup page */
.signup-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding-top: 8px;
}

.signup-form input {
    margin-bottom: 10px;
    text-align: left;
}

.signup-form button {
    display: block;
    width: 100%;
}

/* ---------- Tables ---------- */

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
}

table.table,
table.table-bordered,
table.table-dark {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    white-space: nowrap;
}

table.table th,
table.table td,
table.table-bordered th,
table.table-bordered td,
table.table-dark th,
table.table-dark td {
    padding: 10px 12px;
    border: 0.5px solid var(--border);
    text-align: left;
}

table.table th,
table.table-bordered th,
table.table-dark th {
    background: var(--navbg);
    color: var(--navtext);
    font-weight: 500;
}

table.table tr:nth-child(even) td,
table.table-bordered tr:nth-child(even) td,
table.table-dark tr:nth-child(even) td {
    background: var(--surface);
}
