/* Estilos generales */
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

/* Variables para colores y tamaños */
:root {
    --color-primario: #d4af37;
    --color-secundario: #333333;
    --color-fondo: #1c1c1c;
    --altura-input: 10vh;
    --font-size-base: 18px;
}

.custom-contenido-principal-login {
    display: flex;
    flex-direction: row;
    height: 100vh;
    width: 100vw;
    background-color: var(--color-fondo);
}

.custom-sec1-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 40vw;
}

.custom-logo-login {
    height: 10vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: var(--color-primario);
}

.custom-logo-login img {
    max-width: 100%;
    height: auto;
}

.custom-sec2-login {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 60vw;
    background-color: #121212;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.custom-header-login {
    display: flex;
    height: 8vh;
    width: 100%;
    align-items: flex-end;
    justify-content: flex-end;
    padding-right: 30px;
}

.custom-header-login ul {
    height: 100%;
    width: 100%;
    padding-top: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.custom-header-login ul li {
    color: var(--color-primario);
    list-style: none;
    height: 80%;
    width: 10%;
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--font-size-base);
    border-radius: 30px; /* Mantener redondeado siempre */
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, height 0.3s ease-in-out; /* Transiciones para otros efectos */
}

.custom-header-login ul li:hover {
    background-color: var(--color-secundario);
    box-shadow: 0 0 10px var(--color-primario);
    height: 80%; /* Cambio de altura al hacer hover */
}

.custom-login-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 92vh;
    width: 100%;
    padding-left: 100px;
}

.custom-titulo-login {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 15vh;
    width: 100%;
    color: var(--color-primario);
    font-size: 30px;
}

.custom-input-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 20vh;
    width: 100%;
    gap: 60px;
}

.custom-input-login input {
    height: var(--altura-input);
    width: 25vw;
    border-radius: 40px;
    padding: 15px;
    background-color: #1F222C;
    border: 1px solid var(--color-primario);
    color: white;
    font-size: var(--font-size-base);
}

.custom-input-login input::placeholder {
    color: white;
}

.custom-botones-login {
    height: 35vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.custom-fpass-login {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primario);
    height: 6vh;
    width: 100%;
    cursor: pointer;
    font-size: var(--font-size-base);
}

.custom-botones-login button {
    height: 6vh;
    width: 15vw;
    background: var(--color-primario);
    border-radius: 20px;
    font-size: 21px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.custom-botones-login button:hover {
    box-shadow: 0 0 20px var(--color-primario);
}

.custom-header-login a {
    text-decoration: none;
    color: inherit;
}

/* Animaciones */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slide-in {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.custom-sec1-login,
.custom-sec2-login {
    animation: slide-in 1s ease-in-out;
}

.custom-input-login input,
.custom-titulo-login,
.custom-botones-login button,
.custom-fpass-login {
    animation: fade-in 2s ease-in-out;
}

/* Estilos responsivos mejorados */
@media only screen and (max-width: 768px) {
    .custom-contenido-principal-login {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .custom-sec1-login {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 0;
        background-color: rgba(28, 28, 28, 0.3);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .custom-sec1-login .custom-logo-login {
        opacity: 0.6;
        width: 100vw;
        height: auto;
    }

    .custom-sec1-login .custom-logo-login img {
        max-width: 100%;
        height: auto;
    }

    .custom-sec2-login {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1;
        background-color: rgba(18, 18, 18, 0.85);
        width: 90vw;
        border-radius: 10px;
        height: auto;
        clip-path: none;
    }

    .custom-header-login {
        padding: 0px;
        z-index: 2;
    }

    .custom-header-login ul li {
        width: auto;
        font-size: 18px;
        padding: 0px 10px;
    }

    .custom-login-login {
        width: 100%;
        height: auto;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .custom-input-login input {
        max-width: 300px;
        height: 8vh;
    }

    .custom-botones-login button {
        width: 50vw;
    }

    .custom-titulo-login {
        font-size: 24px;
    }

    .custom-botones-login {
        gap: 5px;
    }
}

/* Pantallas más pequeñas (menos de 480px) */
@media (max-width: 480px) {
    .custom-sec1-login {
        height: 100vh;
        background-color: rgba(28, 28, 28, 0.3);
    }

    .custom-sec1-login .custom-logo-login {
        width: 80vw;
        opacity: 0.5;
    }

    .custom-sec2-login {
        width: 85vw;
    }

    .custom-input-login input {
        width: 85vw;
    }

    .custom-botones-login button {
        width: 60vw;
    }

    .custom-titulo-login {
        font-size: 22px;
    }
}