/* Variables de color */
:root {
    --vitai-color: #2E8B57; 
    --darkblue-color: #011732;
    --white-color: #f5f5f5;
    --grey-color: #B1C3D1;
    --highlight-color: #3EB489;  
    --soft-background: #f1f1f1;  
    --background-light-green: #DFF0D8;
}


html,body {
    font-family: 'Cera Pro', sans-serif;

    /* background: url('/static/images/fondo-agroecobot.jpeg') no-repeat center center fixed; */
    /* background: transparent;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%; */


             /* height: 100vh;
            width: 100vw;

            background-size: cover;
            box-sizing: border-box;
            max-width: 100%;
            max-height: 100%;
            */

        }

        /* Contenedor exclusivo para centrar el mensaje de bienvenida */
        .welcome-container {
            height: 100vh;
            width: 100vw;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
        }


        .welcome-message {
            background: rgba(0, 0, 0, 0.75);
            padding: 30px;
            border-radius: 15px;
            max-width: 50vw;
            text-align: center;
            box-shadow: 0px 0px 15px rgba(0, 255, 127, 0.6);
            animation: fadeIn 1.5s ease-in-out;
            color: #fff;
        }

        .welcome-title {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 15px;
            text-transform: uppercase;
            color: #32CD32;
            text-shadow: 2px 2px 8px rgba(0, 255, 127, 0.8);
        }

        .welcome-text {
            font-size: 1.2rem;
            line-height: 1.6;
            color: #fff;
            font-weight: 300;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @media (max-width: 768px) {
            .welcome-title {
                font-size: 2rem;
            }
            .welcome-text {
                font-size: 1rem;
            }
            .welcome-message {
                max-width:85vh;
            }
        }

/* Chatbot */
#chatbot {

    position: fixed;
    bottom: 0;
    right: 0;
    border: 0.07rem solid var(--vitai-color);
    border-radius: 0.625rem;
    display: flex;
    flex-direction: column;
    overflow: auto;
    margin-right: 1.25rem;
    transition: width 0.5s ease-in-out, height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    font-family: 'Arial', sans-serif;

    /* height: 100vh;
    max-height: 100vh;
    position: fixed;
    bottom: 0;
    right: 0;
    border: 0.07rem solid var(--vitai-color);
    border-bottom: none;
    border-radius: 0.625rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-right: 1rem;
    transition: width 0.5s ease-in-out, height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    overflow: hidden; */

    /* min-height: 80vh;  */
    
}

/* Header */
#chat-header {
    background-color: var(--vitai-color);
    color: white;
    padding: 1.2em;  
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 0.125em 0.3125em rgba(0,0,0,0.1); 
    height: 1.875rem;
    font-family: 'Roboto', sans-serif;
    border-bottom: 0.0625em solid var(--vitai-color);

}

.left-section {
    display: flex;
    align-items: center;
}

.title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}

.response-time {
    font-size: 0.7em;
    margin: 0;
    padding-left: 0.1rem;
    color: var(--white-color);
}

.online-indicator {
    width: 13px;
    height: 13px;
    background-color: var(--highlight-color);
    border-radius: 50%; 
    position: absolute;
    bottom: 0px;
    right: 1px;
}


.header-title {
    color: var(--background-light-green);
    margin: 0;
    font-size: 1.3em;
    font-weight: 300;
    margin-bottom:0.2rem;
}


#logo {
    height: 3.75rem;
    margin-right: 0;
    vertical-align: middle;
    margin-top: 0.4375rem;
}

#robot {

    height: 1rem;
    margin-right: 0.1rem;
    vertical-align: middle;
    margin-bottom: 0.15rem;
    margin-left: -0.3rem;
    filter: grayscale(100%);
}

.normal {
    width: 25rem;
    height: 32rem;
}

.minimized {
    width: 20rem;
    height: 3rem;
}

.expanded {
    width: 25rem;
    height: 38rem;
}

