﻿body {
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
    margin: 0;
}

.outer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 500px;
    width: 100%;
}

.inner {
    width: 100%;
    margin-top: 20px;
    flex-grow: 1;
    display: flex;
    max-width: 450px;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.innercontent {
    width: 100%;
}

.SignIn, .CreateAccount {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 500px;
    width: 100%;
}

.loginPanel {
    width: 100%;
}

.tab-buttons {
    display: flex;
    width: 100%;
    max-width: 500px;
}

.tab-button {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    background-color: #E0E0E0;
    color: #777;
}

    .tab-button:hover {
        background-color: #CCCCCC;
    }

    .tab-button:not(:last-child) {
        margin-right: 8px;
    }

.active-tab-button {
    background-color: #09709D;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, box-shadow 0.3s;
}

    .active-tab-button:hover {
        background-color: #005882;
    }

    .sso-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 30px;
    }

.sso-btn {
    background-color: #FFFFFF;
    border: 1px solid #D5D5D5;
    color: #0C2963; 
    font-family: Arial, sans-serif;
    padding: 11px 24px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.25px;
    border-radius: 4px;
    display: flex; 
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.25);
    cursor: pointer;
    outline: none; 
    transition: background-color 0.2s, box-shadow 0.2s;
    width: 320px;
    margin: 10px;
}

.sso-btn-google {
    margin: 10px;
    border: 1px solid #D5D5D5;
    border-radius: 4px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.25);
    transition: background-color 0.2s, box-shadow 0.2s;
}

    .sso-btn-google:hover {
        box-shadow: 0 0 3px 3px rgba(0,0,0,0.1);
    }

    .sso-btn-google div {
        font-size: 16px;
        color: #0C2963;
        font-family: Arial, sans-serif;
        letter-spacing: 0.25px;
    }

    .sso-btn:hover {
        box-shadow: 0 0 3px 3px rgba(0,0,0,0.1);
        background-color: #F9F9F9;
    }

.sso-logo {
    margin-right: 15px; 
    width: 20px;
    height: 20px;
}


.sso-button {
    margin: 5px 0;
    padding: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    width: 100%;
}

.signin-button {
    margin: 5px 0;
    padding: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: #09709D;
    font-size: 16px;
    font-weight: 700;
    color: white;
    width: 250px;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}

    .signin-button:hover {
        background-color: #006195;
    }

.btn {
    margin: 5px 0;
    padding: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: #09709D;
    font-size: 16px;
    font-weight: 700;
    color: white;
    width: 250px;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}

    .btn:hover {
        background-color: #006195;
    }

.btn2 {
    margin: 5px 0;
    padding: 10px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: #09709D;
    font-size: 16px;
    font-weight: 700;
    color: white;
    display: block;
    border-radius: 10px;
}

    .btn2:hover {
        background-color: #006195;
    }

.outlinebutton {
    color: #005F73 !important;
    background-color: #FFFFFF !important;
    padding: 0.4rem 0.8rem !important;
    border: 1px solid #ccc !important;
    margin: 0.1rem 0rem;
    color: #666 !important;
    font-size: 13px;
}

    .outlinebutton:hover {
        color: #FFFFFF !important;
        background-color: #069295 !important;
    }

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%; 
}

.line {
    flex-grow: 1;
    height: 2px;
    background-color: #DDDDDD;
    margin: 0 20px;
}

.or {
    color: #999999;
    font-size: 14px;
    font-weight: 700;
    padding: 0 10px;
}


.form-field {
    display: flex;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    max-width: 600px;
}


.form-label {
    width: 100px;
    margin-right: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #0C2963;
}

.form-input {
    flex: 1;
}


