/* Achtergrondkleur van de hele pagina */
body {
    background-color: #ffffff;
    font-family: Arial, sans-serif;
}

#note-options {
    margin: 20px;
    font-size: 18px;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    background-color: #ffffff;
}

.note-buttons {
    display: flex; /* Zet de knoppen horizontaal */
    gap: 10px; /* Voeg ruimte tussen de knoppen toe */
}

.note-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.note-button.yellow {
    background-color: #fdfd96; /* Geel */
}

.note-button.red {
    background-color: #ffcccc; /* Rood */
}

.note-button.green {
    background-color: #ccffcc; /* Groen */
}

.note-button.orange {
    background-color: #ffcc99; /* Oranje */
}

.note-button.blue {
    background-color: #add8e6; /* Lichtblauw */ /* Toegevoegd */
}
.note-button.grey {
    background-color: #d3d3d3; /* Grijze achtergrond */
    font-size: 24px; /* Groter lettertype zoals de plusjes */
    color: black; /* Zwarte kleur voor de "i" */
}

#stickyNoteContainer {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.stickyNote {
    width: 200px;
    height: 200px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    position: absolute;
    display: flex;
    flex-direction: column;
    cursor: move;
}

.stickyNoteHeader {
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    font-size: 14px
}
/* Styling voor de klokknop */
.clock-button {
    background-color: transparent; /* Verwijder achtergrondkleur */
    color: black; /* Zwarte kleur voor het kloksymbool */
    border: none; /* Geen rand */
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 20px; /* Maak het kloksymbool goed zichtbaar */
    line-height: 25px; /* Zorg dat het symbool verticaal gecentreerd is */
    vertical-align: middle; /* Uitlijning met andere elementen */
    margin-right: 5px; /* Ruimte tussen klok en sluitknop */
    display: inline-block; /* Inline-block om de juiste uitlijning te behouden */
}

/* Styling voor de sluitknop (rode X) */
.close-button {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    margin-left: 5px;
    display: inline-block;
    line-height: 25px; /* Zorg dat de X ook goed verticaal gecentreerd is */
    vertical-align: middle; /* Uitlijning met de klokknop */
    font-size: 16px;
}

/* Styling voor de datum/tijd span in de header */
.stickyNoteHeader span {
    font-size: 14px; /* Pas eventueel de tekstgrootte aan voor consistentie */
    line-height: 25px; /* Zorg dat de tekst verticaal gecentreerd is */
    vertical-align: middle; /* Uitlijning met de knoppen */
}

.stickyNote.yellow {
    background-color: #fdfd96; /* Geel */
}

.stickyNoteHeader.yellow {
    background-color: yellow;
}

.stickyNote.red {
    background-color: #ffcccc; /* Rood */
}

.stickyNoteHeader.red {
    background-color: #ff9999;
}

.stickyNote.green {
    background-color: #ccffcc; /* Groen */
}

.stickyNoteHeader.green {
    background-color: #99ff99;
}

.stickyNote.orange {
    background-color: #ffcc99; /* Oranje */
}

.stickyNoteHeader.orange {
    background-color: #ff9966;
}

.stickyNote.blue { /* Lichtblauw toegevoegd */
    background-color: #add8e6; /* Lichtblauw */
}

.stickyNoteHeader.blue { /* Donkerder blauw voor de header */
    background-color: #87ceeb;
}

/* Ensure the textarea fills the sticky note properly */
/* General sticky note textarea style */
/* General sticky note textarea style */
.stickyNote textarea {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
    padding: 5px;
    resize: none;
    font-size: 14px;
    outline: none;
    overflow: auto;
    box-sizing: border-box;
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: auto transparent; /* Default fallback */
}

/* For Yellow Sticky Note */
.stickyNote.yellow textarea {
    background-color: #ffffcc !important; /* Lichtgele achtergrond om te testen */
    scrollbar-color: #ffff99 transparent !important; /* Match met gele sticky note header */
    scrollbar-width: thin !important;
}

.stickyNote.yellow textarea::-webkit-scrollbar {
    width: 8px !important;
}

.stickyNote.yellow textarea::-webkit-scrollbar-thumb {
    background-color: #ffff99 !important; /* Gele scrollbar kleur */
    border-radius: 10px !important;
    border: 2px solid transparent !important;
}

/* For Red Sticky Note */
.stickyNote.red textarea::-webkit-scrollbar {
    width: 8px;
}

.stickyNote.red textarea::-webkit-scrollbar-thumb {
    background-color: #ff9999; /* Match with red sticky note header */
    border-radius: 10px;
    border: 2px solid transparent;
}

/* For Green Sticky Note */
.stickyNote.green textarea::-webkit-scrollbar {
    width: 8px;
}

.stickyNote.green textarea::-webkit-scrollbar-thumb {
    background-color: #99ff99; /* Match with green sticky note header */
    border-radius: 10px;
    border: 2px solid transparent;
}

/* For Orange Sticky Note */
.stickyNote.orange textarea::-webkit-scrollbar {
    width: 8px;
}

.stickyNote.orange textarea::-webkit-scrollbar-thumb {
    background-color: #ff9966; /* Match with orange sticky note header */
    border-radius: 10px;
    border: 2px solid transparent;
}

/* For Blue Sticky Note */
.stickyNote.blue textarea::-webkit-scrollbar {
    width: 8px;
}

.stickyNote.blue textarea::-webkit-scrollbar-thumb {
    background-color: #87ceeb; /* Match with blue sticky note header */
    border-radius: 10px;
    border: 2px solid transparent;
}

/* Make sure all scrollbars match in Firefox */
.stickyNote.yellow textarea {
    scrollbar-color: #ffff99 transparent; /* Yellow sticky note scrollbar */
}

.stickyNote.red textarea {
    scrollbar-color: #ff9999 transparent; /* Red sticky note scrollbar */
}

.stickyNote.green textarea {
    scrollbar-color: #99ff99 transparent; /* Green sticky note scrollbar */
}

.stickyNote.orange textarea {
    scrollbar-color: #ff9966 transparent; /* Orange sticky note scrollbar */
}

.stickyNote.blue textarea {
    scrollbar-color: #87ceeb transparent; /* Blue sticky note scrollbar */
}




/* Print Styles */
@media print {
    body {
        background-color: white;
    }

    #note-options, #stickyNoteContainer {
        display: none; /* Verberg opties en container tijdens het printen */
    }

    .stickyNote {
        width: 100%; /* Sticky notes nemen de volledige breedte in */
        height: auto; /* Laat de hoogte aanpassen aan de inhoud */
        margin-bottom: 20px; /* Ruimte tussen de notes */
        page-break-inside: avoid; /* Voorkom paginaovergangen in sticky notes */
    }

    .stickyNoteHeader {
        font-size: 16px;
        font-weight: bold;
        padding-bottom: 5px;
    }

    .stickyNote textarea {
        font-size: 14px;
        line-height: 1.5;
        padding-top: 10px;
        border: none;
        background: none;
    }

    /* Force background color printing */
    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}