html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body {
    font-family: monospace, Arial, sans-serif;
    background:
        radial-gradient(circle at 50% 10%, rgba(88, 97, 106, 0.1) 0%, rgba(88, 97, 106, 0) 30%),
        linear-gradient(to bottom, #22272d 0%, #171b20 44%, #101214 100%);
    color: #d8dde3;
}

/* Generelt */
a {
    text-decoration: none;
    color: #d8dde3;
}

h1 {
    margin: 0;
    font-size: 2.7rem;
    color: #e2e6ea;
    text-shadow: 0 0.12rem 0.28rem rgba(0, 0, 0, 0.28);
}

h2 {
    margin: 0 0 1.2rem 0;
    font-size: 1.8rem;
    color: #d4d9df;
    text-shadow: 0 0.1rem 0.24rem rgba(0, 0, 0, 0.24);
}
p, label {
    color: #bcc4cc;
}

.site-title:hover .gogo-part {
    text-shadow:
        0 0 0.55rem rgba(210, 220, 230, 0.14),
        0 0 1rem rgba(180, 190, 200, 0.08),
        0 0.12rem 0.28rem rgba(0, 0, 0, 0.28);
}

/* Topbjælke */
.TopHeader {
    width: 100%;
    min-height: 5.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgba(33, 38, 43, 0.96), rgba(20, 23, 27, 0.98));
    border-bottom: 0.06rem solid rgba(255, 255, 255, 0.05);
    box-shadow:
        0 0.7rem 1.8rem rgba(0, 0, 0, 0.24),
        inset 0 0.08rem 0.18rem rgba(255, 255, 255, 0.025);
    position: relative;
    z-index: 2;
}

.site-title {
    display: inline-flex;
    align-items: center;
    gap: 0.04em;
    letter-spacing: 0.01em;
    user-select: none;
}

.gogo-part {
    font-weight: 800;
    color: #eef2f5;
    transition:
        text-shadow 0.18s ease,
        color 0.18s ease,
        filter 0.18s ease,
        transform 0.18s ease;
    text-shadow:
        0 0 0.2rem rgba(255, 255, 255, 0.03),
        0 0.12rem 0.28rem rgba(0, 0, 0, 0.28);
}

.skole-part {
    font-weight: 500;
    color: #d2d8de;
    transition: color 0.18s ease;
}

