.notes-filter-wrapper {
  font-family: "Inter", sans-serif;
  color: var(--text-color, #212529);
}
.notes-filter-wrapper .notes-title-bar {
  background-color: var(--theme-hover-color);
}
.notes-filter-wrapper .notes-title-bar i {
  color: var(--theme-color);
  background-color: white;
  padding: 6px;
  border-radius: 6px;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.notes-filter-wrapper .pinned-count {
  background-color: #fff9e6;
  color: #856404;
  border: 1px solid #ffeeba;
  font-size: 12px;
}
.notes-filter-wrapper .cursor-pointer {
  cursor: pointer;
}

.active-text {
  color: var(--theme-color);
}

.notes-dropdown .dropdown-menu {
  min-width: 100px !important;
  width: auto !important;
  background-color: var(--bs-dropdown-bg) !important;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
.switch .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
.switch input:checked + .slider {
  background-color: var(--theme-color);
}
.switch input:focus + .slider {
  box-shadow: 0 0 1px var(--theme-color);
}
.switch input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}
.switch .slider.round {
  border-radius: 34px;
}
.switch .slider.round:before {
  border-radius: 50%;
}

.notes-section .notes-section-item {
  min-width: 70px;
  height: 100%;
  text-align: center;
  position: relative;
  transition: color 0.3s ease;
  cursor: pointer;
  font-weight: 500 !important;
}
.notes-section .notes-section-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--theme-color);
  transform: scaleX(0);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: bottom left;
}
.notes-section .notes-section-item.active {
  color: var(--theme-color);
  font-weight: 400 !important;
}
.notes-section .notes-section-item.active::after {
  transform: scaleX(1);
}

.notes-shadow {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.notes-anchor-btn button {
  min-width: 100px;
  color: var(--text-color);
}
.notes-anchor-btn button:hover {
  background-color: var(--bg-color) !important;
  cursor: pointer !important;
  color: var(--text-color) !important;
}
.notes-anchor-btn button.active {
  cursor: default !important;
  background-color: var(--theme-color) !important;
  color: white !important;
}
.notes-anchor-btn button.active:hover {
  background-color: var(--theme-color) !important;
  color: white !important;
}

.quill-wrapper {
  border: 1px solid var(--border-color);
  border-radius: 5px;
  width: 100%;
  position: relative;
}
.quill-wrapper .ql-container {
  min-height: 100px !important;
}
.quill-wrapper .ql-editor {
  min-height: fit-content;
}

.note-files {
  background-color: var(--notes-bg-color, #f8f9fa);
  padding: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.note-files::before {
  content: "";
  position: absolute;
  border: 2px dashed var(--border-color);
  top: -2px;
  bottom: -2px;
  left: -2px;
  right: -2px;
  border-radius: 5px;
}
.note-files:hover {
  --border-color: var(--theme-color);
}

.note-info {
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--notes-bg-color, #f8f9fa);
  border-radius: 0.5rem;
  padding: 0.2rem;
}
.note-info .note-info-item {
  width: 100%;
  padding: 0.3rem;
}
.note-info .note-info-item + div {
  border-left: 1.5px solid var(--border-color);
}

.note-details {
  background-color: var(--notes-bg-color, #f8f9fa);
  border-radius: 0.3rem;
  border: 1.5px solid var(--border-color);
}
.note-details .note-title {
  border-bottom: 1.5px solid var(--border-color);
  font-weight: 500;
  padding: 0.5rem;
}
.note-details .note-content {
  border-bottom: 1.5px solid var(--border-color);
}

.note-files-list .note-file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem;
}
.note-files-list .note-file-item + .note-file-item {
  border-top: 1.5px solid var(--border-color);
}
.note-files-list .cursor-pointer {
  cursor: pointer;
}

#QuillView .ql-editor {
  min-height: auto !important;
  max-height: auto !important;
}

.notes-pagination .paginate_button > .page-link {
  background-color: var(--bg-color, white) !important;
  color: var(--text-color, black) !important;
}
.notes-pagination .paginate_button > .page-link:hover {
  background-color: var(--theme-hover-color) !important;
}
.notes-pagination .paginate_button.active > .page-link {
  background-color: var(--theme-color) !important;
  color: white !important;
}
.notes-pagination .paginate_button.disabled > .page-link {
  background-color: var(--bg-color, white) !important;
  color: var(--text-color, black) !important;
}

.notes-comments-section .notes-comments-title {
  color: #444;
}
.notes-comments-section .notes-comment-avatar {
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
}
.notes-comments-section .notes-comment-item .notes-comment-author {
  font-size: 16px;
  color: #333;
}
.notes-comments-section .notes-comment-item .notes-comment-edit-icon {
  color: #0d9488;
  font-size: 15px;
}
.notes-comments-section .notes-comment-item .notes-comment-delete-icon {
  font-size: 15px;
}
.notes-comments-section .notes-comment-item .notes-comment-text-wrapper {
  padding-left: 45px;
}
.notes-comments-section .notes-comment-item .notes-comment-text-wrapper .notes-comment-text {
  font-size: 15px;
  color: #444;
}
.notes-comments-section .notes-comment-item + .notes-comment-item {
  border-top: 1.5px solid var(--border-color);
}
.notes-comments-section .notes-comment-item .cursor-pointer {
  cursor: pointer;
}
.notes-comments-section .notes-add-comment-area .notes-comment-input {
  resize: none;
  border-color: #ddd;
}
.notes-comments-section .notes-add-comment-area .notes-comment-input:focus {
  border-color: var(--theme-color, #0d6efd);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}