body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: url('../imagenes/fondo.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.auth-container {
    max-width: 600px;
    margin-left: 50px;
    padding: 150px;

    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    text-align: center;
}

.auth-container h2 {
    font-size: 2rem;
    color: #873b8b;
    margin-bottom: 20px;
}

.auth-container p {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #5a3d57;
}

.auth-container a {
    color: #a14ca0;
    text-decoration: none;
    font-weight: bold;
}

.auth-container label {
    display: block;
    text-align: left;
    margin: 12px 0 5px;
    font-weight: bold;
    color: #4a2b48;
}

.auth-container input,
.auth-container select,
.auth-container textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #d7b7cb;
    background-color: #fff0f7;
    font-size: 1rem;
    margin-bottom: 16px;
    transition: border-color 0.3s ease;
}

.auth-container input:focus,
.auth-container textarea:focus {
    border-color: #c07abd;
    outline: none;
}

.auth-container button {
    background-color: #d16db3;
    color: white;
    padding: 13px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease, transform 0.2s;
}

.auth-container button:hover {
    background-color: #a94c91;
    transform: scale(1.02);
}

 .password-container {
    position: relative;
    width: 100%;
  }

  .password-container input {
    width: 100%;
    padding-right: 40px; /* Espacio para el ícono */
    box-sizing: border-box;
  }

  .eye-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #888;
    user-select: none;
  }

  .error {
    display: none;
    color: red;
    font-size: 0.85em;
    margin-top: 5px;
  }

/* RESPONSIVO */
@media (max-width: 768px) {
    body {
        justify-content: center;
        padding: 20px;
    }

    .auth-container {
        margin-left: 0;
        width: 100%;
        max-width: 360px;
    }
}
