/* Estilo general del fondo */
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background-color: #2c2f33; /* fondo semi oscuro */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Contenedor del formulario */
.login-container {
    background-color: #ffffff; /* blanco */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    width: 320px;
    text-align: center;
}

/* Logo */
.login-container img {
    width: 120px;
    margin-bottom: 20px;
}

/* Inputs */
.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0 20px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Botón */
.login-container button {
    background-color: #2c2f33;
    color: #fff;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.login-container button:hover {
    background-color: #1c1e22;
}

.login-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.link-button {
    background: transparent;
    border: none;
    color: #2c2f33;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
}
.link-button:hover {
    color: #1c1e22;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    z-index: 9999;
}
.modal.show {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.modal-content h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #2c2f33;
}
.modal-content p {
    margin: 6px 0 12px 0;
}
.modal-content input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.modal-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 6px;
}
.modal-actions button {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}
.modal-actions button#resetSend {
    background: #2c2f33;
    color: #fff;
}
.modal-actions button.ghost {
    background: #f1f5f9;
    color: #1c1e22;
    border: 1px solid #d0d7e5;
}
.feedback {
    font-size: 13px;
    margin-top: 8px;
    min-height: 18px;
}
.feedback.success { color: #15803d; }
.feedback.error { color: #b91c1c; }
.feedback.info { color: #1d4ed8; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
