/*INDEX*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #F4F4F4;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    caret-color: transparent;
}

textarea {
    resize: none;
    caret-color: black;
}

header {
    height: 5%;
    width: 100%;
    box-shadow: 5%;
    background-color: #d6d4d4;
}

.logo {
    margin-top: 4px;
    margin-left: 15px;
    height: 75%;
    width: auto;
}

main {
    height: 85%;
    width: 100%;
}

section {
    overflow-y: auto;
    height: 90%;
    width: 100%;
}

nav {
    height: 10%;
    width: 100%;
    display: flex;
    position: fixed;
}

nav button {
    color: black;
    background-color: #F4F4F4;
    border-radius: 10px;
    border: 0px;
    height: 100%;
    width: 33.3%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#checklist {

}

nav button:hover {
    background-color: #d6d4d4;
    cursor: pointer;
}

#menu {
    max-width: 10%;
}

.MenuContent {
    display: none; /* escondido inicialmente */
    position: fixed;
    top: 48%;
    left: 90%;
    background-color: #F4F4F4;
    z-index: 2;
    width: 10%;
    height: 25%;
}

.MenuContent button{
    width: 100%;
    height: 33.3%;
    border-radius: 10px;
    font-weight: bold;
}

.buttonLogo {
    width: auto;
    height: 100%;
    overflow: hidden;
}

footer {
    height: 10%;
    width: 100%;
    position: fixed;
}

/*PROJECTS SCREEN*/

.ProjectList {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.ProjectList button {
    color: black;
    background-color: #F4F4F4;
    border-radius: 10px;
    border: 0;
    height: 10%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px;
    position: relative;
    text-align: left;
    font-size: 16px;
}

.ProjectList button:nth-child(even) {
    background-color: #eeeded;
}

.ProjectList button:hover {
    background-color: #d6d4d4;
    cursor: pointer;
}

.id {
    font-weight: bold;
}

.title {
    font-weight: bold;
    position: absolute;
    margin-left: 5%;
}

.description {
    font-size: 12px;
    color: gray;
    position: absolute;
    right: 12px;
    bottom: 8px;
}

#cadProject {
    color: black;
    background-color: #F4F4F4;
    border-radius: 10px;
    border: 0;
    height: 10%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
}

#cadProject:hover {
    background-color: #d6d4d4;
    cursor: pointer;
}

/*modal add project*/
.AddProjectModal {
    background-color: #F4F4F4;
    border-radius: 25px;
    width: 50%;
    height: 50%;
    max-width: 300px;
    max-height: 500px;
    box-shadow: 0px 4px 30px 5px black;
    align-items: center;
    justify-content: center;
    display: none;
    flex-direction: column;
    z-index: 1;
    margin: 0 auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.AddProjectModal textarea{
    border-radius: 10px;
    border: 0;
    width: 79%;
    height: 15%;
    margin-top: 15px;
}

#AddProjectButton {
    border-radius: 10px;
    color: black;
    background-color: #8dffaf;
    cursor: pointer;
    height: 9%;
    width: 79%;
    border: 0;
    margin-top: 8%;
}

#AddProjectButton:hover {
    background-color: #60fc8e;
}

/*CHECKLIST SCREEN*/

.ChecklistList {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 80%;
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    overflow-y: auto;
}

.ChecklistList input[type="checkbox"] {
    transform: scale(1.2);
    cursor: pointer;
    margin: 7px 15px;
}

.ChecklistList li:nth-child(even) {
    background-color: #eeeded;
}

.ChecklistList label:hover {
    cursor: pointer;
}

#block {
color: black;
    background-color: #F4F4F4;
    border-radius: 10px;
    border: 0;
    height: 20%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
}

#cadChecklist {
    color: black;
    background-color: #F4F4F4;
    border-radius: 10px;
    border: 0;
    height: 10%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
}

#cadChecklist:hover {
    background-color: #d6d4d4;
    cursor: pointer;
}

/*modal add checklist*/
.AddChecklistModal {
    background-color: #F4F4F4;
    border-radius: 25px;
    width: 50%;
    height: 50%;
    max-width: 300px;
    max-height: 500px;
    box-shadow: 0px 4px 30px 5px black;
    align-items: center;
    justify-content: center;
    display: none; /*MUDAR PARA NONE*/
    flex-direction: column;
    z-index: 1;
    margin: 0 auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.AddChecklistModal textarea {
    border-radius: 10px;
    border: 0;
    width: 79%;
    height: 20%;
}

#AddChecklistButton {
    border-radius: 10px;
    color: black;
    background-color: #8dffaf;
    cursor: pointer;
    height: 9%;
    width: 79%;
    border: 0;
    margin-top: 8%;
}

#AddChecklistButton:hover {
    background-color: #60fc8e;
}

/*NOTES SCREEN*/

.noteList {
    width: 100%;
    height: 86.7%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    padding: 16px;
}

.noteList button {
    background-color: #fdfdfd;
    border-radius: 25px;
    width: auto;
    height: auto;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
    border: none;
    color: black;
    align-items: start;
    min-width: 140px;
    max-width: 200px;
    min-height: 100px;
    max-height: 150px;
    white-space: nowrap;
}

.noteList button:hover {
    background-color: #d6d4d4;
    cursor: pointer;
}

.noteList::after {
    content: "";
    display: block;
    height: 215px;
}

#cadNote {
    color: black;
    background-color: #F4F4F4;
    border-radius: 10px;
    border: 0;
    height: 10%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
}

