body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 12px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
}

h2 {
    margin-bottom: 1rem;
    font-weight: 500;
}

form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

label {
    margin-top: 12px;
    font-size: 14px;
    color: #cccccc;
}

input {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #2b2b2b;
    color: #f0f0f0;
    margin-top: 5px;
}

button {
    margin-top: 20px;
    padding: 10px;
    background-color: #00ffff;
    color: #000;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #00cccc;
}

.error {
    color: #ff6b6b;
    font-size: 13px;
    margin-bottom: 1rem;
}

.extras {
    margin-top: 1rem;
}

.extras a {
    color: #00ffff;
    font-size: 13px;
    text-decoration: none;
}

footer {
    margin-top: 2rem;
    font-size: 12px;
    color: #888;
}

footer a {
    color: #888;
    text-decoration: none;
    margin: 0 5px;
}

footer a:hover {
    text-decoration: underline;
}

/* Password Toggle Styles */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px;
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-20%); /* Ajuste fino para centrar verticalmente considerando el margin-top del input */
    cursor: pointer;
    font-size: 1.2rem;
    color: #888;
    -webkit-user-select: none;
    user-select: none;
}

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