body {
    font-family: Arial, sans-serif;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background-color: lightgray;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.login-container h1 {
    margin-bottom: 20px;
}

.login-container label {
    display: block;
    text-align: left;
    margin: 10px 0 5px;
}

.login-container input[type="email"],
.login-container input[type="password"],
.login-container input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-container img {
    max-height: 60px;
	max-width: 290px
    height: auto;
    width: auto;
}

.switch-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.switch-container #show-password-label {
    margin-left: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: gray;
    transition: 0.4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #0F9A62;
}

input:checked + .slider:before {
    transform: translateX(14px);
}

.captcha-container {
    margin-bottom: 10px;
}

.captcha-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

#captcha-text {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    margin: 0;
    width: calc(100% - 110px); /* Adjust width to leave space for the button */
    box-sizing: border-box;
    user-select: none; /* Prevent text selection */
}

.no-select {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+/Edge */
    user-select: none;         /* Standard */
}

.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

.btn, button {
    width: 100px; /* Set a consistent width for buttons */
    padding: 10px;
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover, button:hover {
    background-color: #0F9A62;
    color: white; /* Ensure text remains white on hover */
}

.btn:after, button:after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #003366;
    color: white;
    font-size: 12px;
    padding: 5px;
    border-radius: 3px;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease, bottom 0.3s ease;
}

.btn:hover:after, button:hover:after {
    background-color: #0F9A62;
    color: white;
    opacity: 1;
    bottom: -30px;
}

/* Additional styles for grid layout */
.grid-container {
    display: grid;
    grid-template-areas:
        'header header header'
        'left-menu main-content right-container'
        'footer footer footer';
    grid-template-columns: auto 2fr 1fr;
    grid-template-rows: auto 1fr auto;
    width: 90%;
    height: 90vh;
    gap: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.header {
    grid-area: header;
    background-image: url('header-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    position: relative;
}

.menu-toggle {
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.menu-toggle:hover {
    background-color: #000000;
    color: darkgray;
}

.left-menu {
    grid-area: left-menu;
    background-color: #003366;
    color: white;
    padding: 10px;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.left-menu.hidden {
    transform: translateX(-100%);
}

.left-menu ul {
    list-style: none;
    padding: 0;
}

.left-menu li {
    padding: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.left-menu li:hover {
    background-color: white;
    color: #003366;
}

.icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background-image: url('icons.png');
    background-size: cover;
}

.icon-dashboard {
    background-position: 0 0;
}

.icon-settings {
    background-position: -24px 0;
}

.icon-risk {
    background-position: -48px 0;
}

.icon-utilities {
    background-position: -72px 0;
}

.main-content {
    grid-area: main-content;
    padding: 10px;
}

.right-container {
    grid-area: right-container;
    background-color: #e6e6e6;
    padding: 10px;
}

footer {
    grid-area: footer;
    background-color: #003366;
    color: white;
    padding: 10px;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
}

footer a:hover {
    text-decoration: underline;
}
