* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: #40536f;
}


/* =========================================
   ACHTERGROND
   ========================================= */

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 35px 20px;

    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            rgba(255, 255, 255, 0.10),
            rgba(255, 255, 255, 0.10)
        ),
        url("../images/login-background.png")
        center center / cover
        no-repeat;
}


/*
 * Lichte donkere laag zodat het formulier
 * leesbaar blijft op verschillende foto's.
 */
.login-page::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(20, 40, 55, 0.08);

    pointer-events: none;
}


/* =========================================
   LOGIN KAART
   ========================================= */

.login-card {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 550px;

    padding: 50px 50px 55px;

    background: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.75);

    border-radius: 24px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.18);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* =========================================
   LOGO
   ========================================= */

.logo-container {
    display: flex;
    justify-content: center;

    margin-bottom: 38px;
}

.logo {
    display: block;

    width: auto;
    height: 300px;

    max-width: 100%;

    object-fit: contain;
}


/* =========================================
   FOUTMELDING
   ========================================= */

.login-error {
    margin-bottom: 20px;
    padding: 14px 16px;

    border-radius: 12px;

    background: #fff0f3;

    border: 1px solid #f4b4c4;

    color: #b51e45;

    font-size: 14px;
}


/* =========================================
   FORMULIER
   ========================================= */

.login-form {
    width: 100%;
}

