﻿/*------------------------------------------------------------------------------------------
   GLOBAL
   Body, Errors, Anchor Color
------------------------------------------------------------------------------------------*/
body {
    color: black;
    font-weight: normal;
    font-family: "Open Sans", Verdana, Arial, Helvetica, sans-serif;
    background: linear-gradient(to bottom, #003b62 0%, #99b9ce 100%);
}

div.psLoginError {
    margin: 5px 0 15px 25px;
    color: #d0021b;
}

a {
    color: #0066cc;
}

/*------------------------------------------------------------------------------------------
   GLOBAL
    Buttons
------------------------------------------------------------------------------------------*/
button.psLoginButton { /* grows in height when text wraps */
    background-color: #fff;
    border: 1px solid #87adc4;
    border-radius: 5px;
    box-shadow: 3px 3px 3px rgba(150, 150, 150, 0.15);
    display: flex;
    align-items: center;
    width: 175px;
    padding: 8px;
    min-height: 32px;
    height: auto;
}

    button.psLoginButton img { /* icon stays locked at left edge */
        flex: 0 0 auto;
        width: 16px;
        height: 16px;
        margin-right: 0px !important;
    }

    button.psLoginButton span { /* text fills remaining space & is fully centered */
        flex: 1 1 auto;
        display: flex;
        /*        justify-content: center;*/
        align-items: center;
        text-align: center;
        white-space: normal; /* allow wrapping */
        word-break: break-word;
        padding-left: 6px;
    }

    button.psLoginButton:not(:last-child) {
        margin-bottom: 5px;
    }

/*------------------------------------------------------------------------------------------
   GLOBAL
   Button Hover Effects
------------------------------------------------------------------------------------------*/
button {
    transition: background-color 0.1s ease-in-out, border 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}

    button:hover,
    button:focus {
        background-color: #ccc;
        border: 1px solid #40525d;
        box-shadow: 3px 3px 3px rgba(150, 150, 150, 0.35);
    }

/*------------------------------------------------------------------------------------------
   Outermost Wrapper (DOM starts here)
------------------------------------------------------------------------------------------*/
div.psLoginWrapper {
    margin: 75px auto 0;
    padding: 0;
    border: 1px solid black;
    box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, 0.35);
    width: 600px;
    background-color: #fff;
    border-radius: 5px;
}

/*------------------------------------------------------------------------------------------
   Individual sections under psLoginWrapper
------------------------------------------------------------------------------------------*/
div.psLoginSection {
    position: relative;
    background-color: white;
    min-height: 120px;
    padding: 5px;
}

/*------------------------------------------------------------------------------------------
   Section divider
------------------------------------------------------------------------------------------*/
div.psLoginSectionDividerHorizontal {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.25);
    margin: 10px 15px;
}

/*------------------------------------------------------------------------------------------
   1. Customer Branding
------------------------------------------------------------------------------------------*/
div.psLoginSection.Branding {
    background-color: white;
    padding: 5px;
    margin-top: 5px;
}

    div.psLoginSection.Branding > div.psLoginBrandingLogoContainer {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 5px;
        min-height: 150px;
        max-height: 250px;
    }

        div.psLoginSection.Branding > div.psLoginBrandingLogoContainer img {
            max-width: 100%;
            height: auto;
            max-height: 250px;
        }

    div.psLoginSection.Branding > div.psLoginBrandingText {
        text-align: center;
        margin-top: 20px;
        font-size: 13px;
    }

/*------------------------------------------------------------------------------------------
   2a. Main section
------------------------------------------------------------------------------------------*/
div.psLoginSection.Creds {
    display: flex;
    align-items: center;
    height: auto;
    min-height: 200px;
    margin: 0 15px;
}

    div.psLoginSection.Creds > div.psLoginContainerMain {
        display: flex;
        justify-content: space-between;
        width: 100%;
        height: auto;
        min-height: 200px;
    }

/*------------------------------------------------------------------------------------------
   2c. Reset form
------------------------------------------------------------------------------------------*/
form#psResetForm {
}

/*------------------------------------------------------------------------------------------
   2d. Reset form inner container
------------------------------------------------------------------------------------------*/
div.psLoginContainerMain > div.psLoginFormInner {
    max-width: 423px;
}

