/* ===== Login page ===== */

.modal-login-content h2 {
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color, #333);
}

.right-side-login {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    padding-top: 62px;
    padding-bottom: 40px;
    overflow-y: auto;
    box-sizing: border-box;
}

.login-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.agrikola-logo-img {
    max-width: 180px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 2px solid #fff;
}

.login-form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.login-form-input,
.login-form-button {
    display: block;
    margin-bottom: 12px;
    width: 300px;
    height: 50px;
    padding: 10px 12px;
    background-color: #f3f6f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.login-form-button {
    color: #ffffff !important;
    font-weight: 500;
    cursor: pointer;
    border-radius: 25px !important;
    background-color: var(--button-primary-color);
}

.login-form-button:hover {
    background-color: var(--button-primary-color-hover);
}

.login-form-button:focus {
    outline: none;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.4);
}

.login-form-input:hover {
    background-color: #eaf0f5;
    border-color: #999;
}

.login-form-input:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: none;
}

.login-title-container {
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
}

.login-form-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--button-primary-color);
    letter-spacing: 1px;
}

.login-register-and-password {
    padding-top: 10px;
    border-top: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.login-register-and-password a {
    color: var(--button-primary-color);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.login-register-and-password a:hover {
    color: var(--button-primary-color-hover);
}

.errorlist li {
    color: red;
}

.error-messages-container {
    margin-top: 10px;
    margin-bottom: 10px;
}

.error-message {
    color: red;
}

.new-user-created {
    color: green;
}
