body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid, .notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    align-items: center;
}

.folder, .note, .new-item {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder {
    background-color: #fef9c3;
    border: 2px solid #d1d5db;
    margin-top: 10px;
}

.note {
    background-color: #fef68a;
    cursor: default;
}

.folder:hover, .note:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 8px 8px 0 0;
    opacity: 0.7;
}

.folder-title, .note-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span, .note-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date, .note-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 80px;
    height: 80px;
    color: #9ca3af;
    padding: 10px;
    box-sizing: border-box;
    margin: 10px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

.new-item:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.new-item i {
    font-size: 24px;
    margin-bottom: 5px;
}

.new-item span {
    font-weight: 500;
    font-size: 12px;
    text-align: center;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button, .edit-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
}

.delete-button {
    color: #e74c3c;
    top: 10px;
    right: 10px;
}

.edit-button {
    color: #3b82f6;
    right: 10px;
    bottom: 10px;
}

.note:hover .delete-button,
.folder:hover .delete-button,
.note:hover .edit-button {
    opacity: 0.7;
}

.delete-button:hover,
.edit-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid, .notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    align-items: center;
}

.folder, .note, .new-item {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder {
    background-color: #fef9c3;
    border: 2px solid #d1d5db;
    margin-top: 10px;
}

.note {
    background-color: #fef68a;
    cursor: default;
}

.folder:hover, .note:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 8px 8px 0 0;
    opacity: 0.7;
}

.folder-title, .note-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span, .note-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date, .note-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    align-self: center;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.7);
}

.new-item:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.new-item i {
    font-size: 24px;
    margin-bottom: 5px;
}

.new-item span {
    font-weight: 500;
    font-size: 12px;
    text-align: center;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button, .edit-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
}

.delete-button {
    color: #e74c3c;
    top: 10px;
    right: 10px;
}

.edit-button {
    color: #3b82f6;
    right: 10px;
    bottom: 10px;
}

.note:hover .delete-button,
.folder:hover .delete-button,
.note:hover .edit-button {
    opacity: 0.7;
}

.delete-button:hover,
.edit-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid, .notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder, .note, .new-item {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder {
    background-color: #fef9c3;
    border: 2px solid #d1d5db;
    margin-top: 10px;
}

.note {
    background-color: #fef68a;
    cursor: default;
}

.folder:hover, .note:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 8px 8px 0 0;
    opacity: 0.7;
}

.folder-title, .note-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span, .note-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date, .note-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 80px;
    height: 80px;
    color: #9ca3af;
    padding: 10px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.7);
}

.new-item:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.new-item i {
    font-size: 24px;
    margin-bottom: 5px;
}

.new-item span {
    font-weight: 500;
    font-size: 12px;
    text-align: center;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button, .edit-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
}

.delete-button {
    color: #e74c3c;
    top: 10px;
    right: 10px;
}

.edit-button {
    color: #3b82f6;
    right: 10px;
    bottom: 10px;
}

.note:hover .delete-button,
.folder:hover .delete-button,
.note:hover .edit-button {
    opacity: 0.7;
}

