*,
*::before,
*::after {
    box-sizing: border-box;
}

h2, .fejl_besked, .modtaget_mail {
    text-align: center;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.login-container {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 300px;
}

.center {   
    text-align: center;
}

 .logo {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

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

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 14px;
    font-weight: normal;
}

input, text[type="email"]{
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}


body{
    font-family: Arial, sans-serif;
    padding: 20px;
}

.kode-container {
    position: relative;
    width: 100%;
    height: 44px;
}

.kode-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0; 
    letter-spacing: 42px; 
    font-size: 30px;
    cursor: pointer;
    z-index: 2;
}

.kode-bokse {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.boks {
    height: 50px;
    border: 2px solid #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    background: white;
    color: #333;
    pointer-events: none; 
    transition: border-color 0.2s;
}

.kode-input:focus + .kode-bokse .boks {
    border-color: #3b82f6;
}

.kode-bokse {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.boks {
    width: 40px;
    height: 40px;
    border: 2px solid #888;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.kode-feedback {
    text-align: center;
    margin-top: 12px;
    color: #d32f2f;
    font-weight: bold;
    min-height: 24px;
}

.form-group p {
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
    font-weight: normal;
}

.welcome-page {
    background:
        linear-gradient(135deg, rgba(0, 122, 95, 0.10), rgba(0, 84, 166, 0.08)),
        #f6f8fb;
    color: #17212b;
    padding: 28px;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.welcome-shell {
    width: min(920px, 100%);
    min-height: 540px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
    align-items: stretch;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfe7ee;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(23, 33, 43, 0.14);
}

.welcome-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 58px;
}

.welcome-logo {
    width: 210px;
    height: auto;
    margin-bottom: 46px;
}

.welcome-kicker {
    margin: 0 0 10px;
    color: #007a5f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.welcome-content h1 {
    margin: 0;
    max-width: 520px;
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: 0;
}

.welcome-text {
    max-width: 500px;
    margin: 18px 0 34px;
    color: #55616d;
    font-size: 17px;
    line-height: 1.6;
}

.welcome-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 46px;
    padding: 0 22px;
    color: #ffffff;
    background: #0054a6;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.welcome-action:hover {
    background: #003f7d;
}

.welcome-status {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    min-width: 0;
    padding: 42px;
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28)),
        #007a5f;
}

.status-mark {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    background: #ffffff;
    color: #007a5f;
    border-radius: 50%;
    font-size: 42px;
    font-weight: 700;
}

.welcome-status p {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
}

.welcome-status span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
}

@media (max-width: 760px) {
    .welcome-page {
        align-items: flex-start;
        padding: 18px;
    }

    .welcome-shell {
        min-height: auto;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .welcome-content {
        padding: 34px 26px;
    }

    .welcome-logo {
        width: 170px;
        margin-bottom: 34px;
    }

    .welcome-content h1 {
        font-size: 32px;
    }

    .welcome-text {
        font-size: 16px;
    }

    .welcome-action {
        width: 100%;
    }

    .welcome-status {
        min-height: 190px;
        padding: 28px 26px;
    }
}
