body {
    font-family: Arial, sans-serif;
}

#note-form, #chat-form {
    margin-bottom: 20px;
}

#note-title, #note-body, #chat-input {
    width: 100%;
    margin-bottom: 10px;
}
#notes {
    padding: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
}
div#maim-stuff {
    display: flex;
    flex-direction: row;
}
div#chat-stuff {
    width: 30%;
}
div#notes-stuff {
    width: 60%;
}
div#notes > div {
    background: #daecff;
    margin: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    width: 200px;
    border-radius: 30px;
}
#notes > div > div:first-of-type {
    color: #185fab;
    font-size: 27px;
    font-weight: 600;
    text-transform: capitalize;
}
#notes > div > div:nth-of-type(2) {
    color: #185fab;
    padding: 12px 0px;
    font-size: 15px;
}
#notes > div > button {
    background: #185fab;
    border: none;
    color: #fff;
    margin: 5px 0px;
    padding: 6px;
    border-radius: 13px;
    cursor: pointer;
    width: 80px;
}
#notes > div > input:first-of-type {
    color: #185fab;
    font-size: 22px;
    font-weight: 600;
    text-transform: capitalize;
    background: #ebf5ff;
    border: none;
    border-radius: 13px;
    padding: 5px;
}
#notes > div > textarea {
    color: #185fab;
    margin: 12px 0px;
    background: #ebf5ff;
    border: none;
    border-radius: 13px;
    padding: 5px;
    font-size: 15px;
    height: 145px;
}
div#user-message {
    background: #185fab;
    border: none;
    color: #fff;
    margin: 5px 0px;
    padding: 10px;
    border-radius: 13px;
    width: fit-content;
    margin-left: auto;
    margin-top: 15px;
}

div#assistant-message {
    background: #daecff;
    border: none;
    color: #185fab;
    margin: 5px 0px;
    padding: 10px;
    border-radius: 13px;
    width: fit-content;
    margin-right: auto;
    margin-top: 15px;
}
div#chat-stuff {
    width: 30%;
    padding: 30px;
    margin: 5px 20px;
    background: #daecff;
    height: 86vh;
    border-radius: 30px;
    position: fixed;
    right: 0px;
    display: flex;
    flex-direction: column-reverse;
}
textarea#chat-input {
    color: #185fab;
    margin: 12px 0px;
    background: #f2f9ff;
    border: none;
    border-radius: 13px;
    padding: 5px;
    font-size: 15px;
}
div#chat-log {
    overflow-y: scroll;
}
#chat-log {
    overflow-y: auto;
    height: 80%;
}

#chat-log::-webkit-scrollbar {
    width: 10px;
}

#chat-log::-webkit-scrollbar-track {
    background: #f2f9ff00;
}

#chat-log::-webkit-scrollbar-thumb {
    background: #185fab;
    border: 4px solid #f2f9ff;
}

#chat-log::-webkit-scrollbar-thumb:hover {
    background: #555;
}
div#buttons > button {
    background: #185fab;
    border: none;
    color: #fff;
    padding: 10px;
    border-radius: 13px;
    cursor: pointer;
}
div#buttons {
    display: flex;
    justify-content: space-between;
}
div#chat-log {
    background: #f2f9ff;
    border-radius: 13px;
    padding: 12px;
}
#ai-thinking {
    display: none;
    color: #185fab;
    font-weight: bold;
    margin-top: 10px;
}
input#note-title {
    color: #185fab;
    margin: 8px 0px;
    background: #f2f9ff;
    border: none;
    border-radius: 13px;
    padding: 5px;
    font-size: 15px;
}
textarea#note-body {
    color: #185fab;
    margin: 8px 0px;
    background: #f2f9ff;
    border: none;
    border-radius: 13px;
    padding: 5px;
    font-size: 15px;
}
button {
    background: #185fab;
    border: none;
    color: #fff;
    margin: 5px 0px;
    padding: 10px;
    border-radius: 13px;
    cursor: pointer;
}
div#note-form {
    padding: 30px;
    margin: 5px 20px;
    background: #daecff;
    border-radius: 30px;
}
div#title {
    color: #185fab;
    font-size: 27px;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 12px;
}
::placeholder {
  color: #185fabb5;
}
div#import-export {
    display: flex;
    justify-content: space-between;
    margin: 0px 20px;
}
div#note-form {
    display: block;
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 35px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.modal-content {
    padding: 30px;
    margin: 5px 20px;
    background: #daecff;
    border-radius: 30px;
    color: #185fab;
}
.close {
    color: #185fab;
}
div#note-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
/* CSS for mobile devices */
@media (max-width: 600px) {
  #maim-stuff {
    display: none!important;
  }

  #mobile-message {
    display: block;
    text-align: center;
    padding: 20px;
  }
}

/* CSS for desktop devices */
@media (min-width: 601px) {
  #mobile-message {
    display: none;
  }
}
