body {
    font-family: Arial, sans-serif;
    margin: 20px;
    text-align: center;
    background-color: aliceblue ;
}
button, select {
    margin: 5px;
    padding: 9px;
    font-size: 16px;
    border-width: 1px;
    cursor: pointer;
    border-radius: 5px;
}
button:hover {
    background: #ccc;
}
#editor:empty:before {
    content: "Start typing your notes... Experience some special features by tapping on 📂 File";
    color: gray;
    font-style: italic;
    pointer-events: none; /* Prevents user interaction */
}
#editor-container {
    width: 100%;
    height: 75vh;
    border: 1px solid #ccc;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    overflow: hidden;
    position: relative;
}

#editor {
    flex: 1;
    padding: 15px;
    font-size: 16px;
    outline: none;
    overflow-y: auto;
    white-space: pre-wrap;
    text-align: left;
}
.toolbar {
    display: flex;
    align-items: center;
    background-color: #f1f1f1;
    padding: 8px;
    border-radius: 7px;
    position: relative;
}

/* Dropdown stays inline with other buttons */
.dropdown {
    position: relative;
    margin-right: 10px; /* Space between dropdown and other buttons */
}

/* Styling for dropdown button */
.dropbtn {
    background-color: #5e17eb;
    color: white;
    padding: 10px 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.dropbtn:hover{
    background: #ccc;
    color: black;
}

/* Dropdown menu */
.dropdown-content {
    display: none;
    position: absolute;
    bottom: 100%; /* Makes the menu appear above the button */
    left: 0;
    background-color: white;
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
    z-index: 1001;
}

/* Dropdown Content Buttons */
.dropdown-content button {
    background: none;
    border: none;
    width: 85%;
    padding: 10px;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
}

/* Hover Effect */
.dropdown-content button:hover {
    background-color: #ddd;
}

/* Show dropdown when hovering over the button */
.dropdown:hover .dropdown-content {
    display: block;
}

