/* customStyle.css – siderne uden menu: login, opretprofil, bekraeft og fejl.
   Brandflade til venstre og formular til højre. På mobil står brandfladen øverst (som i prototypen). */

/* mobil først: brand og formular under hinanden */
.split {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Brandflade: mørk flade mod den lyse formular (figur-grund) */
.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 24px 40px;
    background: var(--brand);
    color: var(--on-brand);
    text-align: center;
}

.brand img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.brand .wordmark {
    font-family: var(--font-body);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.28em;   /* meget luft mellem bogstaverne, så det ligner logoet */
    color: var(--on-brand);
}

.brand .tagline {
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--on-brand-muted);
}

.brand .privacy {
    margin-top: 32px;
    font-size: 13px;
    color: var(--on-brand-muted);
}

/* Formularflade */
.form-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}

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

.login-card h2 {
    font-size: 26px;
    text-align: center;
}

.login-card .subtitle {
    margin: 4px 0 8px;
    text-align: center;
    color: var(--muted);
}

/* "Har du ikke en profil?" med linket på linjen under */
.link-line {
    margin-top: 28px;
    text-align: center;
    color: var(--muted);
    font-size: 13.5px;
}

.link-line a {
    display: block;
    margin-top: 4px;
    font-size: 14px;
}

/* Desktop: side om side som i prototypen */
@media (min-width: 900px) {
    .split {
        flex-direction: row;
    }

    .brand {
        /* fast 43 %, så den ikke vokser eller krymper */
        flex: 0 0 43%;
        padding: 40px;
    }

    .brand img {
        width: 104px;
        height: 104px;
    }

    .brand .wordmark {
        font-size: 38px;
        letter-spacing: 0.3em;
    }

    .brand .tagline {
        font-size: 15px;
    }

    .brand .privacy {
        /* sidder fast i bunden af brandfladen (derfor position: relative på .brand) */
        position: absolute;
        bottom: 48px;
    }

    .brand {
        position: relative;
    }

    .form-area {
        flex: 1;
    }
}
