﻿/* ============================================================
   LOGIN PAGINA
   ============================================================ */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    overflow: hidden;
}


/* ============================================================
   HOOFDCONTAINER
   ============================================================ */

.login-page {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #061c35;
}


/* ============================================================
   ACHTERGROND
   ============================================================ */

.login-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.login-background-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


/* ============================================================
   LOGIN PANEL
   ============================================================ */

.login-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(360px, 30vw);
    z-index: 10;
}


/* ============================================================
   LOGIN PANEL INHOUD
   ============================================================ */

.login-panel-content {
    box-sizing: border-box;
    width: 100%;
    padding: 42px 42px 28px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(4px);
}


/* ============================================================
   TITEL
   ============================================================ */

.login-title {
    text-align: center;
    margin-bottom: 28px;
}

    .login-title h1 {
        margin: 0 0 10px;
        color: #0b3158;
        font-size: clamp(26px, 2.2vw, 36px);
        font-weight: 700;
        line-height: 1.1;
    }

    .login-title p {
        margin: 0;
        color: #5c6b7a;
        font-size: clamp(13px, 1vw, 16px);
        line-height: 1.45;
    }


/* ============================================================
   FORMULIER
   ============================================================ */

.login-form {
    width: 100%;
}


/* ============================================================
   VELDEN
   ============================================================ */

.login-field {
    position: relative;
    width: 100%;
    margin-bottom: 14px;
}

    .login-field input {
        box-sizing: border-box;
        width: 100%;
        height: 44px;
        padding: 0 14px 0 40px;
        border: 1px solid #d5dce3;
        border-radius: 7px;
        background: #ffffff;
        color: #172b3f;
        font-family: inherit;
        font-size: 14px;
        outline: none;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .login-field input::placeholder {
            color: #9aa6b2;
        }

        .login-field input:focus {
            border-color: #1976d2;
            box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.12);
        }


/* ============================================================
   ICOON
   ============================================================ */

.login-field-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    line-height: 1;
    z-index: 2;
    pointer-events: none;
}


/* ============================================================
   FOUTMELDING
   ============================================================ */

.login-error {
    box-sizing: border-box;
    width: 100%;
    margin: 4px 0 14px;
    padding: 8px 10px;
    border-radius: 6px;
    background: #fff1f1;
    border: 1px solid #efb2b2;
    color: #b3261e;
    text-align: center;
    font-size: 12px;
}


/* ============================================================
   LOGIN KNOP
   ============================================================ */

.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    margin-top: 6px;
    border: none;
    border-radius: 7px;
    background: #1976d2;
    color: white;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

    .login-button:hover {
        background: #1565c0;
        box-shadow: 0 5px 12px rgba(25, 118, 210, 0.25);
    }

    .login-button:active {
        transform: translateY(1px);
    }

.login-button-arrow {
    font-size: 18px;
    line-height: 1;
}


/* ============================================================
   ONDERSTE TEKST
   ============================================================ */

.login-footer {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid rgba(100, 120, 140, 0.25);
    text-align: center;
    color: #6d7c8b;
    font-size: 11px;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1024px) {

    .login-panel {
        width: min(350px, 42vw);
    }

    .login-panel-content {
        padding: 36px 34px 25px;
    }
}


/* ============================================================
   TELEFOON
   ============================================================ */

@media (max-width: 600px) {

    .login-panel {
        width: calc(100vw - 40px);
        max-width: 360px;
    }

    .login-panel-content {
        padding: 30px 26px 23px;
        border-radius: 16px;
    }

    .login-title {
        margin-bottom: 22px;
    }

        .login-title h1 {
            font-size: 27px;
        }

        .login-title p {
            font-size: 13px;
        }

    .login-field input {
        height: 43px;
        font-size: 14px;
    }

    .login-button {
        height: 44px;
    }
}


/* ============================================================
   KLEINE TELEFOONS
   ============================================================ */

@media (max-width: 380px) {

    .login-panel {
        width: calc(100vw - 28px);
    }

    .login-panel-content {
        padding: 25px 20px 20px;
    }

    .login-title h1 {
        font-size: 25px;
    }

    .login-title p {
        font-size: 12px;
    }
}
