﻿.submitBtn {
    width: 181px;
    height: 48px;
    padding: 15px 24px;
    gap: 8px;
    border-radius: 2px;
    background: var(--Primary-Primary-Muted, #7A3864);
    min-width: 100px !important;
    text-align: center !important;
    background-color: #7A3864 !important;
    margin: 5px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    color: white !important;
    -moz-transition: background .40s ease-in-out !important;
    -o-transition: background .40s ease-in-out !important;
    -webkit-transition: background .40s ease-in-out !important;
    transition: background .40s ease-in-out !important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    display: block !important;
    position: relative !important;
    z-index: 100 !important;
    border: 1px solid #7A3864 !important;
}

    .submitBtn:hover {
        cursor: pointer !important;
        /*background-color: #00467F !important;*/
        background-color: #7A3864 !important;
        text-decoration: none;
    }

.formInput {
    border: 1px solid #0066aa !important;
    margin: 5px !important;
    width: 385px !important;
    height: 35px !important;
    padding-left: 5px !important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 18px !important;
    color: #0066aa !important;
}

    .formInput:focus {
        border: 1px solid black !important;
    }

/*#UsefulLinksDiv {
    width: 412px;
    height: 165px;

}*/

.nesoPurple {
    border: 1px solid #7A3864 !important;
    color: #444 !important;
}

    .nesoPurple:focus {
        border: 2px solid #7A3864 !important;
        outline: none;
    }

.errDiv {
    width: 383px;
    padding: 5px;
    position: absolute;
    top: 170px;
    left: 55px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 18px;
    background-color: #bd362f;
    color: white;
    padding-top: 18px;
    z-index: 1000 !important;
    opacity: 0;
}

.hideErr {
    position: absolute;
    top: 1px;
    right: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bolder;
}
/*.rightDiv {
    background-color: #ffffff;
    background-color: rgba(255,255,255,0.75);
    width: 500px;
    height: 100%;
    overflow: hidden;
    float: left;
    display: inline-block;
    position: absolute;
    right: 0px;
    vertical-align: central;
    align-content: center;
}*/
.rightDiv {
    background-color: #ffffff;
    background-color: rgba(255,255,255,0.75);
    width: 50%;
    height: calc(100% - 150px);
    overflow: hidden;
    float: right;
    display: inline-block;
    /*   position: absolute;*/
    /*   right: 0px;*/
    vertical-align: central;
    align-content: center;
}
.leftDiv {
    width: 50%;
    height: 100%;
    display: inline-block;
/*    position: absolute;*/
    float: left;
    left: 0px;
    /*background-color: #0066aa;
    background: linear-gradient(to bottom, #F5FBFE, #A2DAF4);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#F5FBFE', EndColorStr='#A2DAF4');*/
    background-image: url('css/images/bg_SignIn.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

/*.logoDiv {
    position: relative;
    top: 35px;
    left: 80px;
}*/

.logoDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}


.logoImage {
    border: 0;
    width: 222px;
    height: 102px;
    aspect-ratio: 37/17;
    background: url(/_layouts/15/emr.branding/images/NESO-primary-black-3x.png)  / cover no-repeat;
}

.logoImageBot {
    position: absolute;
    bottom: 15px;
    left: 45px;
}
.appNameText {
    color: #000;
    font-feature-settings: 'liga' off, 'clig' off;
    /* Headings/<h3> Medium */
    font-family: Poppins;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: 34px; /* 130.769% */
    letter-spacing: -0.5px;
}
.infoText {
    width: 319px;
    height: 110px;
    color: #000;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 186.667% */
    letter-spacing: -0.5px;
}
.continue_to_reg {
    color: #3F0731;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 186.667% */
    letter-spacing: -0.5px;
}
.already_account {
    color: #000;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 186.667% */
    letter-spacing: -0.5px;
}


.title {
    position: relative;
    top: 150px;
    left: 55px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 26px;
    color: #0066aa;
}



/*.rightDiv {
    background-color: #ffffff;
    background-color: rgba(255,255,255,0.75);
    width: 500px;
    height: 100%;
 
    float: left;
    display: flex;
    justify-content:center;
    align-items:center;
    position: absolute;
   
}*/

.forgotten {
    position: relative;
    left: -15px ;
    color: #3F0731;
    text-align: center;
   
}
.useful_links_text {
    color: #000;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 34px; /* 226.667% */
    letter-spacing: -0.5px;
}

.credsDiv {
    vertical-align: central;
    align-content: center;
    width: 100%;
  position: relative;
    top: -10px;
    overflow: hidden;
}

.description {
    position: relative;
    top: 130px;
    left: 55px;
    width: 390px;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 13px;
    color: #0066aa;
}

.warning {
    position: absolute;
    bottom: 85px;
    left: 55px;
    width: 390px;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 13px;
    color: red;
    display: none;
}

a.forgot-link {
    margin-left: 5px;
    text-decoration: none;
    /*   font-size: 13px;*/
    /*color: #0066aa;*/
    color: #7A3864;
    font-family: sans-serif !important;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 34px; /* 226.667% */
    letter-spacing: -0.5px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

    a.forgot-link:hover {
        text-decoration: underline;
    }

.ms-textLarge {
    /* [ReplaceFont(themeFont:"large-body")] */ font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 1.15em;
}

.ms-dlgContent {
    /* [ReplaceColor(themeColor:"SubtleLines")] */ border: 1px solid #c6c6c6;
    position: absolute;
    /* [ReplaceColor(themeColor:"BackgroundOverlay",opacity:"1.0")] */ background-color: #fff;
    box-shadow: 0px 0px 30px 0px #000000;
    box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.47);
}

#gearsImage {
    height: 32px;
    width: 32px;
}

.ms-core-pageTitle,
.ms-core-pageTitle a {
    /* [ReplaceFont(themeFont:"title")] */ font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    /* [ReplaceColor(themeColor:"SiteTitle")] */ color: #262626;
}

.ms-core-pageTitle {
    font-size: 2.77em;
    white-space: nowrap;
}

    .ms-core-pageTitle a:hover,
    .ms-core-pageTitle a:active {
        text-decoration: none;
    }

.ms-accentText, .ms-accentText:visited {
    /* [ReplaceColor(themeColor:"AccentText")] */ color: #0072c6;
}


.switchProfile-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.switchProfile-content {
    background: white;
    width: 1000px;
    max-width: 90vw;
    max-height: 92vh;
    margin: 5vh auto;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* ✅ VERY IMPORTANT */
}

/* Reset and base styles for the component */
.neso-container {
    font-family: 'Poppins';
    width: 100%;
    /*    max-width: 900px;
    margin: 0 auto;*/
/*    border: 1px solid #dcdcdc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);*/
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Header styling */
.neso-header {
    background-color: #7A3864; /* Dark purple/navy */
    color: white;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.neso-logo-container {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
}

.neso-logo-flag {
    margin-left: 10px;
    font-size: 18px; /* Placeholder for the UK flag icon */
}

.neso-close-icon {
    cursor: pointer;
    color: white !important;
    height: 30px;
    width: 30px;
    position: relative;
    top: 4px;
    font-size:16px;
}

    .neso-close-icon:hover {
        color: white;
    }

/* Content Area */
.neso-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden; /* ✅ KEY */
}


.neso-table-wrapper {
    flex: 1;
    overflow-y: auto;
    min-height: 0; /* ✅ THIS FIXES YOUR EXACT ISSUE */
    max-height:230px;
}
    .neso-title {
    font-size: 18px;
    color: #333333;
    margin: 0 0 20px 0;
    font-weight: 500;
   /* width: 1139px;*/
    color: #7A3864;
    font-family: "Poppins";
}


.neso-table thead th {
    position: sticky;
    top: 0;
    background: #F2EBF0;
    z-index: 2;
}


/* Table Styling */
.neso-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: #4a4a4a;
    margin-bottom: 30px;
}

    .neso-table th, .neso-table td {
        text-align: left;
        font-family: Poppins;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
    }

    .neso-table td {
        padding: 8px 0px;
        color: #000;
    }

    .neso-table th {
        background-color: #F2EBF0; /* Light blue/grey header */
        color: #7A3864;
        padding: 16px 0px;
    }

    .neso-table tr {
        border-bottom: 1px solid #D2D2D2;
    }



/* Action Links */
.neso-select-link {
    color: #0078d4;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

    .neso-select-link:hover {
        text-decoration: underline;
    }

/* Footer / Bottom Close Button */
.neso-footer {
    display: flex;
    justify-content: flex-end;
    padding: 0 25px 25px 25px;
    flex-shrink: 0;
    width: 96%;
}

/*.neso-btn-close {
    background-color: #271d3b;
    color: white;
    border: none;
    padding: 8px 24px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 2px;
    float:right;
}

    .neso-btn-close:hover {
        background-color: #3b2d54;
    }*/

.neso-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.neso-modal-content {
    background: white;
    width: 520px;
    margin: 15% auto;
    padding: 25px;
    position: relative;
}

.neso-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 18px;
}

.neso-modal-actions {
    text-align: right;
    margin-top: 25px;
}

.btn-yes {
    background-color: #7A3864;
    color: white;
    border: none;
    margin-right: 10px;
    cursor: pointer;
    height: 40px;
    padding: 15px 16px;
    color: #FFF;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px;
}

.btn-no {
    background-color: white;
    color: #7A3864;
    border: 1px solid #7A3864;
    height: 40px;
    padding: 15px 16px;
    cursor: pointer;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px;
}

.btn-yes:hover,
.btn-yes:focus,
.btn-yes:active {
    background-color: #7A3864; /* same as normal */
    color: white;
    box-shadow: none;
    outline: none;
}

.btn-no:hover,
.btn-no:focus,
.btn-no:active {
    background-color: white;
    color: #7A3864;
    border: 1px solid #7A3864;
    box-shadow: none;
    outline: none;
}

.modal-msg {
    color: #000;
    /* Headings/<h3> Medium */
    font-family: Poppins;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: 34px; /* 130.769% */
    letter-spacing: -0.5px;
}

.modal-sub-msg {
    color: #000;
    /* Body/Copy */
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-top:24px;
}


.neso-row-whitelisted {
    background-color: #F1F1F1; /* soft green highlight */
}

.footer-message {
    width:90%;
    color: #CF0C0C;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display:none;
}

.neso-btn-close {
    border-radius: 2px;
    border: 1px solid #7A3864;
    height: 40px;
    padding: 15px 16px;
    color: var(--Primary-Primary-Muted, #7A3864);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 10px;
    background: #fff;
    border: 1px solid #7A3864
}

    .neso-btn-close:hover,
    .neso-btn-close:focus,
    .neso-btn-close:active {
        border: 1px solid #7A3864;
        background: #fff;
        color: var(--Primary-Primary-Muted, #7A3864);
        box-shadow: none;
        outline: none;
    }