html {
  font-size: 14px;

}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
#createUserForm{
    font-size:14px;
    font-family:'EYInterstate Light';
    /*width:70%;*/
}

.btn, .btn:hover {
    background-color: #FFE600;
    color: black;
    border-radius: 5px;
    border:1px solid black;
    /*width:15%;*/
}

#myToast, #myToast2 {
    position: absolute;
    top: 14px;
    right: 20px;
    z-index: 1050;
    font-family: EYInterstate;
    flex-direction: row-reverse;
    width: auto;
}

    #myToast .toast-body, #myToast2 .toast-body {
        background-color: #FFE600;
        color: black;
        display: flex;
        justify-content: space-between;
        align-items: center;
        /*background-color: inherit*/
    }

        #myToast .toast-body .close-btn, #myToast2 .toast-body .close-btn {
            color: black;
            outline: hidden;
            border: none;
            background-color: inherit;
            font-size: initial;
        }

.toast .close-btn:focus {
    
}

html {
    position: relative;
    min-height: 100%;
}

input[type="password"] {
    font: small-caption;
    font-size: 16px;
    color:#000;
}



body {
    margin-bottom: 60px;
    background: #f6f6fa;
    font-family: EYInterstate Light;
}

.card {
    background: #f6f6fa;
    border: hidden;
    width: -webkit-fill-available;
}

.processesTitle {
    background-color: black;
    /*margin: 10px;*/
    font-size: 20px;
    align-items: center;
    /*padding-left: 18%;*/
    font-size: x-large;
    color: white;
    text-align:center;
}

.processButton {
    background: #C4C4CD;
    border: 1px solid black;
    margin:10px;
}

.flex-container {
    display: flex;
    /*flex-wrap: wrap;*/
    min-height: 100vh;
}

.flex-item {
    min-width: 25%;
    max-width:75%;
   
}


.dashboard {
    background: #f6f6fa;
    border: black solid 2px;
    border-radius:8px;
    margin-left: 3%;
    padding: 2px;
    margin-top: 2%;
    /*align-content: center;*/
    position:relative;
    overflow:hidden;
}

.log-row.latest-log {
    background-color: #c1f8d9;
}

.uploadForm{
    margin:20px;
}
/*.uploadFile{*/
/*margin-left:10%;*/
/*margin-right:10%;*/
/*padding-bottom:5%;
}*/
.teamTitle {
    font-family: EYInterstate;
    font-size: xx-large;
    display: flex;
}

.navbar, .footer {
    background-color: #2E2E38;
}
.signupForm{
    width:60%;  
}

.loginInputFields {
    padding:10px;
    width:contain;
    
}
input .form-control {
    border-radius: 10px;
    width:70%
}
.loginSubmitButton{
    margin-left:5px;
    margin-top:10px
}
#login-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35%;
   /* height: 50%;*/
    padding: 10px;
    border: 1px solid black;
    /*//padding-top: 70px;*/
    background-color: #2E2E38;
    color: black;
    background: linear-gradient(to bottom, #FFE600 12%, #C4C4CD 20px); /* Background gradient */
    background-size: 100% 100%;
    margin-bottom: 2rem;
}

#ResetPassword-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*background-color: #2E2E38;*/
    padding: 10px;
    border: 1px solid black;
    height:40%;
    width:30%;
    background: linear-gradient(to bottom, #FFE600 20%, #C4C4CD 20px); /* Background gradient */
}

#ResetPasswordConfirmationform {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*background-color: #2E2E38;*/
    padding: 10px;
    border: 1px solid black;
    height:fit-content;
    width: 35%;
    background: linear-gradient(to bottom, #FFE600 20%, #C4C4CD 20px); /* Background gradient */
}
.LoginTitle {
    color: black;
    font-family: EYInterstate;
    font-size: 16px;
}

.navbar-title {
    color: black;
    margin-bottom: 5px;
}

.navbar-brand{
    color:white;
}

.form-group {
    padding-top:5px;
    padding-left:5px;
}

.createUserButton {
    margin: 10px;
}
.loginButton {
    margin: 10px;
    padding-left:12px;
    padding-right:15px;
}

.user-table-container {
    margin-top:2%;
    overflow:auto;
}

.user-table tbody tr:nth-child(odd) {
    background-color: #F6F6FA; /* Color for odd rows */
}

/* Style for even rows */
.user-table tbody tr:nth-child(even) {
    background-color: #C4C4CD; /* Color for even rows */
}

.process-status-table tbody tr:nth-child(odd) {
    background-color: #F6F6FA; /* Color for odd rows */
}