/* Admin-knap øverst til højre */
.admin-button {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    z-index: 10;
    padding: 0.65rem 1.15rem;
    border-radius: 0.9rem;
    background: linear-gradient(to bottom, #4e555d, #3c4249);
    color: #eef2f5;
    font-family: monospace, Arial, sans-serif;
    font-size: 0.95rem;
    border: 0.06rem solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0.35rem 0.8rem rgba(0, 0, 0, 0.22);
    transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-button:hover {
    background: linear-gradient(to bottom, #636b74, #474f58);
    transform: translateY(-0.08rem);
    box-shadow: 0 0.8rem 1.5rem rgba(144, 151, 160, 0.18);
}

.admin-button:active {
    transform: translateY(0);
    box-shadow: 0 0.3rem 0.7rem rgba(0, 0, 0, 0.2);
}

/* Sektioner */
.download-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1rem 4rem 1rem;
    box-sizing: border-box;
}

/* Fælles card-stil */
.card-panel {
    width: min(52rem, 88vw);
    background: linear-gradient(to bottom, rgba(33, 37, 42, 0.95), rgba(21, 24, 28, 0.98));
    border-radius: 1.4rem;
    border: 0.06rem solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 1.1rem 2.4rem rgba(0, 0, 0, 0.32),
        inset 0 0.08rem 0.28rem rgba(255, 255, 255, 0.04);
    padding: 2rem;
    box-sizing: border-box;
}

/* Downloadliste */
.download-list {
    width: min(52rem, 88vw);
    background: linear-gradient(to bottom, rgba(28, 32, 37, 0.96), rgba(17, 20, 24, 0.99));
    border-radius: 1.4rem;
    border: 0.06rem solid rgba(255, 255, 255, 0.05);
    box-shadow:
        0 1.1rem 2.4rem rgba(0, 0, 0, 0.34),
        inset 0 0.08rem 0.22rem rgba(255, 255, 255, 0.025);
    padding: 1.6rem;
    box-sizing: border-box;
}

.download-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 0.85rem 0;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 0.05rem solid rgba(255, 255, 255, 0.025);
    box-sizing: border-box;
}

.download-text {
    margin: 0;
    color: #d6dbe0;
    word-break: break-word;
}

/* Knapper og links */
.download-link,
.action-button,
button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.15rem;
    border-radius: 0.95rem;
    background: linear-gradient(to bottom, #4e555d, #3c4249);
    color: #eef2f5;
    border: 0.06rem solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0.35rem 0.8rem rgba(0, 0, 0, 0.22);
    cursor: pointer;
    font-family: monospace, Arial, sans-serif;
    font-size: 0.95rem;
    transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.download-link:hover,
.action-button:hover,
button:hover {
    background: linear-gradient(to bottom, #636b74, #474f58);
    transform: translateY(-0.08rem);
    box-shadow: 0 0.8rem 1.5rem rgba(144, 151, 160, 0.18);
}

.download-link:active,
.action-button:active,
button:active {
    transform: translateY(0);
    box-shadow: 0 0.3rem 0.7rem rgba(0, 0, 0, 0.2);
}

/* Formularfelter */
input[type="password"],
input[type="file"] {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0.95rem;
    border: 0.06rem solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #e1e6ea;
    font-family: monospace, Arial, sans-serif;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input[type="password"]::placeholder {
    color: #a9b1b9;
}

input[type="password"]:focus,
input[type="file"]:focus {
    border-color: rgba(190, 198, 206, 0.35);
    box-shadow: 0 0 0 0.22rem rgba(180, 188, 196, 0.12);
    background: rgba(255, 255, 255, 0.055);
}

/* Login-side */
.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

.login-card {
    width: min(28rem, 92vw);
    background: linear-gradient(to bottom, rgba(33, 37, 42, 0.96), rgba(21, 24, 28, 0.99));
    border-radius: 1.5rem;
    border: 0.06rem solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 1.2rem 2.6rem rgba(0, 0, 0, 0.34),
        inset 0 0.08rem 0.28rem rgba(255, 255, 255, 0.04);
    padding: 2rem;
    box-sizing: border-box;
}

.login-card h1 {
    text-align: center;
    margin-bottom: 1.7rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Admin-side */
.admin-panel {
    width: min(56rem, 90vw);
    background: linear-gradient(to bottom, rgba(33, 37, 42, 0.95), rgba(21, 24, 28, 0.98));
    border-radius: 1.5rem;
    border: 0.06rem solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 1.2rem 2.6rem rgba(0, 0, 0, 0.34),
        inset 0 0.08rem 0.28rem rgba(255, 255, 255, 0.04);
    padding: 2rem;
    box-sizing: border-box;
}

.admin-panel h2 {
    margin-top: 0;
}

.form-block {
    margin-bottom: 2rem;
    padding: 1.2rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.025);
    border: 0.05rem solid rgba(255, 255, 255, 0.03);
}

#upload-message {
    margin-bottom: 1rem;
    color: #bfc7cf;
}

#admin-file-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

#admin-file-list > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.025);
    border: 0.05rem solid rgba(255, 255, 255, 0.03);
    color: #d6dbe0;
}

.info-card {
    width: min(52rem, 88vw);
    background: linear-gradient(to bottom, rgba(28, 32, 37, 0.96), rgba(17, 20, 24, 0.99));
    border-radius: 1.4rem;
    border: 0.06rem solid rgba(255, 255, 255, 0.05);
    box-shadow:
        0 1.1rem 2.4rem rgba(0, 0, 0, 0.34),
        inset 0 0.08rem 0.22rem rgba(255, 255, 255, 0.025);
    padding: 1.6rem;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

.info-card h2 {
    margin-bottom: 0.9rem;
}

.info-text {
    margin: 0 0 1rem 0;
    line-height: 1.7;
    color: #c8cfd6;
}

.contact-line {
    margin: 0;
    color: #b8c0c8;
}

.contact-placeholder {
    color: #dce2e7;
    opacity: 0.75;
}




/* Mobil */
@media (max-width: 700px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .TopHeader {
        min-height: 5rem;
        padding: 1rem 4.2rem 1rem 1rem;
        box-sizing: border-box;
        text-align: center;
    }

    .admin-button {
        top: 0.9rem;
        right: 0.9rem;
        padding: 0.55rem 0.85rem;
        font-size: 0.85rem;
    }

    .download-list,
    .card-panel,
    .admin-panel {
        width: 94vw;
        padding: 1.2rem;
    }

    .download-row,
    #admin-file-list > div {
        flex-direction: column;
        align-items: stretch;
    }

    .download-link,
    .action-button,
    button {
        width: 100%;
        box-sizing: border-box;
    }

    .login-card {
        width: 94vw;
        padding: 1.4rem;
    }

    .info-card {
    width: 94vw;
    padding: 1.2rem;
}
}