*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Dinpro, helvetica, arial, sans-serif;
    background-color: #013d7a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ===== CARD ===== */
.login-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.login-card {
    background-color: #ffffff;
    border-radius: 4px;
    padding: 50px 60px 60px;
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* ===== LOGO ===== */
.login-logo {
    display: block;
    line-height: 0;
    margin-bottom: 28px;
    text-decoration: none;
}

/* ===== TEKST ===== */
.login-heading {
    font-size: 36px;
    font-weight: bold;
    color: #101820;
    margin-bottom: 12px;
    text-align: center;
}

.login-subheading {
    font-size: 16px;
    color: #101820;
    margin-bottom: 24px;
    text-align: center;
}

/* ===== FORMULAR ===== */
.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-field input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #d0d3d4;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    color: #101820;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease;
}

.login-field input::placeholder {
    color: #8a9099;
}

.login-field input:focus {
    border-color: #013d7a;
}

/* ===== GLEMT ADGANGSKODE ===== */
.login-forgot {
    font-size: 14px;
    color: #2563b0;
    text-decoration: none;
    margin-top: 2px;
    margin-bottom: 6px;
}

.login-forgot:hover {
    text-decoration: underline;
}

/* ===== KNAP ===== */
.login-btn {
    width: 75%;
    align-self: center;
    padding: 16px;
    background-color: #2563b0;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 8px;
}

.login-btn:hover,
.login-btn:focus {
    background-color: #1a4f96;
    outline: none;
}

/* ===== BESKEDER ===== */
.error-message,
.success-message {
    font-size: 14px;
    border-radius: 4px;
    padding: 10px 14px;
    width: 100%;
    text-align: center;
    font-weight: 500;
}

.error-message {
    color: #7f1d1d;
    background-color: #fef2f2;
    border: 1px solid #fca5a5;
}

.success-message {
    color: #14532d;
    background-color: #f0fdf4;
    border: 1px solid #86efac;
}

/* ===== SKIFT SIDE LINK ===== */
.login-switch {
    text-align: center;
    font-size: 14px;
    color: #5f646b;
    margin-top: 4px;
}

.login-switch a {
    color: #2563b0;
    text-decoration: none;
}

.login-switch a:hover {
    text-decoration: underline;
}
