/* Existing styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 10px;
    background-color: black;
    color: white;
}
textarea {
    width: 100%;
    min-height: 100px; /* Set a minimum height */
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box; /* Ensure padding is included in the height calculation */
    background: black;
    color: white;
    resize: none; /* Disable manual resizing */
    overflow: hidden; /* Hide the scrollbar */
}
button {
    color: white;
    border: 1px solid transparent;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
    background: #ffffff30;
}
button:hover {
    border-color: white;
    font-weight: bold;
}
.save-button {
    margin-top: 10px;
}
.notes-container {
    margin-top: 10px;
}
.note {
    padding: 5px;
    font-size: 12px;
    position: relative;
    word-wrap: break-word;
}
.note:not(:last-child) {
    border-bottom: 1px solid;
}
.note:nth-child(1):not(:last-child) { border-color: #FFB6C1; }
.note:nth-child(2):not(:last-child) { border-color: #98FF98; }
.note:nth-child(3):not(:last-child) { border-color: #ADD8E6; }
.note:nth-child(4):not(:last-child) { border-color: #90EE90; }
.note:nth-child(5):not(:last-child) { border-color: #FFFFE0; }
.note:nth-child(6):not(:last-child) { border-color: #FFDAB9; }
.note:nth-child(7):not(:last-child) { border-color: #E6A9EC; }
.note:nth-child(8):not(:last-child) { border-color: #D2B48C; }
.note:nth-child(9):not(:last-child) { border-color: #E0FFFF; }
.note:nth-child(10):not(:last-child) { border-color: #FF77FF; }
.note:nth-child(11):not(:last-child) { border-color: #D3D3D3; }
.note:nth-child(12):not(:last-child) { border-color: #FFDAB9; }
.note:nth-child(13):not(:last-child) { border-color: #AFEEEE; }
.note:nth-child(14):not(:last-child) { border-color: #E6E6FA; } 
.note:nth-child(15):not(:last-child) { border-color: #FFB3DE; } 

.edit, .delete {
    position: absolute;
    top: 0px;
    background: #80808075;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    text-align: center;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
}
.edit {
    right: 30px;
}
.delete {
    right: 0px;
}
.edit:hover, .delete:hover {
    opacity: 0.8;
    border: 1px solid;
    box-sizing: border-box;
}
pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
}
.edit-text {
    width: 100%;
    height: 100px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    background: black;
    color: white;
}
.save-edit, .cancel-edit {
    margin-top: 5px;
    background-color: #ffffff30;
}

/* Toggle button styles */
.toggle-button {
    position: absolute;
    right: 10px;
    margin-top: 10px;
}