body {
    font-family: Arial, sans-serif;
    background-color: #1e1e1e;
    color: #d4d4d4;
    margin: 0;
    padding: 20px;
}

.container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #2d2d2d;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    color: #d4d4d4;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    padding-bottom: 5px;
    border-bottom: 1px solid #444;
    margin-bottom: 5px;
}

#toolbar {
    border-bottom: 1px solid #444;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    border: none; /* Remove border */
    outline: none; /* Remove outline */
}

.ql-toolbar button,
.ql-toolbar select {
    color: #d4d4d4;
    background: #333;
    border: 1px solid #444;
    padding: 5px 10px;
    border-radius: 4px;
}

.ql-toolbar button:hover,
.ql-toolbar select:hover {
    background: #444;
}

.ql-container {
    background: #1e1e1e;
    color: #d4d4d4;
    border: none; /* Remove border */
    outline: none; /* Remove outline */
}

.ql-editor {
    min-height: 200px;
    color: #d4d4d4;
}

#editor {
    height: 300px;  /* Adjust the height as needed */
    border: none; /* Remove border */
    outline: none; /* Remove outline */
}

.bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Ensure items are vertically aligned */
    padding-top: 10px;
    border-top: 1px solid #444;
    margin-top: 20px;
}

button {
    padding: 7px 20px;
    background-color: #2d2d2d; /* Background color similar to the container */
    color: #d4d4d4; /* Text color */
    border: 1px solid #444; /* Border color */
    border-radius: 4px; /* Border radius */
    cursor: pointer;
    margin-left: 5px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

button:hover {
    background-color: #3b3b3b; /* Slightly lighter background on hover */
}

button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(87, 90, 198, 0.5); /* Focus outline */
}

.eye-icon-container {
    display: flex;
    align-items: center;
    background: #2d2d2d;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.eye-icon-container i {
    font-size: 20px; /* Adjust the size as needed */
    color: #d4d4d4;
}

.eye-icon-container span {
    color: #d4d4d4;
    margin-left: 5px;
    font-size: 14px;
    font-weight: bold;
}

#content {
    background-color: #1e1e1e;
    border: 1px solid #444;
    border-radius: 4px;
    height: 300px;
    margin-bottom: 10px;
    padding: 10px;
    overflow-y: auto;
}

/* WebKit-based browsers */
#content::-webkit-scrollbar,
#editor::-webkit-scrollbar {
    width: 12px;
}

#content::-webkit-scrollbar-track,
#editor::-webkit-scrollbar-track {
    background: #2e2e2e;
    border-radius: 4px;
}

#content::-webkit-scrollbar-thumb,
#editor::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
    border: 2px solid #2e2e2e;
}

#content::-webkit-scrollbar-thumb:hover,
#editor::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Firefox */
#content,
#editor {
    scrollbar-width: thin;
    scrollbar-color: #444 #2e2e2e;
}

#content a {
    text-decoration: none;
    color: #007bff;
}

#content a:visited {
    color: pink;
}

/* New styles for the encryption list and dropdown */
.encryption-list {
    list-style: none;
    padding: 0;
}

.encryption-list li {
    background: #3d3d3d;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.encryption-dropdown {
    position: relative;
    display: inline-block;
}

.encryption-dropdown .dropbtn {
    background-color: #2d2d2d;
    color: #d4d4d4;
    padding: 5px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.encryption-dropdown .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #1e1e1e;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
}

.encryption-dropdown .dropdown-content a {
    color: #d4d4d4;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.encryption-dropdown .dropdown-content a .fas {
    margin-right: 8px;
}

.encryption-dropdown .dropdown-content a:hover {
    background-color: #444;
}

.encryption-dropdown:hover .dropdown-content {
    display: block;
}

.delete-link {
    color: red;
}
#title-field {
    margin-top: 20px;
    width: 100%;
}

#title-field input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #2d2d2d; /* Match the input field background with the container */
    color: #d4d4d4; /* Ensure the text color matches the overall theme */
}
/* Remove white border on focus */
#title-field input:focus {
    outline: none;
}

.hidden {
    display: none !important;  /* Use !important to override other styles */
}

/* Ensure links are styled within the Quill editor */
.ql-editor a {
    color: #007bff;  /* Blue color for links */
    text-decoration: underline;
    cursor: pointer;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button */
.dropbtn {
    background-color: #2d2d2d;
    color: #d4d4d4;
    padding: 10px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* User image */
.user-image {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-left: 10px;
}

/* Hamburger icon */
.dropbtn .fas.fa-bars {
    margin-right: 10px;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1e1e1e;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: #d4d4d4;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #444;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #3b3b3b;
}
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #1e1e1e; /* Adjust background color as needed */
    text-align: center;
    padding: 10px 0;
}

footer a {
    color: #d4d4d4; /* Adjust link color as needed */
    text-decoration: none;
    margin: 0 15px; /* Space between links */
}

footer a:hover {
    color: #ffffff; /* Adjust hover color as needed */
}