.input-group {
    position: relative;

    display: flex;
    align-items: center;

    height: 64px;

    margin-bottom: 18px;

    background: #ffffff;

    border: 1px solid #d5dce7;

    border-radius: 10px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.input-group:focus-within {
    border-color: #e91e63;

    box-shadow:
        0 0 0 3px rgba(233, 30, 99, 0.10);
}


/* =========================================
   ICONEN
   ========================================= */

.input-icon {
    width: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.input-icon svg,
.password-toggle svg {
    width: 25px;
    height: 25px;

    fill: none;

    stroke: #697a96;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================
   INPUT
   ========================================= */

.input-group input {
    width: 100%;
    height: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    padding: 0 15px 0 0;

    font-size: 17px;

    color: #263b56;
}

.input-group input::placeholder {
    color: #7d8da6;
}


/* =========================================
   WACHTWOORD OOGJE
   ========================================= */

.password-toggle {
    width: 58px;
    height: 100%;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.password-toggle:hover svg {
    stroke: #e91e63;
}


/* =========================================
   INGELOGD BLIJVEN
   ========================================= */

.remember-row {
    display: inline-flex;
    align-items: center;

    position: relative;

    margin: 4px 0 27px;

    cursor: pointer;

    user-select: none;
}

.remember-row input {
    position: absolute;

    opacity: 0;

    width: 1px;
    height: 1px;
}

.custom-checkbox {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 12px;

    border: 2px solid #c8d0dc;

    border-radius: 5px;

    background: #ffffff;

    transition: 0.2s ease;
}

.remember-row input:checked + .custom-checkbox {
    border-color: #e91e63;

    background: #e91e63;
}

.remember-row input:checked + .custom-checkbox::after {
    content: "";

    width: 6px;
    height: 11px;

    border: solid #ffffff;

    border-width: 0 2px 2px 0;

    transform:
        translateY(-1px)
        rotate(45deg);
}

.remember-row input:focus-visible + .custom-checkbox {
    outline: 3px solid rgba(233, 30, 99, 0.20);
    outline-offset: 2px;
}

.remember-text {
    font-size: 16px;

    color: #526680;
}


/* =========================================
   LOGIN KNOP
   ========================================= */

.login-button {
    width: 100%;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    border: 0;
    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #ed174c,
            #e91e63
        );

    color: #ffffff;

    font-size: 18px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(233, 30, 99, 0.20);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.login-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 14px 30px rgba(233, 30, 99, 0.28);
}

.login-button:active {
    transform: translateY(0);
}

.login-button .arrow {
    position: absolute;

    right: 32%;

    font-size: 28px;
    font-weight: 300;

    line-height: 1;
}


/* =========================================
   SMARTPHONE
   ========================================= */

@media (max-width: 600px) {

    .login-page {
        padding: 20px 16px;
    }

    .login-card {
        max-width: 420px;

        padding:
            32px
            24px
            35px;

        border-radius: 20px;
    }

    .logo-container {
        margin-bottom: 28px;
    }

    .logo {
        height: 220px;
    }

    .input-group {
        height: 58px;

        margin-bottom: 14px;
    }

    .input-icon {
        width: 54px;
    }

    .input-group input {
        font-size: 16px;
    }

    .remember-row {
        margin-bottom: 22px;
    }

    .login-button {
        height: 58px;
    }

    .login-button .arrow {
        right: 25%;
    }
}


/* =========================================
   KLEINE SMARTPHONES
   ========================================= */

@media (max-height: 700px) {

    .login-card {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .logo {
        height: 160px;
    }

    .logo-container {
        margin-bottom: 20px;
    }
}

/* =========================================
   NIEUWE GEBRUIKER
   ========================================= */

.new-account {
    margin-top: 28px;
    text-align: center;
}

.new-account p {
    margin: 0 0 14px;

    color: #526680;
    font-size: 15px;
}

.new-user-button {
    width: 100%;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 10px;

    background: #168bd2;

    color: #ffffff;

    font-size: 17px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    box-shadow: 0 10px 25px rgba(22, 139, 210, 0.18);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.new-user-button:hover {
    background: #087dc2;

    transform: translateY(-1px);

    box-shadow: 0 14px 30px rgba(22, 139, 210, 0.25);
}

.new-user-button:active {
    transform: translateY(0);
}

/* =========================================
   LOGIN OPTIES
   ========================================= */

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin: 4px 0 27px;
}


/* Ingelogd blijven */

.login-options .remember-row {
    margin: 0;
}


/* Wachtwoord vergeten */

.forgot-password {
    color: #168bd2;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    white-space: nowrap;
}

.forgot-password:hover {
    text-decoration: underline;
}


/* Smartphone */

@media (max-width: 420px) {

    .login-options {
        gap: 10px;
    }

    .remember-text,
    .forgot-password {
        font-size: 13px;
    }
}

/* =========================================
   ACCOUNT ACTIVEREN
   ========================================= */

.activate-header {
    text-align: center;
    margin: -15px 0 28px;
}

.activate-header h1 {
    margin: 0 0 8px;

    color: #40536f;

    font-size: 25px;
    font-weight: 600;
}

.activate-header p {
    margin: 0;

    color: #6d7d94;

    font-size: 15px;
}


/* Melding */

.activation-message {
    margin-bottom: 20px;
    padding: 14px 16px;

    border-radius: 10px;

    background: #eef7fc;
    border: 1px solid #b8dff4;

    color: #2674a2;

    font-size: 14px;
    line-height: 1.5;
}


/* Blauwe verder-knop */

.new-user-submit {
    width: 100%;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border: 0;
    border-radius: 10px;

    background: #168bd2;

    color: #ffffff;

    font-size: 17px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(22, 139, 210, 0.18);

    transition:
        background 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.new-user-submit:hover {
    background: #087dc2;

    transform: translateY(-1px);

    box-shadow:
        0 14px 30px rgba(22, 139, 210, 0.25);
}


/* Terug */

.back-to-login {
    margin-top: 25px;

    text-align: center;
}

.back-to-login a {
    color: #697a96;

    font-size: 14px;

    text-decoration: none;
}

.back-to-login a:hover {
    color: #168bd2;
}

/* nieuwe gebruiker layout */

/* =========================
   Account activeren
   ========================= */

.activate-header {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 28px;
}

.activate-header h1 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.2;
    color: #3f5375;
}

.activate-header p {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    color: #71809a;
}

.login-card {
    padding-top: 28px;
    padding-bottom: 32px;
}

.login-form {
    width: 100%;
}

.login-form .input-group {
    margin-bottom: 16px;
}

.login-form .input-group input {
    width: 100%;
    height: 56px;
    min-height: 56px;
    padding: 0 18px;
    box-sizing: border-box;

    border: 1px solid #d7deea;
    border-radius: 14px;

    font-size: 17px;
    line-height: 56px;
    color: #31415f;
    background: #fff;

    outline: none;
}

.login-form .input-group input::placeholder {
    color: #8090aa;
    opacity: 1;
}

.login-form .input-group input:focus {
    border-color: #1797d4;
    box-shadow: 0 0 0 3px rgba(23, 151, 212, 0.10);
}

.login-form input[type="date"] {
    line-height: normal;
}

.new-user-submit {
    width: 100%;
    height: 58px;
    margin-top: 8px;

    border: 0;
    border-radius: 14px;

    font-size: 18px;
    font-weight: 700;

    cursor: pointer;
}

.back-to-login {
    margin-top: 22px;
    text-align: center;
}


/* Mobiel */
@media (max-width: 600px) {

    .login-page {
        padding: 0;
    }

    .login-card {
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
        padding: 22px 20px 30px;
    }

    .activate-header {
        margin-bottom: 22px;
    }

    .activate-header h1 {
        font-size: 28px;
    }

    .activate-header p {
        font-size: 16px;
    }

    .login-form .input-group input {
        height: 54px;
        min-height: 54px;
        font-size: 16px;
    }
}

.login-form .input-group {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.login-form .input-group input {
    border: 1px solid #d7deea !important;
    box-shadow: none;
}

.activate-header {
    margin-top: 0;
}

.login-card {
    padding-top: 20px;
}