/* --- Grundlayout --- */

body {
    margin: 0;
    padding: 0;
    background-color: #141414;
    color: #4f4f4f;
    font-family: Verdana, sans-serif;
    text-align: center;
}

/* Links */

a {
    text-decoration: none;
    color: #4f4f4f;
}

/* --- Logo / Toptekst --- */

.logo {
    font-size: 24px;
    margin-top: 30px;
}

.logo .dot {
    color: #ff0000;
    font-size: 24px;
}

/* --- Billede --- */

.hero img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* --- Tagline --- */

.tagline {
    margin-top: 10px;
    font-size: 14px;
    color: #666666;
}

/* --- Login-knap --- */

.login-knap {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #4f4f4f;
    color: #4f4f4f;
    font-family: Verdana, sans-serif;
    font-size: 14px;
    text-decoration: none;
    margin-top: 40px;
    transition: 0.2s ease;
}

.login-knap:hover {
    border-color: #ffffff;
    color: #ffffff;
}

/* --- Login-felt (justeret så det matcher knappen) --- */

.kodefelt {
    padding: 8px 20px; /* matcher knappen */
    font-size: 14px;
    margin-top: 20px;
    background-color: #1f1f1f;
    border: 1px solid #4f4f4f;
    color: #ffffff;
    text-align: center;
    height: 36px; /* samme højde som knappen */
    box-sizing: border-box;
}

/* --- Tilbage-knap --- */

.tilbage-knap {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #4f4f4f;
    color: #4f4f4f;
    font-size: 12px;
    margin-top: 30px;
    transition: 0.2s ease;
}

.tilbage-knap:hover {
    border-color: #ffffff;
    color: #ffffff;
}

/* --- Fejl-animation (ryst) --- */

.login-knap.fejl {
    border-color: #ff4444;
    color: #ff4444;
}

.ryst {
    animation: shake 0.4s;
}

@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-5px