
.container-creacion {
    
    /* Titulo de cada seccion del formulario */
    h2 {
        font-size: 30px;
        font-weight: bold;
        margin: 0px;
        color: var(--black);
    }
    h3 {
        font-size: 16px;
        font-weight: 600;
        margin-top: 0px;
        margin-bottom: 20px;
        color: var(--black);
        align-self: flex-start;
        background-color: var(--blue-1);
        padding: 10px;
    }

    /* Cada elemento de el formulario, una linea */
    .elemento-formulario {
        display: grid;
        grid-template-columns: 28% 68%;
        justify-content: space-between;
        width: 100%;
        align-items: top;
        box-sizing: border-box;

        label {
            font-size: 16px;
            font-family: 'Montserrat';
            color: var(--black);
        }
        .label-grupo {
            font-weight: 500;
            text-align: right;
        }
    }

   
    /* Conjunto de opciones radio */
    .radio-group {
        display: flex;
        flex-direction: column; /* Alinear los botones de radio en una columna */
        gap: 10px;

        label input {
            padding: 0;
            margin: 0;
        }
    }

    /* Textinput de una linea */
    .textinput-linea {
        height: auto;
        width: 100%;
        resize: none;
        font-size: 16px;
        padding: 6px;
        border: 1px solid var(--black);
        box-sizing: border-box;
        margin: 0 0px;
        font-family: 'Montserrat';
        font-weight: 400;
    }
    .textinput-linea:focus {
        outline: none;
    }

    /* Textarea para texto corto: */
    .textarea-corto {
        width: 100%;
        height: auto;
        resize: none;
        
        padding: 10px;
        border: 1px solid var(--black);
        box-sizing: border-box;
        overflow-y: auto; /* Permite el desplazamiento vertical */
        margin: 0;
        
        font-family: 'Montserrat';
        font-weight: 400;
        font-size: 16px;
    }
    .textarea-corto:focus {
        outline: none;
    }

    input[type="checkbox"] {
        margin-bottom: 16px;
    }
    input[type="file"] {
        display: none;
    }

    .custom-select {
        width: fit-content; /* Adjust width as needed */
        padding: 4px;
        padding-right: 16px;
        font-size: 16px;
        background-color: var(--white-0);
        border: 1px solid var(--black);
        color: var(--black);

    }
    
    /* Optional: Style each option element */
    .custom-select option {
        font-size: 16px;
        color: var(--black);
    }

    /* Relacionado con el chat */
    .box-conversacion {
        max-height: 400px;
        min-height: 400px;
        overflow-y: scroll;
        margin-bottom: 16px;
        padding: 15px;
        background: none;
        border: none;
        scrollbar-width: thin; /* For Firefox */
        scrollbar-color:  var(--blue-2) transparent; /* For Firefox */
    }

    /* For WebKit browsers like Chrome, Edge, Safari */
    .box-conversacion::-webkit-scrollbar {
        width: 4px; /* Set width for vertical scrollbar */
    }

    .box-conversacion::-webkit-scrollbar-thumb {
        background-color: var(--blue-2); /* Scrollbar color */
        border-radius: 10px; /* Rounded edges for the scrollbar thumb */
    }

    .box-conversacion::-webkit-scrollbar-track {
        background: transparent; /* Background color of the scrollbar track */
    }

    .chat-input {
        display: flex;
        flex-direction: row;
        height: fit-content;
        align-items: center;
        gap: 16px;
    }

    .chat-question, .chat-answer {
        padding: 10px;
        display: inline-block;
        margin-bottom: 10px;
        clear: both;
        font-size: 16px;
        line-height: 30px;
        border-radius: 20px;
        max-width: 800px;
    }
    .chat-question {
        background-color: var(--orange-0);
        text-align: left;
        float: left;
        border-bottom-left-radius: 0px;
    }
    .chat-answer {
        background-color:  var(--blue-1);
        text-align: left;
        float: right;
        border-top-right-radius: 0px;
    }

    .chat-button-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: fit-content;
        height: 100%;
        gap: 8px;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
    }

    .black-button-primary.chat, .black-button-secondary.chat {
        height: 100%;
    }
    .textarea-corto.chat {
        height: 100%;
    }
}
