﻿.pwdimage-container {
    /*position: relative;*/
    /*display: flex;*/
    /*flex-direction: row;*/
    /*justify-content: right;*/
    /*align-items: right;*/
    /*height: 20vh;*/
    /* margin-bottom:5vh; */
    display: flex;
    align-items: center; /* Align items vertically */
    position: relative;
}

.pwdimage {
    /*right: 10px;*/
    /*top: 20%;*/
    /*transform: translateY(-50%);*/
    /*cursor: pointer;*/
    margin-left: -27px; /* Adjust as needed to position inside the input */
    cursor: pointer; /* Optional: To change the cursor to a pointer */
    z-index: 2; /* Ensure it appears above the input */
    width: 20px;
}

.hidden {
    visibility: hidden;
    max-height: 0px;
    display: none;
}


.centered-image {
    max-width: 213px;
    max-height: 79px;
}

.centered-container {
    display: flex;
    justify-content: center;
}

.sc-header {
    color: #5CCAEA;
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem !important;
}

.sc-error-header {
    color: white;
    font-family: 'Playfair Display', serif;
}

.sc-header-orange {
    color: #F37029;
    font-family: 'Playfair Display', serif;
    margin: 0 0 0 0;
}

.sc-text-color-orange {
    color: #F37029;
}

.sc-header-sub {
    color: #1268b3;
    font-family: 'Roboto';
}

hr {
    border: none;
    height: 2px; /* Adjust the height of the line */
    background-color: #CED2E3; /* Change the color of the line */
}

.btn-container {
    column-gap: 5px;
    display: flex;
}

.align-center {
    justify-content: center;
}

.align-right {
    justify-content: end;
}

.rounded-btn {
    border: none;
    border-radius: 1.5rem;
}

.port-secondary-btn {
    color: #F37029;
    background-color: white;
    border-color: #F37029;
}

.desktop-view {
    display: flex;
    /* background-color: #1268B3;
    width:100%; */
}

.mobile-view {
    display: none;
}

.busy-text {
    font-size: 1.2rem;
    /*font-weight: bold;*/
    /*color: #fff;*/
}

.container {
    display: flex;
    width: 100%;
    /*justify-content: center;*/
    flex-direction: column;
}

.center-v {
    justify-content: center;
}

.gap-container {
    display: flex;
    /* grid-template-columns: 1fr 1fr; */
    gap: 20px; /* Adjust the gap as needed */
    /*height: 65vh;*/
}

.flex-full {
    flex: 1;
}

.body-contianer {
    margin-top: 40px;
}

.image-holder {
    border: 2px solid #000000;
    border-radius: 20px;
    /* height:100%; */
}

.column {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

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

.rounded-white-container {
    border-radius: 1.0em;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 10px;
    padding: 10px 5px;
}


:root {
    forced-color-adjust: none;
    color-scheme: light dark;

    --btn-bg: #F37029;
    --btn-text: white;
}

@media screen and (max-width: 780px) {
    .desktop-view {
        display: none;
    }

    .mobile-view {
        display: flex;
    }

    :root {
        --bg-color: #DDE6EE;
        --text-color: #000000;
        --input-bg: #ffffff;
        --input-text: #000000;
    }

    @media (prefers-color-scheme: light) {
        :root {
            --bg-color: #DDE6EE;
            --text-color: #000000;
            --input-bg: #ffffff;
            --input-text: #000000;
        }
    } 
    /*:root {
        --bg-color: #181344;
        --text-color: #ffffff;
        --input-bg: #152C63;
        --input-text: #ffffff;
    }
    :root input:-webkit-autofill,
    :root textarea:-webkit-autofill,
    :root select:-webkit-autofill {
        background-color: var(--input-bg) !important;
        color: var(--input-text) !important;
        transition: background-color 5000s ease-in-out 0s;
        border-color: white;
        -webkit-text-fill-color: var(--input-text) !important;
    }*/

    @media (prefers-color-scheme: dark) {
        :root {
            --bg-color: #181344; /* Purple-ish */
            --text-color: #ffffff; /* White */
            --input-bg: #152C63; /* Dark-blue */
            --input-text: #ffffff;
        }

        /*input:-webkit-autofill,
        textarea:-webkit-autofill,
        select:-webkit-autofill {
            background-color: var(--input-bg) !important;
            color: var(--input-text) !important;
            transition: background-color 5000s ease-in-out 0s;
            border-color: white;
            -webkit-text-fill-color: var(--input-text) !important;
        }*/
    }

    @media (prefers-contrast: more) {
        :root {
            background-color: var(--bg-color);
            color: var(--text-color);
        }
    }

    /* 👁 Low contrast (follow light/dark theme) */
    @media (prefers-contrast: less) {
        :root {
            background-color: var(--bg-color);
            color: var(--text-color);
        }
    }

    input:-webkit-autofill,
    textarea:-webkit-autofill,
    select:-webkit-autofill {
        background-color: var(--input-bg) !important;
        color: var(--input-text) !important;
        transition: background-color 5000s ease-in-out 0s;
        border-color: white;
        -webkit-text-fill-color: var(--input-text) !important;
    }

    html, body {
        background-color: var(--bg-color);
        color: var(--text-color);
    }

    input,
    textarea,
    select {
        background-color: var(--input-bg) !important;
        color: var(--input-text) !important;
    }

    .pagecontent-container {
        background-color: var(--bg-color);
        color: var(--text-color);
        padding-top: 1.5em;
    }

    .rounded-white-container {
        background-color: var(--input-bg);
    }

    .form-container {
        background-color: unset;
        border-radius: 0px;
    }

    .login-button-container {
        display: flex;
        width: 100%;
        justify-content: flex-end;
    }

    .locked-container {
        /*padding: 0.5em;*/
        margin-top: -1.5em;
    }

    .login-btn {
        width: 50%;
    }

    .port-primary-btn {
        color: var(--btn-text) !important;
        background-color: var(--btn-bg) !important;
    }

    .port-primary-btn:hover {
        color: var(--btn-text) !important;
        background-color: var(--btn-bg) !important;
    }

    .port-primary-btn:focus,
    .port-primary-btn:active {
        color: var(--btn-text) !important;
        background-color: var(--btn-bg) !important;
        outline: none;
        box-shadow: none;
    }
}

.login-button-container-center {
    display: flex;
    width: 100%;
    justify-content: end;
}

@media screen and (min-width: 781px) {
    body {
        background-color: #1268b3;
    }

    .form-container {
        background-color: white;
        border-radius: 20px;
    }

    .rounded-white-container {
        background-color: white;
    }

    .login-button-container {
        display: flex;
        width: 100%;
        justify-content: flex-end;
    }

    .locked-container {
        padding: 1em;
    }

    .login-btn {
        width: 10em;
    }

    .port-primary-btn {
        color: var(--btn-text) !important;
        background-color: var(--btn-bg) !important;
    }

    .port-primary-btn:hover {
        color: var(--btn-text) !important;
        background-color: var(--btn-bg) !important;
    }

    .port-primary-btn:focus,
    .port-primary-btn:active {
        color: var(--btn-text) !important;
        background-color: var(--btn-bg) !important;
        outline: none;
        box-shadow: none;
    }
}
