﻿:root {
    --blue: #00307C;
    --blue-hero: #0070C0;
    --text: #414141;
    --muted: #F2F2F2;
    --white: #FFFFFF;
    --border: #B7B7B7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body, html {
    height: 100%;
}

body {
    background-image: url("/Content/Images/Klekoon (blanc).png"), url("/Content/Images/login-background.png");
    background-position: center 28px, center center;
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, fixed;
    background-size: 240px auto, cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    display: flex;
    opacity: 1;
    width: 1300px;
    height: 680px;
    display: flex;
}

.left-panel {
    flex: 0 0 50%;
    background: rgba(0, 55, 120, 0.92);
    padding: 50px 40px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    display: flex
}

    .left-panel h2 {
        font-size: 20px;
        margin-top: 6px;
        margin-bottom: 18px;
        font-weight: bold;
        font: bold 25px / 29px Arial, sans-serif;
        letter-spacing: 0;
        color: #ffffff;
    }

    .left-panel p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 10px;
        font: normal normal 400 20px/40px Arial, sans-serif;
        letter-spacing: 0px;
        color: #f2f2f2;
    }

    .left-panel a {
        color: #fff;
        text-decoration: underline;
    }



.pager {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

    .pager .dot {
        width: 22px;
        height: 22px;
        border-radius: 6px;
        border: 2px solid rgba(255,255,255,.85);
        background: transparent;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
    }

        .pager .dot.active {
            background: #fff;
            border-color: #fff;
            box-shadow: 0 2px 6px rgba(0,0,0,.25);
        }

.icon {
    margin-bottom: 20px;
}

    .icon img {
        width: 70px;
        height: auto;
    }


.left-panel .icon {
    margin-bottom: 20px;
    color: #fff;
}

    .left-panel .icon .fp-icon {
        display: block;
        width: 70px;
        height: 70px;
    }

.right-panel {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    opacity: 0.95;
    padding: 40px 0;
    position: relative;
}

.form-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    max-width: 520px;
    width: 100%;
    padding-top: 30px;
    text-align: center;
}

.form-title {
    font: 700 26px/30px Arial, sans-serif;
    color: var(--blue-hero);
    margin-bottom: 24px;
    margin-top: -20px;
}

.input-wrapper.has-leading-icon {
    position: relative;
}

.leading-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    fill: #888;
    pointer-events: none;
}

.email-input::placeholder {
    color: #A0A8C8;
}

.form-box h2 {
    font: normal normal bold 25px/29px Arial;
    color: var(--blue-hero);
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

    .form-group label {
        display: block;
        font: normal normal bold 18px / 21px Arial;
        color: var(--text);
        margin-bottom: 10px;
    }

    .form-group input {
        height: 57px;
        padding: 12px 14px;
        border: 1px solid var(--border);
        border-radius: 5px;
        font-size: 14px;
        width: 450px;
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }

input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.btn {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    font-size: 14px;
    background: #004080;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}

    .btn:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

#emailError {
    display: block;
    margin-top: 9px;
    font-size: 14px;
    color: #ef172c;
}

.help-link {
    margin-top: 8px;
    text-align: right;
}

    .help-link a {
        color: #0C78C4;
        text-decoration: underline;
        font-size: 14px;
    }

.links {
    margin-top: 40px;
    font-size: 13px;
    text-align: center;
}

    .links a {
        color: #004080;
        text-decoration: none;
    }

.btn-container {
    text-align: center;
}

.btn-compact {
    width: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 19px;
    background: #0070C0 0% 0% no-repeat padding-box;
    color: #fff;
    font-weight: 600;
    border: none;
    box-shadow: 0 6px 16px rgba(12,77,140,.25);
    cursor: pointer;
    font: normal normal bold 16px / 18px Arial;
}

    .btn-compact:hover {
        filter: brightness(1.05);
    }

    .btn-compact:active {
        transform: translateY(1px);
    }

.input-wrapper.has-leading-icon {
    position: relative;
}

.leading-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    pointer-events: none;
}

.email-input {
    padding-left: 44px !important;
}

    .email-input:focus + .leading-icon,
    .input-wrapper:has(.email-input:focus) .leading-icon {
        fill: #0C78C4;
    }

.help-link {
    margin-top: 8px;
    text-align: right;
}

    .help-link a {
        color: #0070C0;
        text-decoration: underline;
        font: normal normal normal 16px / 18px Arial;
    }

