﻿
#login-form[disabled] {
    opacity: 0.4;
    pointer-events: none;
}

button[disabled] {
    background-color: #ccc;
    color: #888;
    cursor: not-allowed;
}

/* Waiting */

#waitingSpinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}


/* CSS for the message box */
.message-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFFFFF; /* Example color for error message */
    border: 1px solid #dee2e6; /* Example border color for error message */
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.login-box {
    display: flex;
}

.box-size, .box-size-2 {
    width: 250px;
}

.box-inner-text {
    width: 23vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
}

.login-main-wrap {
    width: 100%;
}

.page-top-div {
    height: 30px;
}

.page-feedback {
    width: 300px;
    height: 120px;
    display: flex;
    align-items: center;
    margin-right: auto;
    margin-left: auto;
    flex-direction: column;
    justify-content: center;
}

.page-center1 {
    width: 300px;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #ffffff; /* Example color for error message */
    border: 1px solid #dee2e6; /* Example border color for error message */
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    padding-right: calc(var(--bs-gutter-x)* 0.5);
    padding-left: calc(var(--bs-gutter-x)* 0.5);
    margin-right: auto;
    margin-left: auto;
    border-radius: var(--bs-border-radius);
}

.login-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.messagebox-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flex-item {
    width: 100%;
}

.page-forms-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.material-icons {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.input-group-passwd {
    position: relative;
}

#password {
    padding-right: 30px; /* Adjust based on the width of the eye icon */
}