* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;

    background:
        radial-gradient(circle at top, #12345a 0%, #071525 45%, #030912 100%);

    color: #eaf4ff;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    padding: 20px;
}

.login-box {
    width: 100%;
    max-width: 400px;

    margin: auto;

    background: #091a2d;

    border: 1px solid #1d4269;
    border-radius: 10px;

    padding: 40px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5);
}

.logo {
    text-align: center;

    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;

    color: #7ec8ff;

    margin-bottom: 8px;
}

.subtitle {
    text-align: center;

    color: #7894ad;

    font-size: 13px;

    margin-top: 0;
    margin-bottom: 30px;
}

label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;
    color: #a9c5dd;
}

input {
    width: 100%;

    padding: 12px 14px;

    margin-bottom: 20px;

    border-radius: 5px;
    border: 1px solid #294d70;

    background: #061321;

    color: white;

    font-size: 16px;

    outline: none;
}

input:focus {
    border-color: #69bfff;
}

button {
    width: 100%;

    padding: 13px;

    border: 0;
    border-radius: 5px;

    background: #1674b8;

    color: white;

    font-weight: bold;
    letter-spacing: 1px;

    cursor: pointer;
}

button:hover {
    background: #218bd5;
}

.error {
    background: #3b1720;

    border: 1px solid #7c2e3e;

    color: #ffb7c4;

    padding: 12px;

    margin-bottom: 20px;

    border-radius: 5px;

    font-size: 14px;
}

/* voor de help */
/* =========================
   CTF HELP PAGE
   ========================= */

.help-container {
    width: 100%;
    max-width: 760px;

    margin: 60px auto;
    padding: 20px;
}

.help-header {
    margin-bottom: 40px;
}

.terminal-label {
    margin: 0 0 8px;

    color: #4fa8e6;

    font-family: Consolas, monospace;
    font-size: 12px;
    letter-spacing: 2px;
}

.help-header h1 {
    margin: 0 0 12px;

    color: #eaf4ff;

    font-size: 32px;
    letter-spacing: 2px;
}

.help-header p {
    max-width: 600px;

    color: #91abc1;
    line-height: 1.6;
}

.back-link {
    display: inline-block;

    margin-top: 15px;

    color: #7ec8ff;

    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    color: white;
}


/* FLAG SECTION */

.flag-section {
    margin-bottom: 45px;

    padding: 28px;

    background: #071727;

    border: 1px solid #173a5a;
    border-radius: 10px;
}

.flag-title {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-bottom: 22px;
}

.flag-title > span {
    display: flex;

    width: 48px;
    height: 48px;

    align-items: center;
    justify-content: center;

    border: 1px solid #3277a8;
    border-radius: 6px;

    color: #7ec8ff;

    font-family: Consolas, monospace;
    font-weight: bold;
}

.flag-title h2 {
    margin: 0;

    color: #eaf4ff;
}

.flag-title p {
    margin: 4px 0 0;

    color: #7894ad;
}


/* COLLAPSIBLE HINT */

details {
    margin-top: 10px;

    background: #04111e;

    border: 1px solid #183956;
    border-radius: 6px;

    overflow: hidden;
}

summary {
    padding: 15px 18px;

    cursor: pointer;

    color: #b8d8ee;

    font-weight: bold;

    user-select: none;
}

summary:hover {
    background: #0b2135;
}

details[open] summary {
    border-bottom: 1px solid #183956;

    background: #0b2135;

    color: #7ec8ff;
}

.hint-content {
    padding: 18px;

    color: #aac1d3;

    line-height: 1.6;
}

.hint-content code {
    padding: 3px 7px;

    background: #020a11;

    border: 1px solid #214865;
    border-radius: 4px;

    color: #80d6ff;

    font-family: Consolas, monospace;
}


/* LAST / SPOILER HINT */

.danger-hint {
    border-color: #704348;
}

.danger-hint summary {
    color: #e7a5aa;
}

.danger-hint[open] summary {
    background: #29151a;

    color: #ffbbc1;

    border-bottom-color: #704348;
}


/* END */

.mission-end {
    margin-top: 50px;

    padding: 25px;

    border-top: 1px solid #173a5a;

    text-align: center;
}

.mission-end h2 {
    color: #7ec8ff;

    letter-spacing: 2px;
}

.mission-end p {
    color: #91abc1;

    line-height: 1.6;
}

.help-link {
    position: absolute;
    top: 20px;
    right: 25px;

    padding: 9px 14px;

    color: #9ed7ff;
    background: #0a1d30;

    border: 1px solid #24577d;
    border-radius: 6px;

    text-decoration: none;

    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.help-link:hover {
    color: white;
    background: #123554;
    border-color: #3b82b5;
}