#minimize {
    background-color: transparent;
    color: white;
    border: none;
    padding: 0.3125rem 0.625rem;
    border-radius: 0.3125rem;
    cursor: pointer;
    font-size: 0.8rem;
}

#minimize:hover {
    cursor: pointer;
    background-color: var(--vitai-color);
    color: var(--darkblue-color);

}

@keyframes pulse-blue {
    0% {
      box-shadow: 0 0 0 0px var(--vitai-color);
    }
    70% {
      box-shadow: 0 0 0 25px rgba(255, 235, 59, 0);
    }
    100% {
      box-shadow: 0 0 0 0px rgba(255, 235, 59, 0);
    }
  }
  

#minimized-chat {
    display: none; 
    position: fixed;
    bottom: 0;
    right: 0;
    margin:1rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color:white;
    border: 3px solid var(--vitai-color);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); 
    background-size: cover;
    z-index: 100;
    transition: box-shadow 0.3s ease, background-color 0.3s ease, transform 0.3s ease; 
    animation: pulse-blue 2s infinite;
}


#minimized-chat:hover {
    cursor: pointer;
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); 
    border: 3px solid var(--vitai-color); 
    background-color: var(--background-light-green);  
    transform: translateY(-8px);
    transition: box-shadow 0.3s ease, background-color 0.3s ease, transform 0.3s ease; 

}

#minimized-chat img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 10%;
    margin: auto;
    display: block;
    padding: 5%;
}

#expand {
    background-color: transparent;
    color: white;
    border: none;
    padding: 0.3125rem 0.625rem;
    border-radius: 0.3125rem;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
}

#expand:hover {
    cursor: pointer;
    background-color: var(--vitai-color);
    color: var(--darkblue-color);

}



#button-group {
    display: flex;
}


#button-group button {
    background: none;
    border: none;
    color: var(--background-light-green);
    opacity: 0.7; 
}

#button-group button:hover {
    opacity: 1; 
}

.avatar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right:1em;
    width: 3.125em; 
    height: 3.125em;
    border: 2px solid var(--vitai-color);
    border-radius: 50%; 
    background-color: white;

    
}
.avatar-wrapper {
    margin-right: 10px;
    max-width: 2.125em; 
    max-height: 2.125em;
    border: 2px solid var(--vitai-color);
    border-radius: 50%; 
}

#avatar-img {
    background-color: transparent;
    padding: 5%;
    max-width: 85%;
    max-height: 85%;
    border-radius: 10%;

}

/* Formulario */
#chat-container-form {
    /* flex-grow: 1;
    overflow-y: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: white; */
    display: flex;
    flex-direction: column;
    height: 100%;
    background:#ffffff;
}


/* ------------------------------- */
/* 🔹 VENTANA 1: INFO */
/* ------------------------------- */
#assistant-type-container {
    /* display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 500px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center; */
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    width: 85%;

    margin: 1rem auto;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* sombra ligera */
}
#assistant-type-container p {
    font-size: 0.75rem;
    color: #333;
    margin: 0.5rem 0;
    line-height: 1.4;
    padding: 0 0.5rem;
}

#form-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 0.8rem;
}

#normative-info {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 5px solid #1b5e20;
    padding: 0.5rem;
    margin: 0.5rem 0;
    font-size: 0.85rem;
    width: 100%;
    border-radius: 8px;
    text-align: left;
}

#normative-info strong {
    color: #1b5e20;
}

.chat-button {
    width: 70%;
    background-color: #2e7d32;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #2e7d32;
}

.chat-button:hover {
    background-color: #1b5e20;
    color: white;
}

/* ------------------------------- */
/* 🔹 RESPONSIVE */
/* ------------------------------- */
@media (max-width: 768px) {
    #assistant-type-container {
        padding: 1rem;
    }

    #form-title {
        font-size: 1.1rem;
    }

    #assistant-type-container p {
        font-size: 0.9rem;
    }

    .chat-button {
        font-size: 0.85rem;
    }
}



/* ------------------------------- */
/* 🔹 VENTANA 2: REGISTRO */
/* ------------------------------- */

