* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo img {
    max-width: 200px;
    height: auto;
}

h1 {
    text-align: center;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -0.4px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Input container para mantener dimensiones fijas */
.input-wrapper {
    position: relative;
    width: 100%;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    height: 48px; 
    padding: 12px 50px 12px 15px; 
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    background-color: #F1F1F1;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #4CAF50;
}

/* Iconos dentro de los inputs */
.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-icon:hover {
    color: #4CAF50;
}

.input-icon.valid {
    color: #4CAF50;
    cursor: default;
}

.input-icon svg {
    width: 20px;
    height: 20px;
}

small {
    display: block;
    color: #666;
    font-size: 11px; 
    margin-top: 5px;
    line-height: 1.4;
    font-family: 'Segoe UI', sans-serif;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: #5B9427;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-login:hover {
    background: #4A7A20;
}

.btn-login:active {
    transform: scale(0.98);
}

.forgot-password {
    display: block;
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    text-decoration: underline;
}

.forgot-password:hover {
    color: #4CAF50;
    text-decoration: underline;
}

.privacy-notice {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 30px;
    line-height: 1.5;
}

.privacy-notice a {
    color: #4CAF50;
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.login-footer p {
    color: #999;
    font-size: 12px;
    margin-bottom: 5px;
}

.login-footer strong {
    color: #333;
    font-size: 16px;
}