:root {
    --primary: #f59c3d;
    --primary-light: #fff5dd;
    --secondary: #616161;
    --background: #FFF;
    --text: #454545;
    --error: #BD2929;
}

@font-face {
    font-family: 'SpaceGrotesk';
    src: url('/assets/fonts/SpaceGrotesk-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "SpaceGrotesk", sans-serif;
}

body {
    margin: unset;
    background-color: #000;

}

.container {
    padding: 1rem;
    background-color: transparent;
    overflow: hidden;
    height: 100dvh;
    width: 100dvw;
    display: flex;
    justify-content: center;
}

/* Fondo animado con formas geométricas */
.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.shape.circle {
    background: 
        url('../img/LOGO_ISOTIPO_NAR.png') center/cover no-repeat;
}


/* Posiciones y tamaños de las formas */
.shape:nth-child(1) { top: 10%; left: 10%; width: 70px; height: 70px; animation-delay: 0s; }
.shape:nth-child(2) { top: 20%; right: 10%; width: 60px; height: 60px; animation-delay: 0s; }
.shape:nth-child(3) { bottom: 10%; left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
.shape:nth-child(4) { bottom: 40%; right: 20%; width: 90px; height: 90px; animation-delay: 0s; }
.shape:nth-child(5) { top: 50%; left: 5%; width: 40px; height: 40px; animation-delay: 0s; }
.shape:nth-child(6) { top: 80%; right: 5%; width: 30px; height: 30px; animation-delay: 0s; }


@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Partículas flotantes */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 132, 0, 1);
    border-radius: 50%;
    animation: particle-float 8s linear infinite;
}

.particle:nth-child(odd) {
    animation-duration: 12s;
    background: var(--primary-light);
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) translateX(100px);
        opacity: 0;
    }
}

/* Generar partículas */
.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 0s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 0s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 0s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 0s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 0s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 0s;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 0s;
}

.particle:nth-child(10) {
    left: 15%;
    animation-delay: 0s;
}


.login-side {
    height: 100dvh;
    min-width: 50dvw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 100%;
    position: relative;
    background-color: #f59c3d;
    border-radius: 12px;
}

.form__wrapper {
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 28rem;
    width: 100%;
    padding: 2rem 1.5rem;
    background-color: #242424;
    border-radius: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    justify-content: start;
    position: relative;
    gap: 1.25rem;
    width: 100%;
}

.login_form__button {
    background-color: var(--primary);
    color: white;
    white-space: nowrap;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 3rem;
    outline: none;
    font-size: 16pt;
    letter-spacing: .05em;
    text-decoration: none;
    cursor: pointer;
    font-weight: 800;
    min-height: 2.5rem;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .15);
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}

.forgot-password {
    color: var(--primary);
    font-size: 12pt;
    font-weight: 600;
    letter-spacing: .03rem;
    text-decoration: none;
    margin-top: -1rem;
    margin-bottom: unset;
    cursor: pointer;
}

.error-message {
    color: var(--error);
    font-size: 12pt;
    font-weight: 600;
    letter-spacing: .03rem;
    margin-top: 0;
    margin-bottom: unset;
}