div.psLoginContainerMain > form#psResetForm > div.psLoginFormInner {
    display: flex;
    flex-direction: column;
    width: 325px;
}

    div.psLoginContainerMain > form#psResetForm > div.psLoginFormInner > p:not(.psLoginSectionHeader) {
        max-width: 350px;
    }

/*------------------------------------------------------------------------------------------
   2e. Section header
------------------------------------------------------------------------------------------*/
.psLoginSectionHeader {
    margin: 0 0 4px 0;
    font-weight: bold;
}

/*------------------------------------------------------------------------------------------
   2f. Email field block
------------------------------------------------------------------------------------------*/
div.psLoginFormFields {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    div.psLoginFormFields input {
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
        margin: 5px 10px 5px 15px;
    }

/*------------------------------------------------------------------------------------------
   2g. Actions
------------------------------------------------------------------------------------------*/
div.psLoginFormInner > div.psLoginFormActions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5px 0 0 10px;
}

/*------------------------------------------------------------------------------------------
   2h. Other Options (right side)
------------------------------------------------------------------------------------------*/
div.psLoginContainerMain > div.psLoginOtherOptions {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 137px;
}

div.psLoginOtherOptions a {
    display: inline-block;
    margin-left: 15px;
}

    div.psLoginOtherOptions a img {
        width: 16px;
        height: auto;
        vertical-align: bottom;
        margin-right: 4px;
    }

    div.psLoginOtherOptions a:not(:last-child) {
        margin-bottom: 8px;
    }

div.psLoginOtherOptions div.Divider {
    height: 14px;
}

/*------------------------------------------------------------------------------------------
   3. Notice section
------------------------------------------------------------------------------------------*/
div.psLoginSection.Notice {
    margin: 10px;
    height: auto;
    min-height: 0;
}

/*------------------------------------------------------------------------------------------
   4. Password Reset Email Sent view
------------------------------------------------------------------------------------------*/
div.psLoginContainerMain.ResetSent {
    display: flex;
    flex-direction: column;
    width: 100%;
}

    div.psLoginContainerMain.ResetSent .psRow {
        width: 100%;
    }

    div.psLoginContainerMain.ResetSent .psTwoCol {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
    }

        div.psLoginContainerMain.ResetSent .psTwoCol .psResetIntro {
            flex: 1 1 auto;
            max-width: 423px;
        }

    div.psLoginContainerMain.ResetSent .psLoginOtherOptions {
        flex: 0 0 137px;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        width: 137px;
    }

    div.psLoginContainerMain.ResetSent .psFullWidth {
        margin-top: 10px;
    }

    div.psLoginContainerMain.ResetSent .psEmailMetaCard {
        border: 1px solid #ccc;
        border-radius: 5px;
        background: #f8f8f8;
        padding: 10px;
        margin: 10px 0 15px 0;
    }

    div.psLoginContainerMain.ResetSent .psEmailMetaTable {
        width: 100%;
        border-collapse: collapse;
    }

    div.psLoginContainerMain.ResetSent .psEmailMetaLabel {
        width: 70px;
        padding-left: 6px;
        vertical-align: top;
    }

    div.psLoginContainerMain.ResetSent .psEmailMetaValue {
        word-break: break-word;
    }

    div.psLoginContainerMain.ResetSent .psNextStepsList {
        margin: 6px 0 16px 22px;
    }

        div.psLoginContainerMain.ResetSent .psNextStepsList li {
            padding: 0;
        }

            div.psLoginContainerMain.ResetSent .psNextStepsList li:not(:first-child):not(:last-child) {
                padding: 4px 0;
            }

    div.psLoginContainerMain.ResetSent .psValidityBadge {
        background: #fffbcc;
        border: 1px solid #ffe38a;
        border-radius: 3px;
        font-weight: bold;
    }

    div.psLoginContainerMain.ResetSent .psHelpBox {
        background: #fff3cd;
        border: 1px solid #ffeeba;
        border-radius: 5px;
        padding: 10px 10px 5px 10px;
        margin: 10px 0;
    }

    div.psLoginContainerMain.ResetSent .psHelpList {
        margin-left: 18px;
    }
