@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, sans-serif;
}

.page-container {
    display: flex;
    width: 100%;
    height: 100vh;  /* fallback */
    height: 100dvh; /*  mobile  */
    padding: 16px;
    justify-content: center;
    align-items: center;
    background: #FFF;
    min-height:610px;
}

.login-container {
    display: flex;
    height: 100%;
    justify-content: flex-end;
    align-items: flex-start;
    flex: 1 0 0;
    border-radius: 16px;
    border: 1px solid #E8E8E8;
 

    /* Added to match original design but no larger */
    max-width: 1248px;
    max-height: 690px;
}

/* Side bar/login fields */
.login-sidebar {
    display: flex;
    max-width: 445px;
    height: 100%;
    padding: 40px 32px;
    justify-content: center;
    align-items: center;
    border-radius: 16px 0 0 16px;
    background: #F4F4F4;
    box-shadow: 2px 4px 25px 0 rgba(0, 0, 0, 0.10);
}

.login-sidebar-container {
    display: flex;
    padding: 0 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex: 1 0 0;
    align-self: stretch;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
}

.nav-logo-image {
    width: 144px;
    height: 137px;
    aspect-ratio: 144/137;
    background: url("../images/Logo_Final_English.png") 50% / cover no-repeat;
}

.login-section {
    display: flex;
    height: 367px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}

.login-title {
    color: #064F97;
    font-family: Inter;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 33.8px */
}

.login-details-container {
    display: flex;
    width: 325px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.login-field-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

.login-field-name {
    align-self: stretch;
    color: #064F97;
    font-family: "IBM Plex Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 23.4px */
}

.login-field-input {
    display: flex;
    padding: 12px 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    align-self: stretch;
    border-radius: 6px;
    background: #FFF;

    color: #595959;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%; /* 17.6px */

    border: none; /*added*/
}

.login-forgot-password-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    align-self: stretch;
}

.login-forgot-pass-link {
    color: #868686;
    font-family: "IBM Plex Sans";
    font-size: 14px;
    font-style: italic;
    font-weight: 500;
    line-height: 130%; /* 18.2px */
    letter-spacing: 0.28px;

    text-decoration:none;
}

.login-btn-container {
    display: flex;
    padding: 8px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 30px;
    border: 1px solid #FFF;
    background: #034A85;

    color: #FFF;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 23.4px */
    letter-spacing: -0.9px;

    cursor: pointer;
}

.login-btn-container:hover {
    background: #022F71;
}

.bad-login {
    color: #CD4E51;
    font-family: "IBM Plex Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 15.6px */
}

.login-public-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 76px;
    flex: 1 0 0;
    align-self: stretch;
}

.login-public-link {
    color: #0758A5;
    font-family: "IBM Plex Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 18.2px */
    letter-spacing: 0.28px;

    text-decoration: none;
}

/* Main area */
.login-main {
    /*height: 692px;*/
    height: 100%;
    flex: 1 0 0;
    border-radius: 0 16px 16px 0;
    box-shadow: 2px 4px 25px 0 rgba(0, 0, 0, 0.10);

    /*added*/
    position: relative;
    flex-direction: column;
    justify-content: end;
    display: flex;
    padding: 22px 28px;
    /*background: #096EB5;*/
    overflow:clip;

    background-image: url("../images/login-background.png");
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
}

.login-main-must-be-logged-in {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;

    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 400;
    color: #FFF;
    font-size: 32px;
    z-index: 1;
}

.login-main-must-be-logged-in-support-link {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 400;
    color: #868686;
    font-size: 32px;
    text-decoration: none;
}

.login-main-content {
    display: flex;
    /*width: 758px;*/
    justify-content: space-between;
    align-items: flex-end;
    z-index: 1;
}

.login-main-content-dummy {
    display: none;
}

.login-main-content-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 16px;
}

.login-main-content-header {
    align-self: stretch;
    color: #FFF;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%; /* 17.6px */
}

.login-main-content-body {
    align-self: stretch;
    color: #FFF;
    font-family: "IBM Plex Sans";
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%; /* 30.8px */
}

.login-main-content-get-started-btn {
    display: none;
}

.login-main-content-legal-notice-btn {
    display: flex;
    padding: 8px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 35px;
    border: 1px solid #FFF;
    cursor: pointer;
}