.links-bar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24px;
    width: 80%;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(0,0,0,.1);
    padding-top: 12px;
    font-size: 14px;
    color: #6F6F6F;
}

    .links-bar a {
        color: #0070C0;
        text-decoration: underline;
    }

    .links-bar .links-col {
        flex: 1;
        text-align: center;
    }

@media (max-width: 960px) {
    .links-bar {
        width: 88%;
    }
}

.footer {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font: normal normal normal 14px/18px Arial;
    color: #6F6F6F;
    text-align: left;
}

    .footer a {
        color: #0070C0;
        text-decoration: underline
    }

.input-wrapper {
    position: relative;
    width: 100%;
}

.modifier-link {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0070C0;
    text-decoration: underline;
    font-size: 15px;
    cursor: pointer;
}

.modifier-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    filter: invert(28%) sepia(93%) saturate(1687%) hue-rotate(192deg) brightness(95%) contrast(101%);
}

.modifier-link i {
    font-size: 0.85rem;
}

#Email.form-control {
    font-size: 16px !important;
}


.rules-tooltip {
    position: absolute;
    top: 50%;
    left: calc(100% + 20px);
    transform: translateY(-50%);
    width: 340px;
    background: #fff;
    border: 1px solid #E3E6EB;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
    padding: 12px 16px;
    font-size: 14px;
    color: #1e1e1e;
    z-index: 1000;
    line-height: 1.5;
    display: none;
}

    .rules-tooltip::before,
    .rules-tooltip::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 100%;
        transform: translateY(-50%);
        border-style: solid;
    }

    .rules-tooltip::before {
        border-width: 10px;
        border-color: transparent #E3E6EB transparent transparent;
    }

    .rules-tooltip::after {
        border-width: 9px;
        border-color: transparent #fff transparent transparent;
        margin-right: -1px;
    }

    .rules-tooltip p:first-child strong {
        display: block;
        font-size: 15px;
        font-weight: bold;
        margin-bottom: 6px;
    }

    .rules-tooltip ul {
        list-style: none;
        padding: 0;
        margin: 8px 0 6px 0;
    }

    .rules-tooltip li {
        margin: 6px 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .rules-tooltip li .fa {
            width: 16px;
            text-align: center;
            font-size: 14px;
        }

        .rules-tooltip li .text-danger {
            color: #E11D48 !important;
        }

        .rules-tooltip li .text-success {
            color: #00A651 !important;
        }

    .rules-tooltip small {
        display: block;
        color: #6B7280;
    }

@media (max-width: 1200px) {
    .rules-tooltip {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 10px;
        box-shadow: none;
        border-radius: 6px;
        display: block;
    }

        .rules-tooltip::before, .rules-tooltip::after {
            display: none;
        }
}

.password-section {
    position: relative;
}

.password-group .input-wrapper {
    position: relative;
}

.right-panel, .form-box {
    overflow: visible;
}

.icon-left {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.password-input {
    padding-left: 40px;
    font-size: 20px;
    font-family: Verdana;
    letter-spacing: 2px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-wrapper .icon-left {
        position: absolute;
        color: #888;
        font-size: 14px;
    }

    .input-wrapper input {
        padding-left: 35px;
    }

    .input-wrapper .toggle-password {
        position: absolute;
        cursor: pointer;
        color: #666;
    }

.btn-continue {
    margin-top: 20px;
    padding: 10px 20px;
    background: #0070C0 0% 0% no-repeat padding-box;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    border-radius: 19px;
    font: normal normal bold 16px/18px Arial;
}

    .btn-continue:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

.left-panel .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 55px;
    margin-top: -20px;
    color: #fff;
}


    .left-panel .icon .fp-icon {
        display: block;
        width: 88px;
        height: 88px;
    }

.left-panel .fp-icon path,
.left-panel .fp-icon circle {
    color: inherit;
}

#slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.right-panel .form-box .email-input {
    width: 450px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    padding-right: 90px;
}

.right-panel .has-leading-icon {
    position: relative;
    display: flex;
    justify-content: center;
}

    .right-panel .has-leading-icon .leading-icon {
        position: absolute;
        left: calc(50% - 225px + 12px);
        top: 50%;
        transform: translateY(-50%);
        width: 22px;
        height: 22px;
        pointer-events: none;
        fill: #888;
    }

.right-panel .modifier-link {
    position: absolute;
    right: calc(50% - 225px + 12px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #0070C0;
    text-decoration: underline;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn[disabled] {
    opacity: .6;
    cursor: not-allowed;
}

.right-panel .form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .right-panel .form-group label {
        width: 450px;
        text-align: left;
        margin-bottom: 6px;
        color: #1e1e1e;
        font: normal normal bold 18px / 21px Arial;
    }

    .right-panel .form-group .email-input {
        width: 450px;
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }

.right-panel .help-link {
    width: 450px;
    margin: 6px auto 0 auto;
    text-align: right;
}

.d-none {
    display: none !important;
}

.promo {
    white-space: nowrap;
    font-size: clamp(14px, 1.1vw, 13px);
    color: #FFD700;
}
.otp-title {
    font: 700 26px/30px Arial, sans-serif;
    color: var(--blue-hero);
    text-align: center;
    margin-bottom: 18px;
}

.label {
    display: block;
    font: 700 18px/21px Arial, sans-serif;
    color: var(--text);
    margin: 6px 0 8px;
}

.input-group {
    position: relative;
    max-width: 450px;
    margin: 0 auto 8px;
}

    .input-group .icon-left {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #777;
        font-size: 16px;
    }

    .input-group .credentials {
        width: 450px;
        max-width: 100%;
        height: 57px;
        padding: 12px 14px 12px 42px; 
        border: 1px solid var(--border);
        border-radius: 5px;
        font-size: 14px;
        font: normal normal normal 16px / 18px Arial;
        color: #9A9A9A;
    }

.hint {
    max-width: 450px;
    margin: 8px auto 16px;
    color: #414141;
    font-size: 14px;
    line-height: 1.5;
    font: normal normal normal 16px / 25px Arial;
}

.sub-title {
    font: 700 18px/21px Arial, sans-serif;
    color: var(--text);
    text-align: left;
    max-width: 450px;
    margin: 8px auto 10px;
}

.otp-shell {
    max-width: 450px;
    margin: 0 auto 12px;
}

.otp-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.otp-input {
    width: 56px;
    height: 60px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: 700 24px/1 Arial, sans-serif;
}

.dash {
    color: #A0A8C8;
    margin: 0 4px;
}

.resend {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-size: 14px;
    color: #6B7280;
}

    .resend button {
        background: none;
        border: none;
        color: #0070C0;
        text-decoration: underline;
        cursor: pointer;
    }

.otp-status {
    text-align: center;
    font-size: 14px;
    color: #1e1e1e;
    margin: 6px 0 10px;
}

#otpMsg.error {
    margin: 8px auto 6px;
    max-width: 450px;
    color: #E11D48;
    font-size: 14px;
}

.btn-main {
    display: block;
    margin: 8px auto 0 auto;
    padding: 12px 26px;
    border-radius: 19px;
    border: none;
    cursor: pointer;
    background: #0070C0;
    color: #fff;
    font: 700 16px/18px Arial;
    box-shadow: 0 6px 16px rgba(12,77,140,.25);
}

    .btn-main:disabled {
        opacity: .6;
        cursor: not-allowed;
    }

.otp-footer {
    border-top: 1px solid rgba(0,0,0,.1);
    margin: 20px auto 0;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    max-width: 520px;
    font-size: 14px;
    color: #6F6F6F;
    text-align: center;
}

    .otp-footer a {
        color: #0070C0;
        text-decoration: underline;
    }

#legacyMsg {
    width: 100%;
    max-width: 450px;
    margin-top: 15px;
    font-size: 14px;
    color: #ef172c;
    text-align: left;
    padding-left: 4px;
}

@media (max-width: 560px) {
    .otp-row {
        gap: 6px;
    }

    .otp-input {
        width: 48px;
        height: 52px;
        font-size: 22px;
    }

    .otp-footer {
        flex-direction: column;
    }
}
/* ===== Mockup header elements (logo / back / version) ===== */

.top-left-back {
    position: fixed;
    top: 18px;
    left: 24px;
    z-index: 50;
    color: rgba(255,255,255,.92);
    text-decoration: none;
    font: 600 14px/1.2 Arial, sans-serif;
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

    .top-left-back:hover {
        text-decoration: underline;
    }

.top-center-logo {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

    .top-center-logo img {
        height: 44px;
        width: auto;
        filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
    }

.bottom-right-version {
    position: fixed;
    right: 18px;
    bottom: 14px;
    z-index: 50;
    color: rgba(255,255,255,.86);
    font: 600 12px/1.2 Arial, sans-serif;
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
    white-space: nowrap;
}

@media (max-width: 1360px) {
    .bottom-right-version {
        display: none;
    }
}

@media (max-width: 820px) {
    .top-center-logo img {
        height: 38px;
    }

    .container {
        margin-top: 48px;
    }
}
