
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'sans-serif';
    scroll-behavior: smooth;
}


.toolkit {
    display: flex;
    gap: 10px;
    align-items: center;
}

.toolkit a{
    text-decoration: none;
    color: black;
}


.side-navbar {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 20px;
    border-right: 1px solid rgb(216, 216, 216);
    padding: 20px;
}

/* Journal section */
#journal-section {
    outline: 1px solid rgb(202, 202, 202);
    display: flex;
    padding: 20px;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 100px;
}


.journal-entry {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
    padding: 20px;
    height: 600px;
    overflow: hidden;
}

.journal-entry input{
    border: 1px solid rgb(216, 216, 216);
    font-size: 16px;
    resize: none;
    width: 30%;
    border-radius: 10px;
    max-height: 180px;
    line-height: 30px;
    padding: 20px;

}


.journal-entry textarea{
    border: 1px solid rgb(216, 216, 216);
    font-size: 16px;
    resize: none;
    width: 100%;
    border-radius: 10px;
    line-height: 30px;
    padding: 20px;
    height: 100%;

}

#add-entry-btn,
#new-entry-btn,
#update-entry-btn {
    padding: 10px;  
    width: 120px;
    border-radius: 5px;
    border: none;
    color: white;
    background-color: #12BEF0;
}

.journal-icon {
    display: none;
}

.x-icon {
    display: none;
}

.journals {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    width: 20%;
    overflow-y: auto;
    max-height: 600px;
    border-left: 1px solid rgb(216, 216, 216);
    background-color: #fff;
}

.journal-entries-title {
    font-size: 30px;
    font-weight: bold;
    color: #12BEF0;
}
.journal-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    background-color: #F6F6F7;
    cursor: pointer;
    height: 200px;
    max-height: 200px;
    position: relative;
    width: 100%;
}

.journal-item p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 3.6em; 
}

.journal-setting i{
    color: #afafaf;
    font-size: 20px;
    margin-right: 10px;
}




/* Chat section | Mobile version  */
@media only screen and (max-width: 475px) {

    #journal-section {
        position: relative;
    }
    .side-navbar,
    .journals {
        display: none;
    }

    .journal-entry {
        padding: 0;
        width: 100%;
        height: 80vh;
    }

    #item {
        width: auto;
    }

    .journal-icon {
        display: block;
        position: absolute;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
        cursor: pointer;
    }

    .journal-icon i {
        position: absolute;
        bottom: 0px;
        right: 10px;
    }

    .journals.show {
        display: block;
        height: 100%;
        width: 100%;
    }
}