#user-form-container {
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    max-width: 450px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center; */
    display: flex;
    flex-direction: column;
    height: 100%;

    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f8f8f8; /* color de fondo */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* sombra ligera */
}
/* 🔹 TÍTULO */
#user-form-container h3#form-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}
/* 🔹 TEXTO DESCRIPTIVO */
#user-form-container p {
    font-size: 0.75rem;
    color: #444;
    margin-bottom: 1.2rem;
}

#user-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#user-form input {
    margin-bottom: 12px;
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border 0.3s ease;
}

#user-form input:focus {
    border-color: #2e7d32;
    outline: none;
}

/* 🔹 CHECKBOXES */
#privacy-notice,
#marketing-consent {
    display: flex;
    align-items: flex-start;
    font-size: 0.8rem;
    color: #444;
    text-align: left;
    margin-bottom: 1rem;
    line-height: 1.4;
}

#privacy-notice input,
#marketing-consent input {
    margin-right: 8px;
    margin-top: 2px;
}

/* ------------------------------- */
/* 🔹 BOTÓN */
/* ------------------------------- */
#register-button {
    width: 50%;
    background-color: #2e7d32;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #2e7d32;
    align-self: center;
}

#register-button:hover {
    background-color: #1b5e20;
    color: white;
}

/* ------------------------------- */
/* 🔹 RESPONSIVE DESIGN */
/* ------------------------------- */
@media (max-width: 768px) {
    #user-form-container {
        padding: 1.5rem;
    }

    #user-form-container h3#form-title {
        font-size: 1.2rem;
    }

    #user-form input {
        font-size: 0.95rem;
    }

    #register-button {
        font-size: 0.95rem;
    }
}

.assistant-options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.assistant-option {
    position: relative;
    padding: 15px 30px;
    background-color: var(--vitai-color); 
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    cursor: pointer; 
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    width: 100%;
    font-size: 1rem;
}
.assistant-option i {
    margin-right: 10px; 
    font-size: 1.1rem;
}

.assistant-option .tooltip {
    visibility: hidden;
    width: 280px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 0.5rem;
    position: absolute;
    z-index: 1;
    bottom: 125%; 
    left: 50%;
    margin-left: -110px; 
    opacity: 0;
    transition: opacity 0.3s;
}

.assistant-option:hover .tooltip {
    visibility: visible;
    opacity: 1;
}


.assistant-option:hover {
    background-color: var(--background-light-green); 
    color: var(--vitai-color); 
    border: 1px solid var(--vitai-color);
    transform: scale(1.05);
}
.assistant-option:active {
    transform: scale(0.95); 
}


/* USUARIO Y CONTRASEÑA PARA CONTROL */
#login-container-form {
    display: flex;
    flex-direction: column;
    height: 100%;
    
}

#login-container-form {
    display: flex;
    flex-direction: column;
    height: 100%;

    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f8f8f8; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
}

#login-form {
    display: flex;
    flex-direction: column;
    width: 80%;
}

#login-form input {
    margin-bottom: 10px; 
    padding: 10px;
    border: 1px solid #ccc; 
    border-radius: 5px;
}

#login-form button {
    padding: 10px 20px;
    background-color: var(--vitai-color); 
    color: white; 
    border: none;
    border-radius: 5px;
    cursor: pointer; 
}

#login-form button:hover {
    background-color: var(--darkblue-color); 
}



/* Conversacion */

#chat-container {
    display: none;
    flex-direction: column;
    height: 100%;
    /* display: none;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
    overflow-y: auto;
    min-height: 0; */
}
#chat-content {
    margin-top:0.5rem;
margin-bottom: 2rem;
}


#chat-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0.625em;
    height: 10rem;
    background-color: white;
    
}

.user-name {
    text-align: right;
    color: black;
    font-size: 0.8em;  
    margin: 0.2em;  
    font-weight: bold;

}

.bot-name {
    text-align: left;
    color: #5590C9;
    font-size: 0.8em;  
    margin: 0.2em;  
    font-weight: bold;
    
}