#cadNote:hover {
    background-color: #d6d4d4;
    cursor: pointer;
}

/*modal add notes*/
.AddNotesModal {
    background-color: #F4F4F4;
    border-radius: 25px;
    width: 50%;
    height: 50%;
    max-width: 300px;
    max-height: 500px;
    box-shadow: 0px 4px 30px 5px black;
    align-items: center;
    justify-content: center;
    display: none; /*MUDAR PARA NONE*/
    flex-direction: column;
    z-index: 1;
    margin: 0 auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.AddNotesModal textarea {
    border-radius: 10px;
    border: 0;
    width: 79%;
    height: 15%;
    margin-top: 15px;
}

#AddNotesButton {
    border-radius: 10px;
    color: black;
    background-color: #8dffaf;
    cursor: pointer;
    height: 9%;
    width: 79%;
    border: 0;
    margin-top: 8%;
}

#AddNotesButton:hover {
    background-color: #60fc8e;
}

/*see the note modal*/
.NoteModal {
    background-color: #F4F4F4;
    border-radius: 25px;
    width: 50%;
    height: 50%;
    max-width: 300px;
    max-height: 500px;
    box-shadow: 0px 4px 30px 5px black;
    align-items: center;
    justify-content: center;
    display: none; /*MUDAR PARA NONE*/
    flex-direction: column;
    z-index: 1;
    margin: 0 auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.NoteModal button {
    border-radius: 10px;
    color: black;
    background-color: #d6d4d4;
    cursor: pointer;
    height: 9%;
    width: 79%;
    border: 0;
    margin-top: 2%;
}

.NoteModal button:hover {
    background-color: #c2c0c0;
}

/*CHAT IA*/
/*TROCAR AS CORES*/
.HistoricIA {
    display: flex;
    width: 100%;
    height: 75%;
    flex-direction: column;
    align-items: center;
    flex-direction: column-reverse;
    /*CONFIRMAR SE VAI SER NECESSARIO*/
    overflow-y: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.HistoricIA div {
    word-wrap: break-word;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    border-radius: 25px;
    padding: 10px 14px;
    max-width: 80%;
    margin-bottom: 10px;
}

.Context {
    align-self: center;
    background-color: transparent;
}

.User {
    align-self: flex-end;
    background-color: grey;
}

.IA {
    align-self: flex-start;
    background-color: blue
}

#TextToIA {
    width: 100%;
    height: auto;
}

/*SCRUM SCREEN*/

.ScrumList {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.ScrumList button {
    color: black;
    background-color: #F4F4F4;
    border-radius: 10px;
    border: 0;
    height: 10%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px;
    position: relative;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
}

.ScrumList button:nth-child(even) {
    background-color: #eeeded;
}

.ScrumList button:hover {
    background-color: #d6d4d4;
    cursor: pointer;
}

/*modal add scrum*/
.AddScrumModal {
    background-color: #F4F4F4;
    border-radius: 25px;
    width: 50%;
    height: 50%;
    max-width: 300px;
    max-height: 500px;
    box-shadow: 0px 4px 30px 5px black;
    align-items: center;
    justify-content: center;
    display: none;
    flex-direction: column;
    z-index: 1;
    margin: 0 auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.AddScrumModal textarea{
    border-radius: 10px;
    border: 0;
    width: 79%;
    height: 15%;
    margin-top: 15px;
}

#AddScrumButton {
    border-radius: 10px;
    color: black;
    background-color: #8dffaf;
    cursor: pointer;
    height: 9%;
    width: 79%;
    border: 0;
    margin-top: 8%;
}

#AddScrumButton:hover {
    background-color: #60fc8e;
}

/*MODALS GERAL*/

/*GERAL ITENS*/
#CancelButton {
    color: #D93030;
    border: 0;
    cursor: pointer;
    background-color: transparent;
    margin-top: 2%;
    margin-bottom: 5%;
}

#CancelButton:hover {
    color: #ff0000; 
}

/*IS EMPTY MODAL VERIFICATION*/
.IsEmptyModal {
    background-color: #F7F7F0;
    border-radius: 25px;
    width: 60%;
    height: 40%;
    max-width: 200px;
    max-height: 150px;
    box-shadow: 0px 4px 30px 5px black;
    align-items: center;
    justify-content: center;
    display: none;
    flex-direction: column;
    position: fixed;
    z-index: 2;
    margin: 0 auto;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#FillFieldButton {
    border-radius: 10px;
    color: black;
    background-color: #8dffaf;
    cursor: pointer;
    height: 20%;
    width: 50%;
    border: 0;
    margin-top: 8%;
}

#FillFieldButton:hover{
    background-color: #60fc8e;
}

/*CONFIRM DELETE MODAL*/
.ConfirmDeleteModal {
    background-color: #F7F7F0;
    border-radius: 25px;
    width: 60%;
    height: 40%;
    max-width: 200px;
    max-height: 150px;
    box-shadow: 0px 4px 30px 5px black;
    align-items: center;
    justify-content: center;
    display: none;
    flex-direction: column;
    position: absolute;
    z-index: 2;
    margin: 0 auto;
}

#ConfirmDelete {
    border-radius: 10px;
    color: black;
    background-color: #8dffaf;
    cursor: pointer;
    height: 20%;
    width: 50%;
    border: 0;
    margin-top: 8%;
}

#ConfirmDelete:hover{
    background-color: #60fc8e;
}

