/* styles for sign in form */

.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
}
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}
.error {
    color: red;
    margin-bottom: 15px;
}

/* Similar styles to the 'Load Anomaly Charts' button */
.login-button {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.login-button:hover {
    background-color: #45a049;
}

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    padding: 2px 4px;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.password-toggle:hover {
    color: #333;
}

/* Adjust input padding to make room for the toggle text */
.password-container input[type="password"],
.password-container input[type="text"] {
    padding-right: 50px;
}

/* styles for user icon */

.user-icon-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
}

.user-button {
    all: unset;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.user-icon {
    width: 100%;
    height: auto;
}

.hover-menu {
    display: none;
    position: absolute;
    top: 30px;
    right: 0;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    white-space: nowrap;
    z-index: 1002;
    padding: 12px;
    border-radius: 4px;
    min-width: 200px;
    color: black;
}

.user-info {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.user-detail {
    margin: 5px 0;
    font-size: 14px;
}

.logout-container {
    text-align: center;
    padding-top: 5px;
}

.logout-link {
    color: #d9534f;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.logout-link:hover {
    text-decoration: underline;
}