﻿/* 🌸 Estilo general de la página */
body.login-page {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #FACFE0, #E1CBE2);
    color: #4d3d4d;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* 🌸 Contenedor del formulario */
.login-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    width: 350px;
    text-align: center;
    transition: 0.3s;
    border: 3px solid #B295C3;
}

    /* 🌸 Efecto sutil al pasar el mouse */
    .login-container:hover {
        transform: translateY(-5px);
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    }

/* 🌸 Título */
h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #B295C3;
    text-transform: uppercase;
}

/* 🌸 Mensaje de error */
.error-message {
    color: #ff5c5c;
    background: rgba(255, 92, 92, 0.2);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-weight: bold;
    animation: fadeIn 0.5s ease-in-out;
}

/* 🌸 Inputs */
input[type="text"], input[type="password"] {
    width: 250px;
    padding: 12px;
    margin: 8px 0;
    border: 2px solid #B295C3;
    border-radius: 5px;
    outline: none;
    font-size: 16px;
    background: #E1CBE2;
    color: #4d3d4d;
    transition: 0.3s;
}

    /* 🌸 Efecto al hacer clic en input */
    input[type="text"]:focus, input[type="password"]:focus {
        border-color: #B2BF93;
        background: white;
        box-shadow: 0px 0px 10px rgba(178, 191, 147, 0.5);
    }

/* 🌸 Botón */
button {
    width: 100px;
    background: #B2BF93;
    color: white;
    padding: 12px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

    /* 🌸 Efecto hover en botón */
    button:hover {
        background: #8CA977;
        box-shadow: 0px 5px 10px rgba(140, 169, 119, 0.5);
    }

/* 🌸 Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