.legal-notice-text {
    color: #FFF;
    font-family: Urbanist;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 18.2px */
}

.legal-notice-text-contents {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateY(-50%);
    background: #F4F4F4;
    padding: 8px 16px;
    margin: 0 16px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 3px 1px;

    font-family: Inter, sans-serif;
    font-size: 14px;

    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.login-main-content-legal-notice-btn:hover + .legal-notice-text-contents {
    opacity: 1;
    z-index: 1;
}

/* Media queries */
@media (max-width: 900px) {
    .login-main {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        padding: 16px;
        justify-content: center;
        transition: all 0.3s;
    }

    .login-main.got-started {
        transform: translateX(-100%);
    }

    .login-main-content {
        height: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .login-main-content-dummy {
        display: block;
    }

    .login-main-content-get-started-btn {
        display: flex;
        padding: 8px 20px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: 30px;
        border: 1px solid #FFF;
        background: #034A85;
        color: #FFF;
        font-family: Inter;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%; /* 23.4px */
        letter-spacing: -0.9px;
        cursor: pointer;
    }

    .login-main-content-get-started-btn:hover {
        background: #022F71;
    }

    .login-main-content-legal-notice-btn {
        display: flex;
        padding: 8px 0;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #FFF;
        color: #FFF;
        font-family: Urbanist;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 130%; /* 18.2px */
    }

    .legal-notice-text-contents {
        left: 0;
    }

    .page-container {
        padding: 0;
        background: #F4F4F4;
    }

    .login-container {
        border: none;
        padding: 16px 16px 8px 16px;

        /*added: reset this */
        max-width: none;
        max-height: none;
    }

    .login-sidebar {
        max-width: none;
        width: 100%;
        padding:0;
        box-shadow: none;
        border-radius: 0;
    }

    .login-sidebar-container {
        padding: 0;
        align-items: stretch;

        /*added*/
        max-width: 321px;
    }

    .login-details-container {
        width: 100%;
    }
}

/* Password reset */
.reset-password-section {
    display: flex;
    height: 367px;
    flex-direction: column;
    align-items: flex-end;
    gap: 32px;
    align-self: stretch;
}

.reset-password-instructions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
}

.reset-password-instructions-title {
    align-self: stretch;
    color: #064F97;
    font-family: Inter;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 33.8px */
}

.reset-password-instructions-content {
    align-self: stretch;
    color: #868686;
    font-family: "IBM Plex Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 18.2px */
    letter-spacing: 0.28px;
}

.reset-password-instructions-content > a {
    color: #868686;
}

.reset-password-details-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}

.reset-password-buttons-container {
    display: flex;
    /*justify-content: flex-end;*/
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
}

.reset-password-button-primary {
    display: flex;
    padding: 8px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 30px;
    background: #034A85;
    color: #FFF;
    font-family: "IBM Plex Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 18.2px */
    letter-spacing: -0.7px;

    cursor: pointer;
    text-decoration: none;
}

.reset-password-button-primary:hover {
    background: #022F71;
}

.reset-password-button-secondary {
    display: flex;
    padding: 8px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 30px;
    border: 1px solid #034A85;
    color: #034A85;

    font-family: "IBM Plex Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 18.2px */
    letter-spacing: -0.7px;

    cursor: pointer;
    text-decoration: none;
}

.reset-password-button-secondary:hover {
    color: #FFF;
    background: #034A85;
}

.reset-password-footnote {
    /*display: flex;*/
    /*flex-direction: column;*/
    align-items: flex-start;
    /*gap: 6px;*/
    align-self: stretch;
    color: #868686;
    font-family: "IBM Plex Sans";
    font-size: 12px;
    font-style: italic;
    font-weight: 500;
    line-height: 130%; /* 15.6px */
    letter-spacing: 0.24px;
}

.reset-password-footnote > a {
    color: #868686;
}

/* #region inputs*/
.field-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

.field-name {
    align-self: stretch;
    color: #064F97;
    font-family: "IBM Plex Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 23.4px */
}

.field-input {
    display: flex;
    padding: 12px 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    align-self: stretch;
    border-radius: 6px;
    background: #FFF;
    color: #595959;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%; /* 17.6px */

    border: none; /*added*/
}
/* #endregion */