.user-message-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 0.3em;
}

.user-message {
    text-align: left;
    background-color: var(--vitai-color);
    color: var(--white-color);
    padding-right: 0.45rem;
    padding-left: 0.45rem;
    border-radius: 0.625rem;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: 0.75rem;
    overflow-wrap: break-word;
    white-space: pre-wrap; 
    display: inline-block;
    max-width: 100%;
    margin-bottom: 0.5rem;
    margin-left: 3.5rem;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
   
}
.user-message p{
    white-space: pre-wrap; 
    overflow-wrap: break-word;
    line-height: 1.4;
}


.bot-message-container {
    display: flex;
    align-items: flex-start;
    margin: 0.1em;
}



.bot-message {
    text-align: left;
    background-color: var(--background-light-green);
    color: var(--darkblue-color);
    padding-right: 0.45rem;
    padding-left: 0.45rem;
    border-radius: 0.625rem;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: 0.75rem;
    overflow-wrap: break-word;
    margin-bottom:0.5rem;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);

}

.bot-message p {
    white-space: pre-wrap;
}


.bot-icon {
    background-color: transparent;
    padding: 5%;
    max-width: 85%;
    max-height: 85%;
    border-radius: 10%;
}


/* Footer */
#chat-footer {
    padding: 0.5rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    background-color: white;  
    border-top: 1px solid var(--grey-color);  

}

#chat-input {
    outline: none;
    padding: 0.3125 rem;
    
    border: none;
    resize: none;
    width: 80%;
    font-size: 0.775rem;
    background-color: white; 
    height: 1.2rem;
    max-height: 7rem;
    
    
}

#chat-submit {
    padding: 0.5rem;
    background-color: var(--vitai-color); 
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


#chat-submit.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


#chat-submit:not(.disabled):hover {
    background-color: var(--white-color);  
    color: var(--vitai-color);  
    border: 2px solid var(--vitai-color);  
    cursor: pointer;
}


/* FAQ */
#faq-section {
    position: relative;
    display: none;
    justify-content: flex-end;
    background-color: white;
    z-index: 1000;
  
  }

.faq-container {
    position: absolute;
    display: none;
    flex-direction: column;
    max-height: 10rem; 
    overflow-y: auto;  
    bottom: 1rem;
    right: 0;
    z-index: 1001;
    align-items: flex-end;
  }

  .faq-container.hidden { 
    opacity: 0;
    pointer-events: none;
}
  

#quick-questions {
    position: absolute;
    bottom: 0rem;
    right: 0;
    display: flex;
    justify-content:flex-end;
    
    padding: 0.4em;
}

#faq-button{
    background-color: white;

}
#faq-button:hover{
background-color: var(--background-light-green);

    }

.button-faq {
    background-color: white;
    border: 2px solid var(--vitai-color); 
    padding: 0.3rem;
    color: var(--vitai-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.7em;
    margin:0.3em;
    
    text-align:left;
    width: fit-content;

    
}

.button-faq:hover {
    background-color:var(--background-light-green);
    color:var(--vitai-color);
    cursor: pointer;
}

.close-button {
    background-color: transparent;
    border:none;
    font-size: 24px;
    cursor: pointer;
    color: var(--black-color);

}

  
/* Powered by */
#powered-by {

    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 0rem;
    background-color: var(--vitai-color);

    color: var(--white-color);
  
    
    font-size: 0.7rem;
    border-top: 1px solid #5590C9;
    
}

#powered-by p {
    display: inline-block;
    vertical-align: middle;
    padding:0;
    margin:0;
}



#powered-by img {
    height: 1.5rem; 
    margin-left: 0.5rem;
    margin-top:0;

    padding:0.5rem;


}
@keyframes pulse-logo {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1); 
    }
    100% {
      transform: scale(1);
    }
  }
  
  #powered-by img:hover {
      animation: pulse-logo 1s infinite;
  }







/* Spinner */
#spinner-container {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding:0.2rem;
    transition: all 0.3s ease-in-out;
    background-color:white;
    border:none;
}

