﻿
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.login-form {
    width: 100%;
}

.login-form h2 {
    margin-bottom: 20px;
    text-align: center;
}

.form-groupLogin {
    margin-bottom: 15px;
}

.form-groupLogin label {
    display: block;
    margin-bottom: 5px;
}

.form-groupLogin input[type="text"],
.form-groupLogin input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-groupLogin input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.5);
    transform-origin: center;
    margin-left: 15px;
}

.form-groupLogin.checkbox-label {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.labelCheck {
    margin-top: 5px;
}

.buttonLogin {
    width: 100%;
    padding: 10px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.buttonLogin:hover {
    background-color: #45a049;
}

.error-message {
    color: #ff0000;
    margin-top: 10px;
    text-align: center;
}

.register-link {
    margin-top: 15px;
    text-align: center;
}

.register-link a {
    color: #4caf50;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.forgot-password-link, .register-link {
    margin-top: 15px;
    text-align: center;
}

.forgot-password-link a, .register-link a {
    color: #4caf50;
    text-decoration: none;
}

.forgot-password-link a:hover, .register-link a:hover {
    text-decoration: underline;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    width: 100%;
    padding-right: 35px; /* espacio para el icono */
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}