input[type="text"], input[type="password"], input[type="date"] {
    font-size: 1em;
    background: #ffffff;
    border-radius: 0.5rem;
    width: 100%;
    height: 1.5rem;
    padding: 1.2rem 1.0rem;
    border: 2px solid rgba(186, 186, 186, 0.5);
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.5rem;
    padding-left: 1rem;
    padding-right: 2rem;
    height: 2.7rem;
    font-size: 1em;
    border: 2px solid rgba(186, 186, 186, 0.5);
    background-size: 1.2rem 1.2rem;
    background-repeat: no-repeat;
    background-position: right 0.5em center;
    background-image: url("../images/cheveron.svg");
}

    input[type="text"]:focus, input[type="password"]:focus, input[type="date"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus, select:focus, textarea:focus {
        outline: none; /* Remove the default focus outline */
        border: 2px solid rgba(6, 146, 149, 0.5);
        box-shadow: 0 0 5px rgba(6, 146, 149, 0.5);
    }

.field-validation-error {
    display: block;
    color: red;
    margin-top: 5px;
}

.cc_logo {
    justify-self: end;
    height: 4.5rem;
    margin-right: 10px;
}

.cc_text {
    height: 2.875rem;
}

.date {
    margin-top: 5px;
    text-transform: uppercase;
    font-size: 15.5px;
    font-weight: 700;
    opacity: 0.7;
    color: #09709D;
}

.greeting {
    font-size: 18px;
    font-weight: 700;
    color: #0C2963;
    max-width: 350px;
    margin-top: 20px;
}

.greeting2 {
    font-size: 18px;
    font-weight: 700;
    color: #0C2963;
    max-width: 400px;
    margin: 20px;
}

.link {
    color: #007E9C;
    font-weight: 700;
    text-decoration: none;
}

.link:hover {
    color: #00607D;
}

.centered-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
    text-align: center;
}

.centered-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 300px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: -10px;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.validation-summary-errors {
    color: red;
}

.loading-indicator {
    display: none; /* Hide it initially */
    position: fixed;
    border: 2px solid #ccc;
    border-radius: 0.75rem;
    background-color: #eee;
    text-align: center;
    padding: 2em;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: auto; /* Ensure it doesn't take 100% width */
    max-width: 200px;
}

    .loading-indicator img {
        width: 30px;
        height: 30px;
    }

.form-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* Allows fields to wrap onto the next line on small screens */
}

.form-group {
    flex: 1;
    /* Each form group will take up equal space */
    padding: 15px 15px;
    /* Add some spacing between fields */
    min-width: 160px;
    /* Minimum width of each field */
    box-sizing: border-box;
}

    .form-group label {
        display: block;
        font-size: 1.1rem;
        margin-top: 0;
        margin-bottom: .5rem;
        font-weight: 500;
        line-height: 1.2;
        /* Adjust as needed for your design */
    }

h4 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 700;
    line-height: 1.2;
}

h5 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

.content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*max-width: 500px;*/
}

    .content > * {
        width: 100%; /* Ensure children take full width */
    }

.container {
    max-width: 500px;
}

.error_message {
    color: red;
    font-weight: 700;
    margin: 20px 0;
}

table {
    background-color: #FCFCFC !important;
    border: 0 !important;
    table-layout: fixed;
}

    table tr {
        border-bottom: 1pt solid #A6A6A6 !important;
        border-top: 1pt solid #A6A6A6 !important;
        border-left: 0pt solid #FFFFFF !important;
        border-right: 0pt solid #FFFFFF !important;
        border-spacing: 0px;
    }

        table tr:nth-child(odd) {
            background-color: #FCFCFC;
        }

        table tr:nth-child(even) {
            background-color: #f2f2f2;
        }

    table th {
        background: #FCFCFC;
        border: 0 !important;
        border-width: 0 !important;
        font-size: 1rem;
        height: 2rem;
        color: #6F767E;
        padding-left: 0.5em;
        padding-right: 0.5em;
    }

    table td {
        height: 3rem;
        color: #1A1D1F;
        font-size: 1rem;
        overflow: hidden;
        border-left: 0 !important;
        border-right: 0 !important;
        padding-left: 0.5em;
        padding-right: 0.5em;
    }

    table tr:first-child {
        border-top: none !important;
    }

    table tr:last-child {
        border-bottom: 0pt solid #FFFFFF !important;
    }

.nostripes tr {
    background-color: #FCFCFC !important;
}

input[type="radio"], input[type="checkbox"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    /* Remove most all native input styles */
    appearance: none;
    /* For iOS < 15 */
    background-color: var(--form-background);
    /* Not removed via appearance */
    margin: 0;
    font: inherit;
    font-size: 1rem !important;
    color: currentColor;
    width: 1.15em !important;
    height: 1.15em !important;
    border: 0.15em solid currentColor !important;
    /*transform: translateY(-0.075em);*/
    display: inline-grid;
    place-content: center;
    margin-right: 0.6rem;
    flex-grow: 0;
    flex-shrink: 0;
}

    input[type="radio"]::before, input[type="checkbox"]::before {
        content: "";
        width: 0.65em;
        height: 0.65em;
        transform: scale(0);
        transition: 120ms transform ease-in-out;
        box-shadow: inset 1em 1em var(--form-control-color);
        /* Windows High Contrast Mode */
        background-color: CanvasText;
    }

    input[type="radio"]:checked::before, input[type="checkbox"]:checked::before {
        transform: scale(1);
    }