﻿@import url('https://cdn.abf.nl/fonts/opensans/font.css');

body {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    letter-spacing: 0;
}

button, a {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

    button:hover, a:hover {
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -ms-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

/* --- Dialog --- */
.login-body {
    background-color: #f2f0f0;
    color: #2c2c2c;
}

.login-body #UserInfo {
    display: none;
}

.login-header {
    background-color: #0e486e;
    background-image: url("../img/logo_mosaic.png");
    background-position: left center;
    background-repeat: no-repeat;
    height: 55px;
    text-align: left;
    margin: 4px;
}

.popup {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(44,44,44,0.10);
    padding: 40px;
    width: 800px;
    max-width: 96%;
    min-width: 400px;
    margin: 60px auto 40px auto;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
}

    .popup.iniframe {
        top: 50px;
        transform: translate(-50%, 0);
    }

    .popup h1 {
        margin-top: 0;
        margin-bottom: 1.5rem;
        font-size: 2.25rem;
        font-weight: 600;
    }

    .popup h4 {
        margin: 6px 0 16px 0;
        font-weight: 700;
    }

/* --- Form Fields --- */
.login {
    width: 100%;
}

.login label {
    font-weight: 600;
}

.login-section {
    width: 100%;
    position: relative;
    margin-bottom: 18px;
}

.login-field {
    height: 44px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #666;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 0;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .login-field::placeholder {
        font-size: 14px;
        color: #2c2c2c;
    }

    .login-field:focus {
        border-color: #427bab;
        outline: none;
        box-shadow: 0 0 0 2px #b3d4fc;
    }

    .login-field[type="text"],
    .login-field[type="password"] {
        line-height: 18px;
        letter-spacing: 0;
    }

    .login-link,
    .login-link-wrapper a {
        cursor: pointer;
    }

.login-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

    .login-actions .login-link {
        white-space: nowrap;
    }

    .login-actions .login-button {
        width: auto;
        min-width: 250px;
        margin: 0;
    }

/* --- Password --- */
.password-section {
    position: relative;
}

    .password-section .login-field {
        padding-right: 40px;
    }

.show-password {
    position: absolute;
    right: 10px;
    top: 36px;
    display: none;
}

.show-password-link {
    font-size: 1rem;
    color: #767676;
    text-decoration: none;
    outline: none;
    border: none;
    background: none;
    transition: color 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

    .show-password-link:hover,
    .show-password-link:focus,
    .show-password-link.active,
    .show-password-link.active:focus,
    .show-password-link.active:hover {
        color: #427bab;
        text-decoration: none;
        outline: none;
    }

/* --- Button --- */
.login-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.login-button, .btn-primary {
    width: auto;
    min-height: 44px;
    background: #1e3842;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    margin: 16px 0 0 0;
    box-shadow: 0 2px 8px rgba(44,44,44,0.04);
    transition: background 0.2s, box-shadow 0.2s;
}

    .login-button:hover, .btn-primary:hover, .login-button:focus, .btn-primary:focus, .btn:focus {
        color: #fff;
        background: #294d5e;
        box-shadow: 0 4px 16px rgba(44,44,44,0.10);
    }

/* --- "Or" Separator --- */
.or-ad-login {
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    margin: 40px 0 40px 0;
    width: 100%;
    gap: 26px;
}

    .or-ad-login:before,
    .or-ad-login:after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #e2e0e0;
    }

/* --- Microsoft/ABF Buttons --- */
.ad-login {
    width: 100%;
    display: flex;
    gap: 12px;
    margin-top: 0;
}

.btn-ad-login,
.btn-abf-ad-login {
    width: auto;
    min-height: 44px;
    border-radius: 4px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(44,44,44,0.04);
    transition: background 0.2s, box-shadow 0.2s;
    margin: 0;
    padding: 0 12px;
}

.btn-ad-login {
    background: #1e3842;
    color: #fff;
}

    .btn-ad-login:hover {
        background: #294d5e;
        color: #fff
    }

/* --- AD Login Info --- */

.ad-login-info h4 {
    margin-top: 32px;
    font-weight: 700;
}

.ad-login-info p {
    line-height: 1.4;
    font-size: 1.1rem;
}

/* --- ABF Support Info --- */

.abf-support-separator {
    border: none;
    border-top: 1px solid #e2e0e0;
    margin: 32px 0 24px 0;
}

.abf-support-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    gap: 16px;
    padding: 0 8px;
    flex-wrap: wrap;
}

    .abf-support-links a {
        color: #222;
        text-decoration: underline;
        font-size: 1.05rem;
        transition: color 0.2s;
    }

        .abf-support-links a:hover {
            color: #294d5e;
            text-decoration: underline;
        }

/* --- Links --- */
.login-link {
    color: #1e3842;
    text-decoration: underline;
    font-size: 1rem;
}

    .login-link:hover {
        color: #294d5e;
    }

/* --- CL warning --- */

.cl_warning {
    background-color: black;
    color: white;
    position: absolute;
    padding: 6px;
    border-radius: 2px;
    font-size: 13px;
    margin-top: 3px;
    z-index: 10;
}

    .cl_warning.clh {
        display: none;
    }

    .cl_warning::after {
        bottom: 100%;
        left: 10px;
        border: solid transparent;
        border-top-color: transparent;
        border-top-width: medium;
        border-right-color: transparent;
        border-right-width: medium;
        border-bottom-color: transparent;
        border-bottom-width: medium;
        border-left-color: transparent;
        border-left-width: medium;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-color: rgba(213, 17, 174, 0);
        border-bottom-color: rgba(0, 0, 0, 1);
        border-bottom-color: black;
        border-width: 8px 7px 12px 7px;
    }

/* --- Error --- */

.error {
    font-size: 13px;
    color: #cf2d2d;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

/* --- Clear --- */

.clear {
    clear: both;
    height: 20px;
}

/* --- Request password --- */

.message {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 16px 20px;
    margin: 24px 0 0 0;
    text-align: center;
    background-color: #f8eaea;
    color: #2c2c2c;
    font-family: "Open Sans", sans-serif;
    font-size: 1.1rem;
    border-radius: 7px;
    box-shadow: 0 2px 8px rgba(44,44,44,0.04);
    border: 1px solid #e6e6e6;
    line-height: 1.5;
}

.request-password-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

/* --- Reset password --- */
.reset-password-btn:disabled,
.reset-password-btn[disabled] {
    background: #294d5e;
}

.flex-wrapper {
    display: flex;
    gap: 40px;
}

.left-side {
    border-right: 1px solid #e6e6e6;
    width: 60%;
    padding-right: 40px;
}

.right-side h2 {
    margin-bottom: 60px;
}

    .right-side ul {
        padding: 0;
        list-style: none;
    }

        .right-side ul li {
            margin-bottom: 4px;
        }

            .right-side ul li .fas {
                display: inline-block;
                width: 14px;
                margin-top: 2px;
                margin-right: 10px;
                text-align: left;
                font-size: 17px;
                vertical-align: top;
                font-weight: 400;
                text-align: center;
            }

                .right-side ul li .fas:after {
                    font-family: "Font Awesome 6 Pro";
                }

                .right-side ul li .fas:after {
                    content: "\f00d";
                    color: #b92c28;
                }

            .right-side ul li.suffice .fas:after {
                content: "\f00c";
                color: #57A701;
                font-size: 16px;
            }


/* --- Logout button --- */

.btn-logout {
    display: none;
}