﻿:root {
    --dark-color: #18191f;
    --primary-color: #0F0F0F;
    --primary-lemon-color: #CBFF49;
    --secondary-lemon-color: #A9FF68;
    --gren-color: #7ECBB6;
    --secondary-gren-color: #0C949E;
    --primary-red-color: #FF3B30;
    --ligth-color: #fafafa;
    --li-ligth-color: #f1e4ff;
    --gradient-primary: linear-gradient( 114.2deg, #8e5aa0b0 22.6%, #fe9351b0 67.7% );
    --gradient-secondary: linear-gradient( 52.2deg, #8e5aa0b0 22.6%, #fe9351b0 67.7% );
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    text-decoration: none;
}

html {
    font-family: "Roboto", sans-serif, "Montserrat";
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 62.5%;
    /*color: var(--ligth-color);*/
}

/* Estilo para navegadores basados en WebKit */
::-webkit-scrollbar {
    width: 5px; /* ancho de la scrollbar vertical */
    height: 5px; /* alto de la scrollbar horizontal */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* fondo del track */
    border-radius: 2rem;
}

::-webkit-scrollbar-thumb {
    background: var(--gren-color); /* color del "pulg�n" */
    border-radius: 2rem;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-gren-color); /* al pasar el mouse */
    }


body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*background-color: var(--primary-color);*/
    background-color: #fafafa;
    font-size: 1.6rem;
}

ul, li {
    list-style: none;
}

header {
    display: flex;
    justify-content: center;
    /*background-color: #0F0F0F;*/
}

main {
    height: calc(100vh - 18rem);
    overflow: auto;
}


.container {
    display: flex;
    max-width: 1440px;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-content: center;
    justify-content: flex-start;
}

.no-wrap {
    flex-wrap: nowrap;
}

/* Contenedor fijo */
.alert-wrapper {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000;
}

/* Estilo moderno */
.modern-alert {
    background: #fafafa;
    color: #333;
    border-left: 4px solid var(--secondary-gren-color);
    border-right: 4px solid var(--secondary-gren-color);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', sans-serif;
    font-size: 15px;
    position: relative;
    max-width: 320px;
    animation: slideIn 0.6s ease, fadeOut 0.6s ease 4.4s forwards;
}

/* Bot�n de cerrar */
.close-btn {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 18px;
    color: #888;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .close-btn:hover {
        color: #111;
    }

/* Para ocultar manualmente */
.close-alert-checkbox {
    display: none;
}

    .close-alert-checkbox:checked + .modern-alert {
        display: none;
    }

/* Animaciones */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
        visibility: hidden;
        height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
}

.logo {
    display: flex;
    max-width: 100%;
    height: 80px;
    overflow: hidden;
}

    .logo > img {
        border-radius: 2rem;
    }

.navigations {
    display: flex;
    justify-content: space-between;
    /*height: 70px;*/
    padding: 1rem;
    width: 100%;
}

    .navigations > * {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

.general-options {
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: .5rem; */
    width: 100%;
    background-color: #436AB3;
    border-radius: 3rem;
}

.left-menu, .rigth-menu {
    transition: all .5s ease-in-out;
}

.selected {
    font-weight: 700;
    background-color: var(--primary-lemon-color);
}

.general-options > * {
    display: flex;
    padding: 1rem;
    width: 70%;
    margin: .5rem;
    justify-content: center;
    border-radius: 2rem;
    transition: all .5s ease-in-out;
}

    .general-options > *:hover {
        background-color: var(--primary-lemon-color);
        border-radius: 2rem;
    }


.personal-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*width: 100%;*/
    background-color: #436AB3;
    border-radius: 3rem;
}

    .personal-options > * {
        display: flex;
        padding: 1rem;
        /*width: 100%;*/
        margin: .5rem;
        justify-content: center;
        border-radius: 2rem;
        transition: all .5s ease-in-out;
    }

        .personal-options > *:hover {
            background-color: #D1E39B;
            border-radius: 2rem;
        }

.logout {
    background-color: #7ECBB6;
    border-radius: 2rem;
    transition: all .5s ease-in-out;
}

    .logout:hover {
        /*background-color: rgb(255 37 0 / 76%);*/
        border-radius: 2rem;
        transition: all .5s ease-in-out;
    }


/*UTILS*/

button {
    cursor: pointer;
    border: none;
    outline: none;
    background-color: transparent;
}

.btn {
    display: inline-block;
    justify-content: center;
    align-items: center;
    outline: none;
    border: none;
    font-size: 1.6rem;
    /*width: 100%;*/
    border-radius: 2rem;
    padding: 1rem;
    margin: .5rem;
    /*color: var(--dark-color);*/
    background-color: #D1E39B;
    color: var(--dark-color);
    font-weight: 500;
    cursor: pointer;
    transition: all .5s ease-in-out;
}

.btn-primary {
    color: #fafafa;
}

.btn-success {
    background-color: var(--primary-lemon-color);
    color: #fafafa;
}

.btn-success-hover:hover {
    background-color: var(--primary-lemon-color);
}

.btn-danger {
    background-color: var(--primary-red-color);
    color: #fafafa;
}

.btn-gray {
    background-color: #d7d6d6;
}

.btn:hover {
    transform: scale(1.05);
}

.badge {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: 1rem;
    background-color: #D1E39B;
    color: var(--dark-color);
    font-weight: bold;
    font-size: 1rem;
    transition: all .5s ease-in-out;
    text-align: center
}

.fully {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}


@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .navigations {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .general-options, .personal-options {
        flex-direction: column;
        width: 90%;
        align-items: center;
        border-radius: 2rem;
    }

        .general-options > *, .personal-options > * {
            width: 100%;
            justify-content: center;
            text-align: center;
        }
}

@media (max-width: 768px) {
    .logo {
        justify-content: center;
        width: 100%;
        padding: 1rem;
    }

    .general-options, .personal-options {
        width: 100%;
    }

        .general-options > *, .personal-options > * {
            padding: 1rem;
            font-size: 1.4rem;
        }
}

@media (max-width: 500px) {
    .general-options, .personal-options {
        flex-direction: column;
        gap: 0.5rem;
    }

        .general-options > *, .personal-options > * {
            font-size: 1.3rem;
            padding: 0.8rem;
        }
}


.hamburger-btn {
    display: none;
    font-size: 3rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    margin: 1rem;
    z-index: 1000;
}

@media (max-width: 768px) {
    .hamburger-btn {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .left-menu, .rigth-menu {
        flex-direction: column;
        align-items: center;
        display: none; /* oculto por defecto */
        background-color: #436AB3;
        border-radius: 2rem;
        width: 90%;
        /*margin-top: 6rem;*/
        padding: 1rem;
    }

        .left-menu.active, .rigth-menu.active {
            display: flex;
        }

    .general-options, .personal-options {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

        .general-options > *, .personal-options > * {
            width: 100%;
            justify-content: center;
            padding: 1rem;
            font-size: 1.4rem;
        }
}

.footer-text {
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

    .footer-text a {
        color: #20c997;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-text a:hover {
            color: #17a2b8;
            text-decoration: underline;
        }


.consistent-footer {
    width: 100%;
    height: 7rem;
    display: flex;
    flex-wrap: wrap;
    margin: 1rem 0 0 0;
    border-radius: 3rem 3rem 0 0;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    background-color: #436AB3;
}



.social-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    text-decoration: none;
}

    .footer-social-link:hover .social-icon {
        opacity: 0.8;
        transform: scale(1.1);
        transition: all 0.3s ease;
    }
