﻿BODY {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    text-align: center;
    color: #6c6c6c;
}

BODY, P, TD, DIV, INPUT {
    font-size: 12px;
}


@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-semibold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}
html, body {
    font-family: "Poppins", sans-serif;
}
P {
    line-height: 20px;
    padding-top: 0;
    margin: 0;
}

IMG, A IMG {
    border: 0;
}

a {
    color: #623875;
    text-decoration: none;
}

    a:hover {
        color: #623875;
        text-decoration: underline;
    }

/* --- Page wrapper --- */
.logonpagewrapper {
    display: block;
    position: relative;
    margin: 0 auto;
    padding: 0;
    top: 0;
    width: 100%;
    overflow: hidden;
}

/* --- Logo --- */
.logonlogowrapper {
    height: 90px;
    padding-top: 80px; /* closer to screenshot */
}

.logonlogo {
    background-image: url(../../../Content/Img/PuzzelNewLogo.png);
    background-repeat: no-repeat;
    background-size: 224px 58px;
    width: 255px;
    height: 58px;
    margin: 0 auto;
}

/* --- Main login card (blue outline, big radius) --- */
.logoncontentwrapper {
    width: 500px;
    height: auto;
    /* Layout */
    display: flex;
    flex-direction: column;
    /* gap: 24px;*/
    padding: 40px;
    /* Look */
    background: #ffffff;
    border-radius: 40px;
    /* Gradient border (Figma stroke) */
    border: 1px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient( 180deg, rgba(33, 109, 151, 0.4) 0%, rgba(255, 255, 255, 0) 50% ) border-box;
    box-shadow: 2px 2px 4px 0px #3D435E0D;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

/* inner form container */
.logoncontent {
    width: 440px; /* wide inputs like screenshot */
    margin: 0 auto;
    overflow: visible;
}

/* --- Top EOL alert --- */
.legacy-eol-alert {
    width: 330px;
    height: 58px;
    margin: 0 auto 22px auto;
    padding: 12px 16px;
    border-radius: 8px;
    background: #FFC1CC; /* soft pink */
    color: #1e1e1e;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-sizing: border-box;
    text-align: left;
}

.legacy-eol-alert__icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    position: relative;
    margin-top: 5px;
    background: url("../../public/triangle-exclamation.svg") no-repeat center;
    background-size: contain;
}

    

.legacy-eol-alert .legacy-eol-alert__text,
.legacy-eol-alert .legacy-eol-alert__text div {
    font-weight: 400;
    font-size: 14px;
    color: #0C1436;
    line-height: 120%;
    letter-spacing: 0px;
}

/* --- Stacked form layout --- */
.logon-form {
    width: 100%;
}

.logon-field {
    text-align: left;
    margin-bottom: 14px;
}

.logon-label {
    font-size: 12px;
    font-weight: 500;
    color: #0C1436;
    margin: 0 0 6px 0;
    line-height: 100%;
    letter-spacing: 0px;
    vertical-align: bottom;
}

/* inputs */
.logontextbox {
    width: 100%;
    height: 38px;
    box-sizing: border-box;
    border: 1px solid #5C6278;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 500;
    color: #1e1e1e;
    background: #ffffff;
}

    .logontextbox::placeholder {
        font-style: italic;
        color: #6f7890;
    }

    .logontextbox:focus, .logontextbox:active, *:focus {
        outline: none;
        border-color: #DBACF5;
    }

/* button */
.logonButton {
    display: block;
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: #623875;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin: 18px 0 8px 0;
    cursor: pointer;
}

input.logonButton:hover,
input.logonButton:active {
    background-color: #462853;
}

/* errors */
.validation-summary-errors {
    margin-top: 10px;
    line-height: 15px;
    color: #BF3030;
    border: 0;
    background: inherit;
}

    .validation-summary-errors ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

.logonerrors {
    color: #BF3030;
    text-align: left;
}

    .logonerrors span {
        display: block;
    }

/* forgot link */
.logon-forgot-wrapper {
    text-align: right;
    margin-top: 6px;
}

.logonforget {
    font-size: 14px;
    font-weight: 400;
}

/* footer inside card */
.logonfooter {
    margin-top: 22px;
    font-size: 12px;
    font-weight: 400;
    color: #5C6278;
    line-height: 150%;
    letter-spacing: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    /* Make links same style */
    .logonfooter a {
        font-size: 12px;
    }

    /* Add the | separator automatically (no need in HTML) */
    .logonfooter > *:not(:first-child)::before {
        content: "|";
        margin-right: 8px;
        color: #5C6278;
    }

/* --- Bottom EOL panel --- */
.login-eol-panel {
    width: 720px;
    margin: 34px auto 0 auto;
    text-align: left;
    border: 1px solid #f3b7bf;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(0,0,0,0.10);
    overflow: hidden;
    color: #1e1e1e;
}

.login-eol-panel__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.login-eol-panel__header-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: #FF375B; /* red container */
    position: relative;
}

    /* white icon inside with padding (7px 8px) */
    .login-eol-panel__header-icon::after {
        content: "";
        position: absolute;
        inset: 7px 8px; /* top/bottom 7px, left/right 8px */
        background-color: #ffffff;
        -webkit-mask: url("../../public/circle-exclamation.svg") no-repeat center;
        mask: url("../../public/circle-exclamation.svg") no-repeat center;
        -webkit-mask-size: contain;
        mask-size: contain;
    }

.login-eol-panel__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #0C1436;
    line-height:120%;
    vertical-align:middle;
}

.login-eol-panel__body {
    padding: 0 16px 16px 56px; /* aligns body under title like screenshot */
    font-size: 13px;
    line-height: 1.6;
}

.login-eol-panel__spaced {
    margin-top: 14px;
}

.login-eol-panel__divider {
    border: 0;
    border-top: 1px solid rgba(0,0,0,0.12);
    margin: 16px 0;
}

.login-eol-panel__subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #0C1436;
    line-height: 150%;
    vertical-align: middle;
    margin: 0 0 6px 0;
    color: #0f172a;
}

/* actions */
.login-eol-panel__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* buttons */
.login-eol-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
}

.login-eol-btn--secondary {
    background: #ffffff;
    border-color: #623875;
    color: #623875;
}

    .login-eol-btn--secondary:hover {
        text-decoration: none;
        background: rgba(98,56,117,0.05);
    }

.login-eol-btn--primary {
    background: #623875;
    border-color: #623875;
    color: #ffffff;
}

    .login-eol-btn--primary:hover {
        background: #462853;
        border-color: #462853;
        text-decoration: none;
        color: #ffffff;
    }

/* external-link icon */
.ext-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23623875' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 3h7v7'/><path d='M10 14 21 3'/><path d='M21 14v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6'/></svg>");
}

.ext-icon--light {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 3h7v7'/><path d='M10 14 21 3'/><path d='M21 14v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6'/></svg>");
}


button, input, select, textarea {
    font-family: inherit;
}