﻿/* Login.css 
    Se agrega este estilo para darle un toque mas moderno al login en este caso se encuentra en la carpeta login y el archivo es index.
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0e17;
    overflow: hidden;
}

/* Blob de fondo animado */
.background {
    position: fixed;
    top: -55vmin;
    left: -55vmin;
    width: 110vmin;
    height: 110vmin;
    border-radius: 47% 53% 61% 39% / 45% 51% 49% 55%;
    background: #6a65ff;
    z-index: 0;
    animation: blobMove 8s ease-in-out infinite alternate;
}

    .background::after {
        content: "";
        position: inherit;
        right: -55vmin;
        bottom: -55vmin;
        width: inherit;
        height: inherit;
        border-radius: inherit;
        background: #3c85fe;
    }

@keyframes blobMove {
    0% {
        border-radius: 47% 53% 61% 39% / 45% 51% 49% 55%;
    }

    50% {
        border-radius: 60% 40% 50% 50% / 55% 45% 55% 45%;
    }

    100% {
        border-radius: 40% 60% 45% 55% / 50% 60% 40% 50%;
    }
}

/* Tarjeta */
.card {
    position: relative;
    z-index: 3;
    width: 94%;
    max-width: 360px;
    margin: 0 20px;
    padding: 84px 30px 54px;
    border-radius: 48px;
    border: 6px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(44px);
    -webkit-backdrop-filter: blur(44px);
    text-align: center;
    box-shadow: 0 100px 100px rgba(0, 0, 0, 0.10);
}

    .card img {
        width: 100px;
        height: 100px;
        margin-bottom: 30px;
        border: 6px solid rgba(255, 255, 255, 0.14);
        border-radius: 50%;
        padding: 12px;
        object-fit: contain;
        background: rgba(255,255,255,0.06);
    }

    .card h2 {
        color: #f9f9f9;
        font-size: 1.4rem;
        font-weight: 600;
        margin: 0 0 32px;
        letter-spacing: 1px;
    }

/* Formulario */
form {
    display: grid;
    gap: 12px;
    padding: 0 !important;
    margin-top: 0 !important;
}

/* Inputs */
.textbox {
    position: relative;
}

    .textbox i {
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        color: rgba(255, 255, 255, 0.55);
        font-size: 15px;
        pointer-events: none;
    }

input,
button {
    width: 100%;
    height: 56px;
    border-radius: 28px;
    border: 0;
    transition: 0.3s;
}

.textbox input {
    padding: 0 24px 0 50px;
    color: #f9f9f9;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
    outline: none;
}

    .textbox input:focus {
        background: rgba(255, 255, 255, 0.10);
        box-shadow: 0 0 0 2px rgba(106, 101, 255, 0.6);
    }

    .textbox input::placeholder {
        color: rgba(255, 255, 255, 0.32);
    }

/* Botón */
button#Acceso {
    border: 0;
    color: #f9f9f9;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

    button#Acceso:hover {
        background: #6a65ff;
    }

    button#Acceso:active {
        transform: scale(0.98);
    }

/* Footer */
footer {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.82rem;
}

    footer a {
        color: #f9f9f9;
        text-decoration: none;
        font-size: 0.82rem;
    }

        footer a:hover {
            color: #6a65ff;
        }

@media (min-width: 450px) {
    .card {
        margin: 0;
        width: 360px;
    }
}
