/************************************************
*************************************************

Styles for login directory.  Copied from main.css 
    due to security restrictions with unauth'd users

*************************************************
************************************************/


/*----------------------------------------------
------------------------------------------------
0. CSS Reset
------------------------------------------------
----------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/*----------------------------------------------
------------------------------------------------
-- Universal Styles
------------------------------------------------
----------------------------------------------*/
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

#master_article {
    padding: 15px;
}

div {
    margin: 5px;
}

input[type=button] {
    cursor: pointer;
    padding: 3px;
    margin: 5px;
    min-width: 120px;
    min-height: 25px;
}

input[type=submit] {
    cursor: pointer;
    padding: 3px;
    margin: 10px;
    min-width: 120px;
    min-height: 25px;
    background-color: #FFD966;
}

div:has(input[required]) > label:after {
    content: "*";
    color: red;
    margin-left: 5px;
}


/*----------------------------------------------
------------------------------------------------
-- Header & Nav Styles
------------------------------------------------
----------------------------------------------*/
.masterpage-link {
    color: white;
    font-weight: bold;
}


/*----------------------------------------------
------------------------------------------------
-- Alignment Styles
------------------------------------------------
----------------------------------------------*/
.container-margin-center {
    margin: auto;
}

.float-right {
    float: right;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}


/*----------------------------------------------
------------------------------------------------
-- Width Styles
------------------------------------------------
----------------------------------------------*/
.width-50pct {
    width: 50%;
}

.width-80pct {
    width: 80%;
}

.width-full {
    width: 100%;
}


/*----------------------------------------------
------------------------------------------------
-- Header Styles
------------------------------------------------
----------------------------------------------*/
header {
    background-color: black;
}

/*----------------------------------------------
------------------------------------------------
-- Footer Styles
------------------------------------------------
----------------------------------------------*/
footer {
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 5px;
    background-color: black;
    color: white;
}

/*----------------------------------------------
------------------------------------------------
-- Comments & Form Styles
------------------------------------------------
----------------------------------------------*/
.button-highlight {
    background-color: #FFD966;
}

.rtnMessage {
    color: red;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.requiredMsg {
    color: red;
    font-size: 10px;
    font-style: italic;
}
.containerForm {
    max-width: 500px;
    margin: 0 auto;
}
.formInput {
    display: flex;
    justify-content: space-between;
}
.formInput > label {
    flex: 1;
    font-weight: bold;
    text-align: left;
    margin-top: 0.5em;
}

    .formInput > input {
        flex: 2;
        padding: 0.25rem; 
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 4px;
        /* text-align: right; Optional: makes text inside the input align right */
    }



/*----------------------------------------------
------------------------------------------------
-- Password Strength Indicator Styles
------------------------------------------------
----------------------------------------------*/

#spnPasswordStrength {
    font-style: italic;
    font-size: 10px;
}

.password_strength_weak {
    color: red;
}

.password_strength_medium {
    color: darkorange;
}

.password_strength_strong {
    color: green;
}


/*----------------------------------------------
------------------------------------------------
-- Generic Styles
------------------------------------------------
----------------------------------------------*/


/*----------------------------------------------
------------------------------------------------
-- Mobile Styles
------------------------------------------------
----------------------------------------------*/
/* Responsive: Stack label/input on small screens */
@media (max-width: 500px) {
    .formInput {
        flex-direction: column;
        align-items: stretch;
    }

        .formInput > label,
        input {
            text-align: left;
            width: 100%;
        }

        .formInput > input {
            text-align: left; /* back to left on small screens */
        }
}