/* ========== BASE — exact replica of identitysts.aiautomatisering.nl ========== */

/* Phished full-screen image */
.phished-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phished-image {
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

html, body {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

html {
    background: url("images/assu1_background.svg") right bottom no-repeat,
                linear-gradient(90deg, #ffe7c4 0px, #ffffff 100%);
}

body {
    background: none 0% 0% / cover no-repeat;
    font-family: "Open Sans", Ubuntu, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    background-color: transparent !important;
    color: #212529;
    font-size: 16px;
    line-height: 1.5;
}

/* ========== CONTAINER / GRID (Bootstrap 4 subset) ========== */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
@media (min-width: 992px) {
    .px-lg-5 { padding-right: 3rem !important; padding-left: 3rem !important; }
}

/* ========== LOGIN PAGE ========== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== ACCOUNT CONTAINER ========== */
.account-container {
    margin: auto !important;
    max-width: 80vw !important;
    text-align: center;
}

.account-container > :nth-child(1) {
    overflow: hidden;
    padding-top: 20px;
    padding-left: 30px;
    padding-right: 30px;
}

.account-container > :nth-child(1) .instance-logo {
    background-color: #fff;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.2), 0 5px 5px 0 rgba(0,0,0,0.24);
    margin-bottom: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 20px;
}

.account-container > :nth-child(2) {
    overflow: hidden;
    padding-bottom: 20px;
    padding-left: 30px;
    padding-right: 30px;
}

.account-container > :nth-child(2) section {
    background-color: #fff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top: none;
    margin-top: -20px;
    margin-bottom: 20px;
}

.account-container section {
    background-color: #fff;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.2), 0 5px 5px 0 rgba(0,0,0,0.24);
    margin: 10px auto 0;
    padding: 10px;
}

.account-container .format {
    margin: 10px auto 0;
    padding: 30px;
}

/* ========== LOGO ========== */
.instance-logo {
    margin-top: 0;
    margin-bottom: 0;
    padding: 20px;
}
.instance-logo a {
    width: 100%;
    height: 100%;
    display: block;
}
.logo {
    background: url("images/assu1_logo2.svg") 0% 0% / contain no-repeat;
    height: 72px;
}

/* ========== FORM INPUTS ========== */
.account-container form input,
.account-container form .form-control {
    background: #f2f2f2;
    border: 0;
    border-bottom: 2px solid #e5e5e5;
    border-radius: .25rem;
    box-sizing: border-box;
    font-size: 14px;
    outline: 0;
    padding: 15px;
    text-align: center;
    width: 100%;
    display: block;
    color: #495057;
    line-height: 1.5;
    height: auto;
    box-shadow: none;
    transition: border-color 0.15s ease-in-out;
}


/* Inside the form section (2nd child), override to white bg */
.account-container > .row:nth-child(2) form input,
.account-container > .row:nth-child(2) form .form-control {
    background-color: #fff;
    border-bottom: 2px solid #e5e5e5;
    text-align: left;
}

.account-container form input:focus,
.account-container form .form-control:focus {
    border-color: #80bdff;
    box-shadow: none;
    outline: 0;
    background-color: #fff;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}


.account-container form .form-control:focus {
}

    .account-container form input:focus::-webkit-input-placeholder {
        color: transparent;
    }

    .account-container form ::-webkit-input-placeholder {
        text-align: center;
    }

    .account-container form input::placeholder {
        text-align: center;
        color: #999;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .account-container form .input-container {
        margin-bottom: 15px;
    }

    label {
        display: inline-block;
        margin-bottom: 0.5rem;
    }
    /* ========== INPUT ICONS (password toggle) ========== */
    .input-icons i {
        position: absolute;
    }

    .input-icons {
        width: 100%;
        margin-bottom: 30px;
        position: relative;
    }

    .icon {
        padding: 10px;
        min-width: 40px;
        opacity: 0.7;
    }

    .input-field {
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    ::-ms-reveal {
        display: none;
    }

    .toggle-password {
        margin-right: 40px;
        float: right;
        cursor: pointer;
        position: relative;
        z-index: 2;
    }
    /* ========== BUTTON ========== */
    .account-container button,
    .account-container a.btn {
        background: #ffa52d;
        border: 0;
        color: #fff;
        cursor: pointer;
        font-size: 14px;
        outline: 0;
        padding: 15px;
        text-transform: uppercase;
        transition: 0.3s;
        width: 100%;
    }

        .account-container button:active,
        .account-container button:focus,
        .account-container button:hover {
            background: #222;
        }

    .account-container > :nth-child(2) form button {
        width: 150px;
        padding: 10px;
        border-radius: 50px;
        box-shadow: 6px 8px 10px -5px rgba(0,0,0,0.33);
    }
    /* Spinner */
    .spinner {
        display: inline-block;
        width: 16px;
        height: 16px;
        border: 2px solid rgba(255,255,255,0.4);
        border-top-color: #fff;
        border-radius: 50%;
        animation: spin 0.7s linear infinite;
        vertical-align: middle;
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }
    /* ========== FORGOT PASSWORD ========== */
    .account-container form .wachtwoord-vergeten {
        margin-top: 25px;
        text-align: center;
    }

        .account-container form .wachtwoord-vergeten a {
            color: #7f7f7f;
            text-decoration: none;
        }

            .account-container form .wachtwoord-vergeten a:hover {
                color: #555;
            }
    /* ========== VALIDATION ========== */
    .account-container form .input-validation-error {
        border: 1px solid #ffa52d !important;
    }

    .account-container form .validation-summary-errors {
        margin-top: 15px;
    }

    .validation-summary-errors ul {
        padding: 0;
        list-style: none;
        text-align: center;
    }

        .validation-summary-errors ul li {
            display: inline-block;
            width: 100%;
        }

    .text-danger {
        color: #dc3545 !important;
    }

    .validation-message {
        color: #dc3545;
        font-size: 13px;
        text-align: center;
        margin-top: 4px;
    }
    /* ========== AWARENESS PAGE ========== */
    .awareness-container {
        text-align: center;
        animation: fadeInUp 0.6s ease-out;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .awareness-icon {
        font-size: 64px;
        margin-bottom: 8px;
    }

    .awareness-title {
        font-size: 24px;
        font-weight: 700;
        color: #333;
        margin: 0 0 8px;
    }

    .awareness-subtitle {
        font-size: 15px;
        color: #666;
        margin-bottom: 24px;
    }

    .awareness-card {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        text-align: left;
        padding: 16px;
        border-radius: 10px;
        margin-bottom: 14px;
    }

        .awareness-card h4 {
            margin: 0 0 6px;
            font-size: 15px;
            font-weight: 600;
        }

        .awareness-card p, .awareness-card ul {
            margin: 0;
            font-size: 13px;
            color: #555;
            line-height: 1.6;
        }

        .awareness-card ul {
            padding-left: 18px;
        }

    .awareness-card-icon {
        font-size: 28px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .awareness-card.info {
        background: #e3f2fd;
        border-left: 4px solid #2196f3;
    }

    .awareness-card.success {
        background: #e8f5e9;
        border-left: 4px solid #4caf50;
    }

    .awareness-card.warning {
        background: #fff8e1;
        border-left: 4px solid #ff9800;
    }

    .awareness-footer {
        margin-top: 20px;
        padding-top: 16px;
        border-top: 1px solid #eee;
    }

        .awareness-footer p {
            font-size: 13px;
            color: #888;
            margin: 0;
        }
    /* ========== EYE ICON (password toggle) ========== */
    .fa {
        display: inline-block;
        font-size: 16px;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        cursor: pointer;
        color: #888;
    }

        .fa.icon {
            padding: 10px;
            min-width: 40px;
            opacity: 0.7;
        }
    /* Use unicode symbols since we don't have the FontAwesome font file */
    .fa-eye:before {
        content: "\1F441";
        font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
    }

    .fa-eye-slash:before {
        content: "\1F441";
        font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
        opacity: 0.4;
    }
    /* Hide hidden inputs from styling */
    .account-container form input[type="hidden"] {
        display: none;
    }
    /* ========== FIELDSET & BLAZOR OVERRIDES ========== */
    fieldset {
        border: 0;
        padding: 0;
        margin: 0;
        min-width: 0;
    }
    /* Override Blazor validation outlines */
    .valid.modified:not([type=checkbox]) {
        outline: none !important;
    }

    .invalid {
        outline: none !important;
    }

    .modified {
        outline: none !important;
    }
    /* ========== ERROR UI ========== */
    .blazor-error-boundary {
        background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
        padding: 1rem 1rem 1rem 3.7rem;
        color: white;
    }

        .blazor-error-boundary::after {
            content: "An error has occurred."
        }

    #blazor-error-ui {
        display: none;
        position: fixed;
        bottom: 0;
        width: 100%;
        background: #b32121;
        color: white;
        padding: 0.6rem 1.25rem;
        z-index: 1000;
        text-align: center;
    }
    /* ========== RESPONSIVE ========== */
    @media (max-width: 768px) {
        .account-container {
            max-width: 95vw !important;
        }

            .account-container > :nth-child(1),
            .account-container > :nth-child(2) {
                padding-left: 10px;
                padding-right: 10px;
            }

        .awareness-card {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

            .awareness-card ul {
                text-align: left;
            }
    }