        body {
            padding-top: 60px;
              background: url('/theme/image/background.svg') no-repeat center center fixed;
  background-size: cover;
  background-color: #f0f3fb;
        }

        /* Modal overlay */
#noteEditorModal {
  /* already fixed, inset-0, flex center from tailwind */
  /* Just reinforce minimum sizing and smooth fade */
  min-height: 100vh;
  overflow-y: auto;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

/* Modal container */
#noteEditorModal > div {
  max-height: 90vh; /* prevent overflow vertically */
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Header */
#noteEditorModal .flex.justify-between {
  gap: 0.75rem; /* add spacing between elements */
  flex-wrap: wrap; /* wrap inputs on smaller screens */
}

/* Title input */
#noteTitleInput {
  max-width: 300px;
  min-width: 150px;
  font-size: 1rem;
  line-height: 1.3;
}

/* Category select */
#noteCategoryInput {
  max-width: 160px;
  font-size: 1rem;
}

/* Editor container */
#noteEditor {
  min-height: 200px; /* reasonable editor height */
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  padding: 0.75rem;
  background-color: #fff;
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
}

/* Buttons */
#cancelNoteBtn, #saveNoteBtn {
  min-width: 100px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

/* Cancel button */
#cancelNoteBtn {
  background-color: transparent;
  border: 1px solid #bbb;
  color: #444;
}

#cancelNoteBtn:hover {
  background-color: #f0f0f0;
}

/* Save button */
#saveNoteBtn {
  background-color: #3b82f6; /* Tailwind blue-500 */
  border: none;
  color: white;
}

#saveNoteBtn:hover {
  background-color: #2563eb; /* Tailwind blue-600 */
}

/* Responsive tweaks */
@media (max-width: 640px) {
  #noteTitleInput {
    max-width: 100%;
    flex-grow: 1;
  }
  #noteCategoryInput {
    max-width: 100%;
    margin-top: 0.5rem;
  }
  #noteEditorModal .flex.justify-between {
    flex-direction: column;
    align-items: stretch;
  }
}