/* Style for even rows */
.process-status-table tbody tr:nth-child(even) {
    background-color: #C4C4CD; /* Color for even rows */
}


.user-table {
    width: 50%;
    border-collapse: collapse;
    /*text-align: left;*/
    /*table-layout:auto;*/
    font-size: small;
}
    .user-table th,
    .user-table td {
        border: 1px solid #dddddd;
        text-align:center;
        /*padding: 8px;*/
        width:min-content;
        height:fit-content;
    }



    .user-table th {
        background-color: #2e2e38;
        color: white;
    }
        .user-table th a {
            text-decoration: none;
            color: #333;
        }

            .user-table th a:hover {
                text-decoration: underline;
            }

    .user-table tbody tr {
        display: table-row;
        width:contain;
    }

    .user-table tbody td {
        display: table-cell;
        width:fit-content;
    }


/*Process Status table CSS*/
.process-container{
    max-height:650px;
    /*border-bottom:hidden;*/
}

/*loading bar*/
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 27, 27, 0.8); /* semi-transparent white background */
    z-index: 9999; /* ensure it's above other content */
    display: none; /* initially hidden */
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/*loading bar*/



.process-status-container {
   overflow:scroll;
   font-size:small;
}
.uploadForm {
    margin-bottom: 20px;
}
/*#selectedFiles{
    max-height:fit-content;
}*/

.custom-modal-dialog {
    width: 450px; 
    margin: 1.75rem auto; 
}

.process-status-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    border-radius: 5px;
}
.process-status-table thead {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
}

    .process-status-table th {
        border: 1px solid black;
        
        font-family: EYInterstate;
        text-align: center;
        background-color: #2E2E38;
        color: white;
        margin-top: 0px;
        position:sticky;
    }
    .process-status-table td {
        padding: 8px;
        border: 1px solid black;
        text-align: center;
    }

/*Process Status table CSS*/


#form-title {
    padding: 5px;
}
.userNameCard {
    font-size: 15px;
    padding-top:1px;
    width:fit-content;
   /* color:white;*/ /*when dark bakcground*/
}

#logoutButton {
    /*margin-left: 94%;*/
    /*margin-top: 1px;*/
    font-size: 15px;
    border: 1px solid black;
}


.EditForm, .signup-form {
    margin-left: 20%;
    margin-right: 20%;
    font-size: 15px;
    font-family: EYInterstate;
    height: 20%;
    border: black solid 1px;
    background-color: #2e2e38;
    color: white;
    padding: 20px;
}
.inputFields{
  font-family:'EYInterstate Light';
  font-style:normal;
}

.processList {
    border: 2px solid black;
    margin-top: 2%;
    /*padding: 40px;*/
    width:30%;
    /*align-content: center;*/
    border-radius:8px;
}



.listbox-container {
    margin-top: 12%;
    margin-left: 12%;
    margin-right: 12%;
    /*width:fit-content;*/
    max-height: 300px;
    font-size:100%;
    overflow-x:auto; 
    /*overflow-y:auto;*/
}

.listbox{
    font-size:initial;
    /*overflow-x:auto;
    overflow-y:auto;*/
    overflow:auto;
    width:200px;
    height:200px;
    
}


.modal-dialog .modal-content {
    /*height: 500px;*/
    /*text-align: center;*/
    background: #f6f6fa;
}

#user-table_length{
    color:black;
}






.hidden {
    display: none;
}

.toast-flex {
    flex: 1;
}

.toast-yellow {
    background-color: #FFE600;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toast-black-close {
    color: black;
    border: none;
    background: inherit;
}

.assign-toast-position {
    position: absolute;
    top: 5px;
    right: 20px;
    z-index: 1050;
    flex-direction: row-reverse;
}

.loading-btn {
    background: #FFE600;
    color: black;
}

.margin-bottom-3 {
    margin-bottom: 3px;
}



.toast-message {
    flex: 1;
}

.error-box {
    margin: 10% 0 0 20%;
    background-color: #FFE600;
    color: black;
    padding: 10px;
}




body.session-expired {
    pointer-events: none;
    filter: grayscale(0.9);
    opacity: 0.7;
}

/* Full-screen overlay used for loading / session-expired */
#loadingOverlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    #loadingOverlay.hidden {
        display: none;
    }

    #loadingOverlay .overlay-message {
        margin-top: 1rem;
        color: #ffffff;
        font-size: 1rem;
        text-align: center;
    }

    /* You can keep or customize existing spinner styles */
    #loadingOverlay .spinner {
        /* your existing spinner styles if any */
    }