.delete-button:hover,
.edit-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-container input::placeholder {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid, .notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder, .note, .new-item {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder {
    background-color: #fef9c3;
    border: 2px solid #d1d5db;
    margin-top: 10px;
}

.note {
    background-color: #fef68a;
    cursor: default;
}

.folder:hover, .note:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 8px 8px 0 0;
    opacity: 0.7;
}

.folder-title, .note-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span, .note-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date, .note-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 80px;
    height: 80px;
    color: #9ca3af;
    padding: 10px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.new-item:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.new-item i {
    font-size: 24px;
    margin-bottom: 5px;
}

.new-item span {
    font-weight: 500;
    font-size: 12px;
    text-align: center;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button, .edit-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
}

.delete-button {
    color: #e74c3c;
    top: 10px;
    right: 10px;
}

.edit-button {
    color: #3b82f6;
    right: 10px;
    bottom: 10px;
}

.note:hover .delete-button,
.folder:hover .delete-button,
.note:hover .edit-button {
    opacity: 0.7;
}

.delete-button:hover,
.edit-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-container input::placeholder {

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid, .notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder, .note, .new-item {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder {
    background-color: #fef9c3;
    border: 2px solid #d1d5db;
    margin-top: 10px;
}

.note {
    background-color: #fef68a;
    cursor: default;
}

.folder:hover, .note:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 8px 8px 0 0;
    opacity: 0.7;
}

.folder-title, .note-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span, .note-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date, .note-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 80px;
    height: 80px;
    color: #9ca3af;
    padding: 10px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.new-item:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.new-item i {
    font-size: 24px;
    margin-bottom: 5px;
}

.new-item span {
    font-weight: 500;
    font-size: 12px;
    text-align: center;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button, .edit-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
}

.delete-button {
    color: #e74c3c;
    top: 10px;
    right: 10px;
}

.edit-button {
    color: #3b82f6;
    right: 10px;
    bottom: 10px;
}

.note:hover .delete-button,
.folder:hover .delete-button,
.note:hover .edit-button {
    opacity: 0.7;
}

.delete-button:hover,
.edit-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-container input::placeholder {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid, .notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder, .note, .new-item {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder {
    background-color: #fef9c3;
    border: 2px solid #d1d5db;
    margin-top: 10px;
}

.note {
    background-color: #fef68a;
    cursor: default;
}

.folder:hover, .note:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 8px 8px 0 0;
    opacity: 0.7;
}

.folder-title, .note-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span, .note-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date, .note-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.new-item {
    border: 2px dashed #d1d5db;
    color: #9ca3af;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.new-item:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.new-item i {
    font-size: 24px;
    margin-bottom: 8px;
}

.new-item span {
    font-weight: 500;
    font-size: 14px;
    text-align: center;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
.new-item span {
    font-weight: 500;
    font-size: 12px;
    text-align: center;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button, .edit-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
}

.delete-button {
    color: #e74c3c;
    top: 10px;
    right: 10px;
}

.edit-button {
    color: #3b82f6;
    right: 10px;
    bottom: 10px;
}

.note:hover .delete-button,
.folder:hover .delete-button,
.note:hover .edit-button {
    opacity: 0.7;
}

.delete-button:hover,
.edit-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-container input::placeholder {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid, .notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder, .note {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder {
    background-color: #fef9c3;
    border: 2px solid #d1d5db;
    margin-top: 10px;
}

.note {
    background-color: #fef68a;
    cursor: default;
}

.folder:hover, .note:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 8px 8px 0 0;
    opacity: 0.7;
}

.folder-title, .note-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span, .note-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date, .note-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.new-item {
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    color: #64748b;
    padding: 20px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

.new-item:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(59, 130, 246, 0.1);
}

.new-item i {
    font-size: 32px;
    margin-bottom: 8px;
}

.new-item span {
    font-weight: 500;
    font-size: 14px;
    text-align: center;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button, .edit-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
}

.delete-button {
    color: #e74c3c;
    top: 10px;
    right: 10px;
}

.edit-button {
    color: #3b82f6;
    right: 10px;
    bottom: 10px;
}

.note:hover .delete-button,
.folder:hover .delete-button,
.note:hover .edit-button {
    opacity: 0.7;
}

.delete-button:hover,
.edit-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-container input::placeholder {
body {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid, .notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder, .note {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder {
    background-color: #fef9c3;
    border: 2px solid #d1d5db;
    margin-top: 10px;
}

.note {
    background-color: #fef68a;
    cursor: default;
}

.folder:hover, .note:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 8px 8px 0 0;
    opacity: 0.7;
}

.folder-title, .note-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span, .note-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date, .note-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.new-item {
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 120px;
    color: #64748b;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

.new-item:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(59, 130, 246, 0.1);
}

.new-item i {
    font-size: 24px;
    margin-bottom: 8px;
}

.new-item span {
    font-weight: 500;
    font-size: 16px;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button, .edit-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
}

.delete-button {
    color: #e74c3c;
    top: 10px;
    right: 10px;
}

.edit-button {
    color: #3b82f6;
    right: 10px;
    bottom: 10px;
}

.note:hover .delete-button,
.folder:hover .delete-button,
.note:hover .edit-button {
    opacity: 0.7;
}

.delete-button:hover,
.edit-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-container input::placeholder {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid, .notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder, .note {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder {
    background-color: #fef9c3;
    border: 2px solid #d1d5db;
    margin-top: 10px;
}

.note {
    background-color: #fef68a;
    cursor: default;
}

.folder:hover, .note:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 8px 8px 0 0;
    opacity: 0.7;
}

.folder-title, .note-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span, .note-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date, .note-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button, .edit-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
}

.delete-button {
    color: #e74c3c;
    top: 10px;
    right: 10px;
}

.edit-button {
    color: #3b82f6;
    right: 10px;
    bottom: 10px;
}

.note:hover .delete-button,
.folder:hover .delete-button,
.note:hover .edit-button {
    opacity: 0.7;
}

.delete-button:hover,
.edit-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid, .notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder, .note {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder {
    background-color: #fef9c3;
    border: 2px solid #d1d5db;
    margin-top: 10px;
}

.note {
    background-color: #fef68a;
    cursor: move;
}

.folder:hover, .note:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 8px 8px 0 0;
    opacity: 0.7;
}

.folder-title, .note-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span, .note-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date, .note-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button, .edit-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
}

.delete-button {
    color: #e74c3c;
    top: 10px;
    right: 10px;
}

.edit-button {
    color: #3b82f6;
    right: 10px;
    bottom: 10px;
}

.note:hover .delete-button,
.folder:hover .delete-button,
.note:hover .edit-button {
    opacity: 0.7;
}

.delete-button:hover,
.edit-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #fef9c3; /* Light yellow background for folder */
    border: 2px solid #d1d5db; /* Add border for folder effect */
    margin-top: 10px; /* Add top margin for spacing */
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px; /* Adjusted to create a flap effect */
    left: 0;
    right: 0;
    height: 20px; /* Height of the folder flap */
    background-color: inherit; /* Match the folder color */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    opacity: 0.7; /* Slight transparency for flap */
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #fef9c3; /* Light yellow background for folder */
    border: 2px solid #d1d5db; /* Add border for folder effect */
    margin-top: 10px; /* Add top margin for spacing */
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px; /* Adjusted to create a flap effect */
    left: 0;
    right: 0;
    height: 20px; /* Height of the folder flap */
    background-color: inherit; /* Match the folder color */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    opacity: 0.7; /* Slight transparency for flap */
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #fef9c3; /* Light yellow background for folder */
    border: 2px solid #d1d5db; /* Add border for folder effect */
    margin-top: 10px; /* Add top margin for spacing */
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px; /* Adjusted to create a flap effect */
    left: 0;
    right: 0;
    height: 20px; /* Height of the folder flap */
    background-color: inherit; /* Match the folder color */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    opacity: 0.7; /* Slight transparency for flap */
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #fef9c3; /* Light yellow background for folder */
    border: 2px solid #d1d5db; /* Add border for folder effect */
    margin-top: 10px; /* Add top margin for spacing */
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px; /* Adjusted to create a flap effect */
    left: 0;
    right: 0;
    height: 20px; /* Height of the folder flap */
    background-color: inherit; /* Match the folder color */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    opacity: 0.7; /* Slight transparency for flap */
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #fef9c3; /* Light yellow background for folder */
    border: 2px solid #d1d5db; /* Add border for folder effect */
    margin-top: 10px; /* Add top margin for spacing */
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px; /* Adjusted to create a flap effect */
    left: 0;
    right: 0;
    height: 20px; /* Height of the folder flap */
    background-color: inherit; /* Match the folder color */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    opacity: 0.7; /* Slight transparency for flap */
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #fef9c3; /* Light yellow background for folder */
    border: 2px solid #d1d5db; /* Add border for folder effect */
    margin-top: 10px; /* Add top margin for spacing */
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px; /* Adjusted to create a flap effect */
    left: 0;
    right: 0;
    height: 20px; /* Height of the folder flap */
    background-color: inherit; /* Match the folder color */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    opacity: 0.7; /* Slight transparency for flap */
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #fef9c3; /* Light yellow background for folder */
    border: 2px solid #d1d5db; /* Add border for folder effect */
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px; /* Adjusted to create a flap effect */
    left: 0;
    right: 0;
    height: 20px; /* Height of the folder flap */
    background-color: inherit; /* Match the folder color */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    opacity: 0.7; /* Slight transparency for flap */
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #fef9c3; /* Light yellow background for folder */
    border: 2px solid #d1d5db; /* Add border for folder effect */
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px; /* Adjusted to create a flap effect */
    left: 0;
    right: 0;
    height: 20px; /* Height of the folder flap */
    background-color: inherit; /* Match the folder color */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    opacity: 0.7; /* Slight transparency for flap */
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    margin-top: 10px; /* Add top margin for spacing */
    padding: 20px;
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #fef9c3; /* Light yellow background for folder */
    border: 2px solid #d1d5db; /* Add border for folder effect */
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px; /* Adjusted to create a flap effect */
    left: 0;
    right: 0;
    height: 20px; /* Height of the folder flap */
    background-color: inherit; /* Match the folder color */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    opacity: 0.7; /* Slight transparency for flap */
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #fef9c3; /* Light yellow background for folder */
    border: 2px solid #d1d5db; /* Add border for folder effect */
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -20px; /* Adjusted to create a flap effect */
    left: 0;
    right: 0;
    height: 20px; /* Height of the folder flap */
    background-color: inherit; /* Match the folder color */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    opacity: 0.7; /* Slight transparency for flap */
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 225px;
    margin-left: auto;
    margin-right: 50px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
}


body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 250px;
    margin-left: auto;
    margin-right: 35px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 250px;
    margin-left: auto;
    margin-right: 35px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px 12px 40px;
    border-radius: 25px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.8);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(107, 114, 128, 0.8);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: rgba(59, 130, 246, 0.8);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
}

.app-container {
    display: flex;
    height: 100vh;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 300px;
    margin-left: auto;
    margin-right: 20px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 25px;
    border: none;
    background-color: #f0f4f8;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-container input:focus {
    outline: none;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.1);
}

.search-container input::placeholder {
    color: #9ca3af;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container input:focus + .search-icon {
    color: #3b82f6;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 300px;
    margin-left: auto;
    margin-right: 15px;
}

.search-container input {
    width: 100%;
    padding: 10px 40px; /* Increased padding for better touch targets */
    border-radius: 25px; /* More rounded corners */
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 16px; /* Slightly larger font size */
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.search-container input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); /* Enhanced focus shadow */
    transform: scale(1.02); /* Slightly scale up on focus */
}

.search-icon {
    position: absolute;
    right: 12px; /* Position the icon inside the input */
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 18px; /* Icon size */
    pointer-events: none; /* Prevent interaction with the icon */
    transition: color 0.3s ease; /* Smooth color transition */
}

.search-container input:focus + .search-icon {
    color: #3b82f6; /* Change icon color on input focus */
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 300px;
    margin-left: auto;
    margin-right: 15px; /* Changed from 5px to 15px */
}

.search-container input {
    width: 100%;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.note-content {
    font-size: 14px;
    color: #34495e;
body {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 300px;
    margin-left: auto;
    margin-right: 5px; /* Add this line to shift the searchbar to the left */
}

.search-container input {
    width: 100%;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.note-content {
    font-size: 14px;
    color: #34495e;
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 300px;
    margin-left: auto;
}

.search-container input {
    width: 100%;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background-color: white;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-left {
    display: flex;
    align-items: center;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #3b82f6;
}

.search-container {
    position: relative;
    width: 300px;
    margin-left: auto;
}

.search-container input {
    width: 100%;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.note-content {
.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 24px; /* Increased gap for better spacing */
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0; /* Remove default margin */
}

.search-container {
    position: relative;
    width: 300px; /* Increased width for better visibility */
}

.search-container input {
    width: 100%;
    padding: 8px 32px 8px 16px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-container i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.search-container {
    position: relative;
    width: 250px;
}

.search-container input {
    width: 100%;
    padding: 8px 32px 8px 16px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-container i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.nav-button:hover {
    background-color: #2563eb;
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.nav-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-button i {
    transition: transform 0.3s ease;
}

.nav-button:hover i {
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
}

.modal-content {
    padding: 24px;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
}

.note-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 500;
    color: #333;
}

input[type="text"],
textarea,
select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    min-height: 100px;
    resize: vertical;
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #3b82f6;
    text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-content textarea {
    height: 120px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.color-option {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    margin-left: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb;
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
}

.modal-content {
    padding: 24px;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
}

.note-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 500;
    color: #333;
}

input[type="text"],
textarea,
select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.color-picker {
    display: flex;
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff; /* White background for the modal */
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd; /* Light border for better visibility */
    width: 90%;
    max-width: 500px; /* Increased max width for better layout */
    border-radius: 12px; /* Rounded corners for a softer look */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow for depth */
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px; /* Increased font size for the title */
    color: #3b82f6; /* Blue color for the title */
    text-align: center; /* Center the title */
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: calc(100% - 20px); /* Adjust width to fit within padding */
    padding: 12px; /* Increased padding for better touch targets */
    margin-bottom: 15px; /* Increased margin for spacing */
    border: 1px solid #ddd; /* Light border */
    border-radius: 8px; /* Rounded corners */
    font-size: 16px; /* Larger font size */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle inner shadow */
}

.modal-content textarea {
    height: 120px; /* Increased height for better visibility */
    resize: vertical; /* Allow vertical resizing */
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px; /* Increased margin for spacing */
}

.color-option {
    width: 50px; /* Increased size for better visibility */
    height: 50px; /* Increased size for better visibility */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s; /* Add a hover effect */
}

.color-option:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.modal-actions {
    display: flex;
    justify-content: space-between; /* Space between buttons */
}

.modal-actions button {
    margin-left: 5px; /* Reduced margin for better alignment */
    padding: 10px 20px; /* Increased padding for buttons */
    border: none;
    border-radius: 8px; /* Rounded corners */
    cursor: pointer;
    font-size: 16px; /* Larger font size */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

#saveNote, #saveFolder {
    background-color: #3b82f6; /* Blue background */
    color: white; /* White text */
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb; /* Light gray background */
    color: #4b5563; /* Darker gray text */
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb; /* Darker blue on hover */
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db; /* Darker gray on hover */
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff; /* White background for the modal */
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ddd; /* Light border for better visibility */
    width: 90%;
    max-width: 500px; /* Increased max width for better layout */
    border-radius: 12px; /* Rounded corners for a softer look */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow for depth */
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px; /* Increased font size for the title */
    color: #3b82f6; /* Blue color for the title */
    text-align: center; /* Center the title */
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 12px; /* Increased padding for better touch targets */
    margin-bottom: 15px; /* Increased margin for spacing */
    border: 1px solid #ddd; /* Light border */
    border-radius: 8px; /* Rounded corners */
    font-size: 16px; /* Larger font size */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle inner shadow */
}

.modal-content textarea {
    height: 120px; /* Increased height for better visibility */
    resize: vertical; /* Allow vertical resizing */
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px; /* Increased margin for spacing */
}

.color-option {
    width: 50px; /* Increased size for better visibility */
    height: 50px; /* Increased size for better visibility */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s; /* Add a hover effect */
}

.color-option:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.modal-actions {
    display: flex;
    justify-content: space-between; /* Space between buttons */
}

.modal-actions button {
    margin-left: 5px; /* Reduced margin for better alignment */
    padding: 10px 20px; /* Increased padding for buttons */
    border: none;
    border-radius: 8px; /* Rounded corners */
    cursor: pointer;
    font-size: 16px; /* Larger font size */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

#saveNote, #saveFolder {
    background-color: #3b82f6; /* Blue background */
    color: white; /* White text */
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb; /* Light gray background */
    color: #4b5563; /* Darker gray text */
}

#saveNote:hover, #saveFolder:hover {
    background-color: #2563eb; /* Darker blue on hover */
}

#cancelNote:hover, #cancelFolder:hover, #closeTrash:hover {
    background-color: #d1d5db; /* Darker gray on hover */
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 20px;
    color: #333;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.color-option {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.modal-actions button {
    margin-left: 10px;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 20px;
    color: #333;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.color-option {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.modal-actions button {
    margin-left: 10px;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 20px;
    color: #333;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.color-option {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.modal-actions button {
    margin-left: 10px;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background-color: #3b82f6;
    border-radius: 12px;
    margin-bottom: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 12px;
    font-size: 18px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 20px;
    color: #333;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.color-option {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.modal-actions button {
    margin-left: 10px;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    font-size: 20px;
    color: #333;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.color-option {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.modal-actions button {
    margin-left: 10px;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px; /* Increased padding for better touch targets */
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px; /* Larger font size */
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.color-option {
    width: 40px; /* Increased size for better visibility */
    height: 40px; /* Increased size for better visibility */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s; /* Add a hover effect */
}

.color-option:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.modal-actions button {
    margin-left: 10px;
    padding: 10px 16px; /* Increased padding for buttons */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px; /* Larger font size */
}

#saveNote, #saveFolder {
    background-color: #3b82f6; /* Blue background */
    color: white; /* White text */
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb; /* Light gray background */
    color: #4b5563; /* Darker gray text */
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px; /* Align to the right */
    bottom: 10px; /* Positioning for edit button */
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px; /* Positioning for delete button */
    right: 10px; /* Align to the right */
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1; /* Show buttons on hover */
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white; /* Change text color to white for contrast */
    background-color: #e74c3c; /* Set background color to red */
    padding: 10px 16px; /* Add padding for a button-like appearance */
    border: none; /* Remove border */
    border-radius: 4px; /* Add rounded corners */
    cursor: pointer; /* Change cursor to pointer */
    font-size: 14px; /* Ensure font size is consistent */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    width: 100%; /* Set width to cover maximum part of the sidebar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transition for hover effect */
}

#trashButton:hover {
    background-color: #c0392b; /* Darker red on hover */
    transform: translateY(-2px); /* Lift effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

.nav-button {
    color: white; /* Change text color to white for contrast */
    background-color: #3b82f6; /* Set background color to blue */
    padding: 10px 16px; /* Add padding for a button-like appearance */
    border: none; /* Remove border */
    border-radius: 4px; /* Add rounded corners */
    cursor: pointer; /* Change cursor to pointer */
    font-size: 14px; /* Ensure font size is consistent */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    width: 100%; /* Set width to cover maximum part of the sidebar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transition for hover effect */
}

.nav-button:hover {
    background-color: #2563eb; /* Darker blue on hover */
    transform: translateY(-2px); /* Lift effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1; /* Show buttons on hover */
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white; /* Change text color to white for contrast */
    background-color: #e74c3c; /* Set background color to red */
    padding: 10px 16px; /* Add padding for a button-like appearance */
    border: none; /* Remove border */
    border-radius: 4px; /* Add rounded corners */
    cursor: pointer; /* Change cursor to pointer */
    font-size: 14px; /* Ensure font size is consistent */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    width: 100%; /* Set width to cover maximum part of the sidebar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transition for hover effect */
}

#trashButton:hover {
    background-color: #c0392b; /* Darker red on hover */
    transform: translateY(-2px); /* Lift effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

.nav-button {
    color: white; /* Change text color to white for contrast */
    background-color: #3b82f6; /* Set background color to blue */
    padding: 10px 16px; /* Add padding for a button-like appearance */
    border: none; /* Remove border */
    border-radius: 4px; /* Add rounded corners */
    cursor: pointer; /* Change cursor to pointer */
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 200px; /* Reduced from 220px */
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align items */
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.logo {
    display: flex;
    flex-direction: column; /* Change to column layout */
    align-items: center;
    margin-bottom: 32px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: #3b82f6;
    border-radius: 8px; /* Changed from 50% to 8px for rounded corners */
    margin-right: 8px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px; /* Slightly reduced from 24px to fit better */
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center the text */
}

.nav-button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 14px; /* Added to reduce text size */
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 6px; /* Reduced from 8px */
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px; /* Reduced from 150px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative; /* Ensure this is set for absolute positioning of children */
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px; /* Match the height of folders */
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    /* Remove any width constraints to allow it to fill the grid cell */
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    /* Ensure the new item takes up a full grid cell */
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff; /* White background for the modal */
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Adjust width for better responsiveness */
    max-width: 400px; /* Set a max width */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

.modal-content h2 {
    margin-top: 0;
    font-size: 20px; /* Increase font size for the title */
    color: #333; /* Darker color for better readability */
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px; /* Increased padding for better touch targets */
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px; /* Larger font size */
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.color-option {
    width: 40px; /* Increased size for better visibility */
    height: 40px; /* Increased size for better visibility */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s; /* Add a hover effect */
}

.color-option:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.modal-actions button {
    margin-left: 10px;
    padding: 10px 16px; /* Increased padding for buttons */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px; /* Larger font size */
}

#saveNote, #saveFolder {
    background-color: #3b82f6; /* Blue background */
    color: white; /* White text */
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb; /* Light gray background */
    color: #4b5563; /* Darker gray text */
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px; /* Align to the right */
    bottom: 10px; /* Positioning for edit button */
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px; /* Positioning for delete button */
    right: 10px; /* Align to the right */
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1; /* Show buttons on hover */
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white; /* Change text color to white for contrast */
    background-color: #e74c3c; /* Set background color to red */
    padding: 10px 16px; /* Add padding for a button-like appearance */
    border: none; /* Remove border */
    border-radius: 4px; /* Add rounded corners */
    cursor: pointer; /* Change cursor to pointer */
    font-size: 14px; /* Ensure font size is consistent */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    width: 100%; /* Set width to cover maximum part of the sidebar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transition for hover effect */
}

#trashButton:hover {
    background-color: #c0392b; /* Darker red on hover */
    transform: translateY(-2px); /* Lift effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

.nav-button {
    color: white; /* Change text color to white for contrast */
    background-color: #3b82f6; /* Set background color to blue */
    padding: 10px 16px; /* Add padding for a button-like appearance */
    border: none; /* Remove border */
    border-radius: 4px; /* Add rounded corners */
    cursor: pointer; /* Change cursor to pointer */
    font-size: 14px; /* Ensure font size is consistent */
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 200px; /* Reduced from 220px */
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align items */
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.logo {
    display: flex;
    flex-direction: column; /* Change to column layout */
    align-items: center;
    margin-bottom: 32px;
}

.logo-icon {
    width: 64px; /* Increased from 32px */
    height: 64px; /* Increased from 32px */
    background-color: #3b82f6;
    border-radius: 50%;
    margin-bottom: 8px; /* Add space between icon and text */
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px; /* Slightly reduced from 24px to fit better */
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center the text */
}

.nav-button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 14px; /* Added to reduce text size */
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 6px; /* Reduced from 8px */
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px; /* Reduced from 150px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative; /* Ensure this is set for absolute positioning of children */
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px; /* Match the height of folders */
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    /* Remove any width constraints to allow it to fill the grid cell */
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    /* Ensure the new item takes up a full grid cell */
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff; /* White background for the modal */
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Adjust width for better responsiveness */
    max-width: 400px; /* Set a max width */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

.modal-content h2 {
    margin-top: 0;
    font-size: 20px; /* Increase font size for the title */
    color: #333; /* Darker color for better readability */
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px; /* Increased padding for better touch targets */
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px; /* Larger font size */
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.color-option {
    width: 40px; /* Increased size for better visibility */
    height: 40px; /* Increased size for better visibility */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s; /* Add a hover effect */
}

.color-option:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.modal-actions button {
    margin-left: 10px;
    padding: 10px 16px; /* Increased padding for buttons */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px; /* Larger font size */
}

#saveNote, #saveFolder {
    background-color: #3b82f6; /* Blue background */
    color: white; /* White text */
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb; /* Light gray background */
    color: #4b5563; /* Darker gray text */
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px; /* Align to the right */
    bottom: 10px; /* Positioning for edit button */
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px; /* Positioning for delete button */
    right: 10px; /* Align to the right */
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1; /* Show buttons on hover */
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white; /* Change text color to white for contrast */
    background-color: #e74c3c; /* Set background color to red */
    padding: 10px 16px; /* Add padding for a button-like appearance */
    border: none; /* Remove border */
    border-radius: 4px; /* Add rounded corners */
    cursor: pointer; /* Change cursor to pointer */
    font-size: 14px; /* Ensure font size is consistent */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    width: 100%; /* Set width to cover maximum part of the sidebar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transition for hover effect */
}

#trashButton:hover {
    background-color: #c0392b; /* Darker red on hover */
    transform: translateY(-2px); /* Lift effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

.nav-button {
    color: white; /* Change text color to white for contrast */
    background-color: #3b82f6; /* Set background color to blue */
    padding: 10px 16px; /* Add padding for a button-like appearance */
    border: none; /* Remove border */
    border-radius: 4px; /* Add rounded corners */
    cursor: pointer; /* Change cursor to pointer */
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 250px; /* Increased width for better visibility */
    background-color: #f8fafc; /* Light background color */
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align items */
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.logo {
    display: flex;
    flex-direction: column; /* Change to column layout */
    align-items: center;
    margin-bottom: 40px;
}

.logo-icon {
    width: 60px; /* Increased from 32px */
    height: 60px; /* Increased from 32px */
    background-color: #3b82f6;
    border-radius: 12px; /* Slightly rounded corners for modern look */
    margin-bottom: 12px; /* Add space between icon and text */
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px; /* Slightly reduced from 24px to fit better */
    color: #1e293b; /* Dark color for contrast */
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center the text */
}

.nav-button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 14px; /* Added to reduce text size */
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 6px; /* Reduced from 8px */
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px; /* Reduced from 150px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative; /* Ensure this is set for absolute positioning of children */
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px; /* Match the height of folders */
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    /* Remove any width constraints to allow it to fill the grid cell */
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    /* Ensure the new item takes up a full grid cell */
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff; /* White background for the modal */
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Adjust width for better responsiveness */
    max-width: 400px; /* Set a max width */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

.modal-content h2 {
    margin-top: 0;
    font-size: 20px; /* Increase font size for the title */
    color: #333; /* Darker color for better readability */
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px; /* Increased padding for better touch targets */
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px; /* Larger font size */
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.color-option {
    width: 40px; /* Increased size for better visibility */
    height: 40px; /* Increased size for better visibility */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s; /* Add a hover effect */
}

.color-option:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.modal-actions button {
    margin-left: 10px;
    padding: 10px 16px; /* Increased padding for buttons */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px; /* Larger font size */
}

#saveNote, #saveFolder {
    background-color: #3b82f6; /* Blue background */
    color: white; /* White text */
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb; /* Light gray background */
    color: #4b5563; /* Darker gray text */
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px; /* Align to the right */
    bottom: 10px; /* Positioning for edit button */
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px; /* Positioning for delete button */
    right: 10px; /* Align to the right */
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1; /* Show buttons on hover */
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white; /* Change text color to white for contrast */
    background-color: #e74c3c; /* Set background color to red */
    padding: 10px 16px; /* Add padding for a button-like appearance */
    border: none; /* Remove border */
    border-radius: 4px; /* Add rounded corners */
    cursor: pointer; /* Change cursor to pointer */
    font-size: 14px; /* Ensure font size is consistent */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    width: 100%; /* Set width to cover maximum part of the sidebar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transition for hover effect */
}

#trashButton:hover {
    background-color: #c0392b; /* Darker red on hover */
    transform: translateY(-2px); /* Lift effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

.nav-button {
    color: white; /* Change text color to white for contrast */
    background-color: #3b82f6; /* Set background color to blue */
    padding: 10px 16px; /* Add padding for a button-like appearance */
    border: none; /* Remove border */
    border-radius: 4px; /* Add rounded corners */
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px; /* Reduced from 250px */
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align items */
}

.logo {
    display: flex;
    flex-direction: column; /* Change to column layout */
    align-items: center;
    margin-bottom: 32px;
}

.logo-icon {
    width: 64px; /* Increased from 32px */
    height: 64px; /* Increased from 32px */
    background-color: #3b82f6;
    border-radius: 50%;
    margin-bottom: 8px; /* Add space between icon and text */
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px; /* Slightly reduced from 24px to fit better */
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center the text */
}

.nav-button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 14px; /* Added to reduce text size */
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 6px; /* Reduced from 8px */
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px; /* Reduced from 150px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative; /* Ensure this is set for absolute positioning of children */
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px; /* Match the height of folders */
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    /* Remove any width constraints to allow it to fill the grid cell */
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    /* Ensure the new item takes up a full grid cell */
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff; /* White background for the modal */
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Adjust width for better responsiveness */
    max-width: 400px; /* Set a max width */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

.modal-content h2 {
    margin-top: 0;
    font-size: 20px; /* Increase font size for the title */
    color: #333; /* Darker color for better readability */
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px; /* Increased padding for better touch targets */
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px; /* Larger font size */
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.color-option {
    width: 40px; /* Increased size for better visibility */
    height: 40px; /* Increased size for better visibility */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s; /* Add a hover effect */
}

.color-option:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.modal-actions button {
    margin-left: 10px;
    padding: 10px 16px; /* Increased padding for buttons */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px; /* Larger font size */
}

#saveNote, #saveFolder {
    background-color: #3b82f6; /* Blue background */
    color: white; /* White text */
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb; /* Light gray background */
    color: #4b5563; /* Darker gray text */
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px; /* Align to the right */
    bottom: 10px; /* Positioning for edit button */
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px; /* Positioning for delete button */
    right: 10px; /* Align to the right */
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1; /* Show buttons on hover */
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white; /* Change text color to white for contrast */
    background-color: #e74c3c; /* Set background color to red */
    padding: 10px 16px; /* Add padding for a button-like appearance */
    border: none; /* Remove border */
    border-radius: 4px; /* Add rounded corners */
    cursor: pointer; /* Change cursor to pointer */
    font-size: 14px; /* Ensure font size is consistent */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    width: 100%; /* Set width to cover maximum part of the sidebar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transition for hover effect */
}

#trashButton:hover {
    background-color: #c0392b; /* Darker red on hover */
    transform: translateY(-2px); /* Lift effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

.nav-button {
    color: white; /* Change text color to white for contrast */
    background-color: #3b82f6; /* Set background color to blue */
    padding: 10px 16px; /* Add padding for a button-like appearance */
    border: none; /* Remove border */
    border-radius: 4px; /* Add rounded corners */
    cursor: pointer; /* Change cursor to pointer */
    font-size: 14px; /* Ensure font size is consistent */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px; /* Reduced from 250px */
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align items */
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.logo-icon {
    width: 32px; /* Adjust width as needed */
    height: 32px; /* Adjust height as needed */
    background-color: #3b82f6;
    border-radius: 50%;
    margin-right: 8px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 14px; /* Added to reduce text size */
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 6px; /* Reduced from 8px */
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px; /* Reduced from 150px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative; /* Ensure this is set for absolute positioning of children */
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px; /* Match the height of folders */
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    /* Remove any width constraints to allow it to fill the grid cell */
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    /* Ensure the new item takes up a full grid cell */
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff; /* White background for the modal */
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Adjust width for better responsiveness */
    max-width: 400px; /* Set a max width */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

.modal-content h2 {
    margin-top: 0;
    font-size: 20px; /* Increase font size for the title */
    color: #333; /* Darker color for better readability */
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px; /* Increased padding for better touch targets */
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px; /* Larger font size */
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.color-option {
    width: 40px; /* Increased size for better visibility */
    height: 40px; /* Increased size for better visibility */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s; /* Add a hover effect */
}

.color-option:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.modal-actions button {
    margin-left: 10px;
    padding: 10px 16px; /* Increased padding for buttons */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px; /* Larger font size */
}

#saveNote, #saveFolder {
    background-color: #3b82f6; /* Blue background */
    color: white; /* White text */
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb; /* Light gray background */
    color: #4b5563; /* Darker gray text */
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px; /* Align to the right */
    bottom: 10px; /* Positioning for edit button */
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px; /* Positioning for delete button */
    right: 10px; /* Align to the right */
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1; /* Show buttons on hover */
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white; /* Change text color to white for contrast */
    background-color: #e74c3c; /* Set background color to red */
    padding: 10px 16px; /* Add padding for a button-like appearance */
    border: none; /* Remove border */
    border-radius: 4px; /* Add rounded corners */
    cursor: pointer; /* Change cursor to pointer */
    font-size: 14px; /* Ensure font size is consistent */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    width: 100%; /* Set width to cover maximum part of the sidebar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transition for hover effect */
}

#trashButton:hover {
    background-color: #c0392b; /* Darker red on hover */
    transform: translateY(-2px); /* Lift effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

.nav-button {
    color: white; /* Change text color to white for contrast */
    background-color: #3b82f6; /* Set background color to blue */
    padding: 10px 16px; /* Add padding for a button-like appearance */
    border: none; /* Remove border */
    border-radius: 4px; /* Add rounded corners */
    cursor: pointer; /* Change cursor to pointer */
    font-size: 14px; /* Ensure font size is consistent */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    width: 100%; /* Set width to cover maximum part of the sidebar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow */
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px; /* Reduced from 250px */
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align items */
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.logo-icon {
    width: 32px; /* Adjust width as needed */
    height: 32px; /* Adjust height as needed */
    background-color: #3b82f6;
    border-radius: 50%;
    margin-right: 8px;
}

.logo-text {
    font-weight: bold;
    font-size: 18px; /* Reduced from 20px */
}

.nav-button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 14px; /* Added to reduce text size */
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 6px; /* Reduced from 8px */
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px; /* Reduced from 150px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative; /* Ensure this is set for absolute positioning of children */
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px; /* Match the height of folders */
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    /* Remove any width constraints to allow it to fill the grid cell */
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    /* Ensure the new item takes up a full grid cell */
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #ffffff; /* White background for the modal */
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Adjust width for better responsiveness */
    max-width: 400px; /* Set a max width */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

.modal-content h2 {
    margin-top: 0;
    font-size: 20px; /* Increase font size for the title */
    color: #333; /* Darker color for better readability */
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px; /* Increased padding for better touch targets */
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px; /* Larger font size */
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.color-option {
    width: 40px; /* Increased size for better visibility */
    height: 40px; /* Increased size for better visibility */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s; /* Add a hover effect */
}

.color-option:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.modal-actions button {
    margin-left: 10px;
    padding: 10px 16px; /* Increased padding for buttons */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px; /* Larger font size */
}

#saveNote, #saveFolder {
    background-color: #3b82f6; /* Blue background */
    color: white; /* White text */
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb; /* Light gray background */
    color: #4b5563; /* Darker gray text */
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px; /* Align to the right */
    bottom: 10px; /* Positioning for edit button */
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px; /* Positioning for delete button */
    right: 10px; /* Align to the right */
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1; /* Show buttons on hover */
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white; /* Change text color to white for contrast */
    background-color: #e74c3c; /* Set background color to red */
    padding: 10px 16px; /* Add padding for a button-like appearance */
    border: none; /* Remove border */
    border-radius: 4px; /* Add rounded corners */
    cursor: pointer; /* Change cursor to pointer */
    font-size: 14px; /* Ensure font size is consistent */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    width: 100%; /* Set width to cover maximum part of the sidebar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transition for hover effect */
}

#trashButton:hover {
    background-color: #c0392b; /* Darker red on hover */
    transform: translateY(-2px); /* Lift effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    0 4px 8px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: #3b82f6;
    border-radius: 50%;
    margin-right: 8px;
}

.logo-text {
    font-weight: bold;
    font-size: 18px;
}

.nav-button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 14px;
}

.nav-button.active {
    color: #3b82f6;
}

.nav-button i {
    margin-right: 6px;
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 16px;
}

.search-container input {
    padding: 8px 32px 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #f3f4f6;
}

.search-container i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.menu-icon {
    display: none;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tabs {
    display: flex;
    margin-bottom: 16px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.folder {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    cursor: default;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.folder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: inherit;
    border-radius: 12px 12px 0 0;
    opacity: 0.7;
}

.folder-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.folder-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.folder-title span {
    display: flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.folder-date {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.note {
    padding: 20px;
    border-radius: 2px;
    position: relative;
    cursor: move;
    background-color: #fef68a;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.12),
        0 2px 2px rgba(0,0,0,0.12),
        0 4px 4px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.note:nth-child(even) {
    background-color: #fdfd96;
}

.note:hover {
    transform: scale(1.05);
    z-index: 1;
}

.note-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.note-content {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.note-date {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.new-item {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100px;
    color: #9ca3af;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.folders-grid .new-item,
.notes-grid .new-item {
    grid-column: span 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
}

.modal-content h2 {
    margin-top: 0;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.color-option {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.modal-actions button {
    margin-left: 10px;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#saveNote, #saveFolder {
    background-color: #3b82f6;
    color: white;
}

#cancelNote, #cancelFolder, #closeTrash {
    background-color: #e5e7eb;
    color: #4b5563;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.note:hover .delete-button,
.folder:hover .delete-button {
    opacity: 0.7;
}

.delete-button:hover {
    opacity: 1;
}

#trashContent {
    max-height: 300px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.trash-item:last-child {
    border-bottom: none;
}

.restore-button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.note-actions {
    position: absolute;
    right: 10px; 
    bottom: 10px;
    display: flex;
    flex-direction: column;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3b82f6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #e74c3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
}

.note:hover .edit-button,
.note:hover .delete-button {
    opacity: 1;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button {
    color: #3b82f6;
}

.delete-button {
    color: #e74c3c;
}

#trashButton {
    color: white;
    background-color: #e74c3c;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
    
#trashButton:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    color: white;
    background-color: #3b82f6;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