#avatar-with-spinner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;  
    height: 35px; 
}

.loader {
    border-top: 4px solid var(--vitai-color);  
    color:var(--vitai-color);
    border-radius: 50%;
    width: 35px;  
    height: 35px; 
    animation: spin 1s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;  

}

#spinner-container.show .loader {
    opacity: 1; 
}

#spinner-message {
    font-size: 1rem;
    text-align: center;
    font-family: 'Cera Pro', sans-serif;
    color:var(--vitai-color);
    opacity: 0.8;
}

#register-button:disabled {
    background-color: var(--background-light-green) !important;
    color: #666 !important;
    opacity: 0.7;
    cursor: not-allowed;
    transition: all 0.3s ease-in-out;
}

        /* Efecto de carga en el botón */
        #register-button.loading::after {
            content: "";
            display: inline-block;
            width: 12px;
            height: 12px;
            margin-left: 10px;
            border: 1px solid #fff;
            border-top-color: var(--vitai-color);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

.hidden {
    display: none;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 480px) {
    #spinner-message {
        font-size: 0.8rem;
    }


    #chatbot {
        width: 99%; 
        min-height: 82vh;
        max-height: 90vh; 
        position: fixed;
        margin-right: 0rem;
        bottom: 0;
        
        border-radius: 1rem;
    }

    #chat-header, #chat-footer {
        padding: 1rem;
    }

    
    #chat-container {
        height: 70vh; 
        overflow: hidden;
    }

    .header-title, #spinner-message {
        font-size: 1rem;
    }

    .avatar-container {
        margin-right: 0.5em;  
    }



    #avatar-img {
        width: 40px;
        height: 40px;
    }

    #chat-body {
        overflow-y: auto; 
        max-height: calc(70vh - 4rem); 
    }

    .user-message, .bot-message {
        font-size: 0.8rem; 
    }
    #expand {
        display:none;
    }
}



/* CATEGORIAS */
/* ------------------------------- */
/* 🔹 CONTENEDOR SELECCIÓN CATEGORÍA */
/* ------------------------------- */
#category-selection-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    max-width: 400px;
    margin: 1rem auto;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* ------------------------------- */
/* 🔹 TEXTO Y TÍTULOS */
/* ------------------------------- */
#category-selection-container h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 1rem;
}

/* ------------------------------- */
/* 🔹 SELECTOR DE CATEGORÍA */
/* ------------------------------- */
#category-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #2e7d32;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

#category-select:focus {
    border-color: #1b5e20;
    outline: none;
}

#category-help-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
}

/* ------------------------------- */
/* 🔹 BOTÓN CONFIRMAR */
/* ------------------------------- */
#confirm-category {
    width: 100%;
    background-color: #2e7d32;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

#confirm-category:hover {
    background-color: #1b5e20;
}


/* ------------------------------- */
/* 🔹 RESPONSIVE DESIGN */
/* ------------------------------- */
@media (max-width: 768px) {
    #category-selection-container {
        width: 90%;
        padding: 1.5rem;
    }

    #category-selection-container h3 {
        font-size: 1.2rem;
    }

    #category-select {
        font-size: 0.9rem;
    }

    #confirm-category {
        font-size: 0.9rem;
    }
}


/* 🔹 Botón flotante para cambiar categoría */
#change-category {
    position: absolute;
    top: 73px;   /* Ajusta la distancia desde arriba */
    right: 15px; /* Lo coloca en la parte derecha */
    background-color: var(--vitai-color);

    color: white;
    border: none;
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    z-index: 10;
}

#change-category i {
    font-size: 0.9rem;
}

/* 🔹 Efecto hover */
#change-category:hover {
    background-color: var(--background-light-green);

    color: var(--vitai-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* 🔹 Ajuste responsivo */
@media (max-width: 768px) {
    #change-category {
        top: 70px;
        right: 10px;
        padding: 4px 10px;
        font-size: 0.7rem;
    }
}

