.info-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.32);
  z-index: 2200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.editor-home-button {
  position: fixed;
  top: 10px;
  left: 55px;
  height: 40px;
  z-index: 1402 !important;
  padding: 4px 12px;
  border: none;
  background-color: var(--light-grey);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: transform 0.1s ease, background-color 0.2s ease;
}

.editor-home-button:hover {
  background-color: var(--light-grey-dark);
}

body.editor-mode-active #new-mind-map-button {
  display: none !important;
}

body.editor-mode-active #leftSidebar,
body.editor-mode-active #leftSidebarToggle,
body.editor-mode-active #menubar {
  display: none !important;
}

body.editor-mode-active .editor-home-button {
  left: 15px;
  display: flex !important;
}

body.editor-mode-active .search-mind-maps-button {
  left: 110px;
  background-color: var(--light-grey);
}
body.editor-mode-active .search-mind-maps-button:hover {
  background-color: var(--light-grey-dark) !important;
}

body.editor-library-active .editor-home-button,
body.editor-library-active .search-mind-maps-button {
  display: none !important;
}

body.editor-mode-active #app.left-sidebar-open,
body.editor-mode-active #mindmap.left-sidebar-open {
  width: 100% !important;
  margin-left: 0 !important;
}

#app .editor-home-gallery {
  pointer-events: auto;
}

.editor-home-gallery {
  display: none;
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 30px 0 70px;
  color: var(--text-color);
  will-change: transform, opacity;
  background-color: var(--white);
}

.editor-home-gallery.active {
  display: block;
}

.editor-home-gallery.leaving {
  display: block;
}

body.editor-transition-to-map .editor-home-gallery.leaving {
  animation: editorLibrarySlideOut 420ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

body.editor-transition-to-library .editor-home-gallery.active {
  animation: editorLibrarySlideIn 420ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

body.editor-transition-to-map #mindmap {
  animation: editorMindmapSlideIn 420ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

body.editor-transition-to-library #mindmap {
  animation: editorMindmapSlideOut 420ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes editorLibrarySlideIn {
  from {
    opacity: 0;
    transform: translateX(-34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes editorLibrarySlideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-34px);
  }
}

@keyframes editorMindmapSlideIn {
  from {
    opacity: 0;
    transform: translateX(34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes editorMindmapSlideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(34px);
  }
}

.editor-gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.editor-gallery-eyebrow {
  margin: 0 0 6px;
  color: var(--dark-grey);
  font-size: 0.9rem;
  font-weight: 600;
}

.editor-gallery-header h1 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
}

.editor-create-mindmap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 15px;
  border: none;
  border-radius: 10px;
  background: var(--soft-grey);
  color: var(--text-color);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  flex: 0 0 auto;
}

.editor-gallery-status {
  display: none;
  padding: 14px 0 26px;
  color: var(--dark-grey);
  font-weight: 500;
  text-align: center;
}

.editor-library-empty-state {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--dark-grey);
  margin-top: 40px;
}

.editor-library-empty-icon {
  color: currentColor;
  opacity: 0.32;
}

.editor-library-empty-state h3 {
  margin: 0;
  color: var(--dark-grey);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
}

.editor-library-search-title {
  margin: 0 auto 1.5rem;
  max-width: 500px;
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;

  text-align: center;
}

.editor-library-actions {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 588px;
  margin: 0 auto 18px;
}

.editor-library-search {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: 500px;
  margin: 0;
  border-radius: 10px;
  background: var(--soft-grey);
  color: var(--text-color);
  overflow: visible;
  transition: background-color 220ms ease, filter 220ms ease;
}

body.editor-library-search-active .editor-library-search,
body.editor-library-search-active .editor-library-search-results.active {
  z-index: 20;
}

body.editor-library-search-active .editor-library-search {
  background: var(--white);
  filter: drop-shadow(0 18px 46px rgba(10, 14, 24, 0.1));
}

body.editor-library-search-active .editor-library-search:has(.editor-library-search-results.active) {
  border-radius: 18px;
}

.editor-library-search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
}

body.editor-library-search-active .editor-library-search-field {
  min-height: 58px;
}

body.editor-library-search-active .editor-library-actions .editor-create-mindmap-btn {
  min-height: 58px;
}

.editor-library-search-icon {
  flex: 0 0 auto;
  color: var(--dark-grey);
}

.editor-library-search input {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-color);
  font: inherit;
  font-size: 0.98rem;
}

.editor-library-search input::-webkit-search-cancel-button,
.editor-library-search input::-webkit-search-decoration,
.editor-library-search input::-webkit-search-results-button,
.editor-library-search input::-webkit-search-results-decoration {
  display: none;
  -webkit-appearance: none;
}

.editor-library-search-clear {
  display: none;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--dark-grey);
  cursor: pointer;
}

.editor-library-search.has-value .editor-library-search-clear {
  display: inline-flex;
}

.editor-library-search-clear:hover {
  background: var(--background-color);
  color: var(--text-color);
}

.editor-library-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  max-height: min(420px, calc(100vh - 190px));
  border-top: 1px solid var(--background-color);
  border-radius: 0 0 18px 18px;
  background: var(--white);
  overflow: auto;
  box-shadow: 0 18px 46px rgba(10, 14, 24, 0.1);
}

.editor-library-search-results.active {
  display: block;
}

.editor-library-search-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  cursor: pointer;
  border-bottom: 1px solid var(--background-color);
}

.editor-library-search-item:last-child {
  border-bottom: none;
}

.editor-library-search-item:hover {
  background: var(--background-color);
}

.editor-library-search-item-main {
  min-width: 0;
}

.editor-library-search-enter {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--dark-grey);
  background: var(--background-color);
  opacity: 0;
}

.editor-library-search-item:first-child .editor-library-search-enter,
.editor-library-search-generate .editor-library-search-enter {
  opacity: 1;
}

.editor-library-search-generate .mindmap-title {
  font-weight: 600;
  color: var(--text-color);
}

.editor-library-search-generate .search-content-snippet {
  opacity: 0.62;
}

.search-mindmaps-popup .search-results-list {
  display: block;
  gap: 0;
  border-top: 1px solid var(--background-color);
  border-radius: 0 0 18px 18px;
  background: var(--white);
  overflow: hidden;
}

.search-mindmaps-popup .search-results-list .editor-library-search-item {
  border-bottom: 1px solid var(--background-color);
}

.search-mindmaps-popup .search-results-list .editor-library-search-item:hover {
  background: var(--background-color);
}

.search-mindmaps-popup .search-results-list .editor-library-search-item .mindmap-title {
  color: var(--text-color);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-mindmaps-popup .search-results-list .editor-library-search-item .mindmap-date {
  color: var(--secondary-text-color);
  font-size: 0.85em;
  margin-top: 5px;
}

.search-mindmaps-popup .search-results-list .editor-library-search-item .search-content-snippet {
  opacity: 0.62;
}

.editor-folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.editor-folder-card {
  min-height: 94px;
  padding: 14px;
  border: 2px solid var(--soft-grey);
  border-radius: 8px;
  background: var(--soft-grey);
  color: var(--text-color);
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 8px 10px;
  text-align: left;
}

.editor-folder-card:hover {
  border-color: var(--primary-color);
}

.editor-folder-icon {
  grid-row: 1 / span 2;
  align-self: start;
  color: var(--primary-color);
}

.editor-folder-name {
  min-width: 0;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.no-results-message {
  padding: 20px;
}

.editor-folder-count {
  color: var(--dark-grey);
  font-size: 0.78rem;
  font-weight: 550;
}

.editor-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.editor-gallery-card {
  min-width: 0;
  text-align: left;
  border: 2px solid var(--white);
  background: var(--soft-grey);
  color: var(--text-color);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  position: relative;
}

.editor-gallery-card:hover {
  border:  2px solid var(--primary-color)
}

.editor-gallery-card.compact {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.editor-card-preview {
  height: 142px;
  border-radius: 2px;
  background: var(--white);
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
}

.editor-rendered-preview {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.editor-rendered-preview > svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.editor-rendered-preview .mm-stage {
  transform-origin: center;
}

.editor-rendered-preview text {
  opacity: 0;
}

.editor-rendered-preview .mm-link,
.editor-rendered-preview .mm-collapsed-link,
.editor-rendered-preview .mm-node line {
  stroke-width: 10 !important;
}

.editor-card-dots {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.16s ease, background-color 0.16s ease;
}

.editor-gallery-card:hover .editor-card-dots,
.editor-gallery-card:focus-within .editor-card-dots {
  opacity: 1;
}


.editor-folder-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 0s linear 180ms;
}

.editor-folder-popup-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 180ms ease;
}

.editor-folder-popup-overlay.active .editor-folder-popup {
  animation: editorFolderPopupIn 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.editor-folder-popup-overlay.closing .editor-folder-popup {
  animation: editorFolderPopupOut 180ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.editor-folder-popup {
  width: min(620px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  background: var(--white);
  color: var(--text-color);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-origin: center;
}

@keyframes editorFolderPopupIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes editorFolderPopupOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
}

.editor-folder-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 10px;
}

.editor-folder-popup-header h2 {
  margin: 0;
  min-width: 0;
  font-size: 1.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editor-folder-popup-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: var(--background-color);
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editor-folder-popup-status {
  padding: 18px;
  color: var(--dark-grey);
}

.editor-folder-popup-list {
  overflow-y: auto;
  padding: 8px 12px 14px;
}

.editor-folder-popup-item {
  position: relative;
  min-height: 70px;
  padding: 12px 48px 12px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.editor-folder-popup-item:hover {
  background: var(--background-color);
}

.editor-folder-popup-item .editor-card-dots {
  opacity: 1;
}

.editor-folder-popup-title {
  font-weight: 600;
  line-height: 1.35;
}

.editor-folder-popup-date {
  margin-top: 4px;
  color: var(--dark-grey);
  font-size: 0.78rem;
  font-weight: 550;
}

body.editor-mode-active .dots-menu {
  z-index: 10120 !important;
}

body.editor-mode-active .dots-submenu,
body.editor-mode-active .dots-safety-triangle {
  z-index: 10130 !important;
}

.editor-preview-map {
  height: 100%;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.editor-preview-root,
.editor-preview-node,
.editor-preview-leaf {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.04);
}

.editor-preview-root {
  max-width: 156px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 750;
}

.editor-preview-branches {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.editor-preview-branch {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.editor-preview-node {
  width: 100%;
  padding: 5px 7px;
  border-radius: 7px;
  font-size: 0.66rem;
  font-weight: 650;
}

.editor-preview-leaves {
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.editor-preview-leaf {
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 0.58rem;
  opacity: 0.72;
}

.editor-card-preview-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-grey);
  font-size: 0.85rem;
}

.editor-card-title {
  min-height: 2.8em;
  margin-bottom: 7px;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.editor-card-date {
  color: var(--dark-grey);
  font-size: 0.78rem;
  font-weight: 500;
}

.editor-gallery-card-skeleton {
  pointer-events: none;
}

.editor-gallery-card-skeleton .editor-card-preview,
.editor-gallery-card-skeleton .editor-card-title,
.editor-gallery-card-skeleton .editor-card-date {
  background-color: var(--skeleton-color);
  background-image: linear-gradient(90deg,
      var(--skeleton-color) 0,
      var(--skeleton-shine-color) 42px,
      var(--skeleton-color) 84px);
  background-size: 220px 100%;
  background-repeat: no-repeat;
  animation: skeleton-shine 1.5s infinite linear;
  border-radius: 7px;
}

.editor-gallery-card-skeleton .editor-card-title {
  height: 18px;
  min-height: 18px;
  width: 80%;
}

.editor-gallery-card-skeleton .editor-card-date {
  height: 12px;
  width: 42%;
}

@media (max-width: 770px) {
  .editor-home-gallery {
    width: calc(100vw - 28px);
    padding-top: 12px;
  }

  .editor-gallery-header {
    align-items: center;
  }

  .editor-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
    gap: 10px;
  }

  .editor-card-preview {
    height: 116px;
  }

  .editor-gallery-header h1 {
    font-size: 1.5rem;
  }
}

@media (pointer: coarse) {
  .editor-card-dots {
    opacity: 1;
  }
}

.info-menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

.search-content-snippet {
  font-size: 0.85rem;
  opacity: 0.5;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.info-menu {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(-20px);
  background-color: var(--background-color);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 0px 10px 0px 0px;
  width: 90%;
  max-width: 900px;
  visibility: hidden;
  opacity: 0;
  height: 640px;
  flex-direction: column;
  z-index: 2201;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s 0.3s;
}

.info-menu.show {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.info-menu a {
  color: var(--text-color);
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 12px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.info-menu a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.info-menu-close-button {
  top: 20px !important;
  right: 20px !important;
}

.info-menu-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  display: none;
}

.info-menu-header-container {
  position: fixed;
  width: 100%;
  margin-top: 0px;
  background-color: var(--white);
  color: var(--text-color);
  display: none;
  padding: 15px 20px;
  z-index: 2201 !important;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.05) !important;
}

.mmw-feedback-btn {
  display: none !important;
}

.close-user-dashboard-button {
  align-items: center;
  background-color: transparent;
  border: none;
  color: var(--text-color);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-user-dashboard-button:hover {
  color: var(--primary-color);
}

.mindmaps-dashboard-wrapper-xk7j {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  height: 640px;
}

.usage-section-container-m9q2 {
  background: var(--white);
  border-radius: 16px 0px 0px 16px;
  padding: 30px;
  box-shadow: 4px 4px 12px 0px rgba(0, 0, 0, 0.05) !important;
  height: 640px;
}

/* Skeleton Loading Animation */
.usage-stats-card-skeleton {
  background: var(--background-color);
  border: none;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 10px;
  animation: pulse 1.5s ease-in-out infinite;
}

.usage-counter-text-skeleton {
  margin-bottom: 10px;
}

.usage-number-skeleton {
  height: 18px;
  background: linear-gradient(90deg, var(--light-grey) 25%, var(--light-grey) 50%, var(--light-grey) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 8px;
  width: 60px;
}

.usage-text-skeleton {
  height: 14px;
  background: linear-gradient(90deg, var(--light-grey) 25%, var(--light-grey) 50%, var(--light-grey) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  width: 120px;
}

.usage-progress-container-skeleton {
  width: 100%;
  height: 16px;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
}

.usage-progress-fill-skeleton {
  height: 100%;
  background: linear-gradient(90deg, var(--light-grey) 25%, var(--light-grey) 50%, var(--light-grey) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: inherit;
  width: 20%;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.usage-title-header-p3w8 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 25px;
}

.usage-stats-card-z4n1 {
  background: var(--background-color);
  border: none;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 10px;
}

.usage-counter-text-b8v5 {
  font-size: 18px;
  color: var(--dark-grey);
  margin-bottom: 10px;
  position: relative;
}

.usage-number-bold-r2k9 {
  color: var(--text-color);
  font-weight: 700;
}

.usage-progress-container-w7h3 {
  width: 100%;
  height: 16px;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
}

.usage-progress-fill-j6t4 {
  height: 100%;
  background: #20c997;
  width: 10%;
  border-radius: 8px;
}

.special-req-progress-container {
  width: 100%;
  height: 16px;
  background-color: var(--white, #f0f0f0);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  margin-top: 10px;
}

.progress-segment {
  height: 100%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.segment-pdf {
  background-color: #FD302F;
}

.segment-expansion {
  background-color: #4dabf7;
}

.segment-notes {
  background-color: #fcc419;
}

.segment-chatbot {
  background-color: #C667FF;
}

.special-req-legend {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  margin-top: 8px;
  color: var(--dark-grey, #666);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  transform: translateY(1px);
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 4px;
  display: inline-block;
}

.free-limit-list {
  margin-top: 15px;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.free-limit-item {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 6px;
}

.help-button-tooltip {
  background: transparent;
  border: none;
  padding: 0px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: all 0.2s ease;
  border-radius: 50%;
}

@media (max-width: 550px) {
  .help-button-tooltip {
    display: none;
  }
}

.help-button-tooltip:hover {
  color: var(--text-color);
}

.pdf-tooltip-popover {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #1a1a1a;
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.4;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 4600;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  text-align: left;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, "Avenir", "Montserrat", "Corbel", "URW Gothic",
    "Source Sans Pro", sans-serif;
}

.pdf-tooltip-popover.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
  pointer-events: auto;
}

.special-req-progress-container {
  overflow: visible !important;
  border-radius: 999px;
  display: flex;
}


.progress-segment {
  position: relative;
  cursor: pointer;
  border-radius: 8px;
}

.progress-segment::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 135%;
  left: 50%;
  transform: translateX(-50%) translateY(5px) scale(0.95);
  background-color: #111827;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out, visibility 0.15s;
}

.progress-segment::before {
  content: '';
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%) translateY(5px) scale(0.95);
  border-width: 6px;
  border-style: solid;
  border-color: #111827 transparent transparent transparent;
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out, visibility 0.15s;
}

.progress-segment:hover::after,
.progress-segment:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.tooltip-arrow {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #1a1a1a;
}



.sidebar-panel-right-h6u4 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 0px 6px 0px;
}

.contact-section-block-d2n7 {
  border-radius: 16px;
  padding: 35px 12px 12px 12px;
}

.contact-title-main-s8k1 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 16px;
}

.user-profile-link-item {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: var(--text-color);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s ease;

  svg {
    margin-right: 12px;
  }
}

.user-profile-link-item.language-selector-container {
  padding: 8px 15px;
  margin: 0px 0px 8px 0px;
}

.legal-section-block-v9x2 {
  border-radius: 16px;
  padding: 12px;
}

.legal-title-main-i4p6 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 16px;
}

.legal-link-item-o8w3:hover {
  color: var(--dark-grey) !important;
}

.clear-history-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  width: 100%;
  color: crimson !important;
  margin-top: 30px !important;
  text-decoration: none;
  background-color: rgba(255, 0, 51, 0.1) !important;
  padding: 10px 15px;
  border-radius: 12px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  border: none;
  position: relative;
  margin-left: -5px;
}

.clear-history-button .button-text {
  flex: 1;
  text-align: center;
}

.log-out-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  width: 100%;
  color: var(--text-color);
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: -5px;
  text-decoration: none;
  background-color: var(--light-grey);
  padding: 10px 15px;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, "Avenir", "Montserrat", "Corbel", "URW Gothic",
    "Source Sans Pro", sans-serif;
  border-radius: 12px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  border: none;
  position: relative;
}

.log-out-button .button-text {
  flex: 1;
  text-align: center;
}

.log-out-button svg {
  margin-left: 5px;
}

.log-out-icon path {
  transition: transform 0.3s ease;
}

.log-out-button:hover .log-out-icon path:nth-child(1),
.log-out-button:hover .log-out-icon path:nth-child(2) {
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .mindmaps-dashboard-wrapper-xk7j {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .usage-section-container-m9q2 {
    padding: 20px;
    height: auto !important;
  }

  .mindmap-meta-info-t1y8 {
    gap: 16px;
  }
}

.user-profile-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.32);
  justify-content: center;
  align-items: center;
  z-index: 4200;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

@media (max-width: 475px) {
  .user-profile-modal-overlay {
    background-color: rgba(0, 0, 0, 0.64) !important;
  }
}

.user-profile-modal-overlay.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease-in-out !important;
}

.user-profile-modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}


@media (max-width: 400px) {
  .user-profile-modal-content {
    transform: translateY(-50px);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }
}

.user-profile-close-button {
  position: absolute;
  top: calc((100vh - 701px) / 2 + 8px);
  right: calc((100vw - 880px) / 2 + 8px);
  color: var(--text-color);
  background-color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  padding: 0;
  transition: background-color 0.3s ease;
  z-index: 5301 !important;
}

@media (max-width: 400px) {
  .user-profile-close-button {
    top: 90px !important;
    right: 5px !important;
    background: var(--clerk-color-muted) !important;
  }
}


@media (min-width: 400px) and (max-width: 770px) {
  .user-profile-close-button {
    top: 90px !important;
    right: 8px !important;
    background: var(--clerk-color-muted) !important;
  }
}

@media (min-width: 770px) and (max-width: 900px) {
  .user-profile-close-button {
    top: 100px !important;
    right: 20px !important;
  }
}

.user-profile-close-button:hover {
  background-color: var(--card-background);
}


.pricing-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.compact-pricing-card {
  background-color: var(--background-color);
  border-radius: 24px;
  padding: 24px;
  height: 217px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  overflow: visible;
}

@media (max-width: 1025px) {
  .sale-text-image {
    display: none;
  }
}

.pricing-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.pricing-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  color: #345af0;
  line-height: 1;
}

.pricing-price span {
  font-size: 1. 8rem;
  color: #345af0;
  font-weight: 600;
}

.pricing-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--dark-grey);
  font-weight: 400;
  line-height: 1.2;
}

.check-icon {
  color: #10b981;
  min-width: 16px;
  height: 16px;
}

.more-text {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-left: 0px;
  margin-top: 4px;
}

.view-plans-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-color) !important;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s, opacity 0.2s;
  border: none;
  cursor: pointer;
}

.view-plans-btn:hover {
  background-color: var(--text-color) !important;
  color: var(--white) !important;
}

.view-plans-btn svg {
  transition: transform 0.2s ease-in-out;
}

.view-plans-btn:hover svg {
  transform: translateX(4px);
}

.usage-trigger-container {
  position: relative;
  padding-left: 10px;
  width: fit-content;
}

.view-usage-text {
  font-size: 0.85rem;
  color: var(--dark-grey);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.view-usage-text:hover {
  color: var(--text-color);
}

.usage-tooltip-popover {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 120%;
  left: 0;
  width: 240px;
  background: var(--white);
  color: var(--text-color);
  padding: 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  z-index: 100;
  pointer-events: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transform: translateY(10px);
}

.usage-trigger-container:hover .usage-tooltip-popover {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.tooltip-title {
  font-weight: 700;
  margin-bottom: 8px;
  padding-bottom: 8px;
  font-size: 0.9rem;
  display: block;
}

.tooltip-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.tooltip-row:last-child {
  margin-bottom: 0;
}

.tooltip-row strong {
  color: var(--dark-grey);
  background-color: var(--background-color);
  padding: 2px 4px;
  border-radius: 6px;
}

.tooltip-row span {
  color: var(--text-color);
}

.keyboard-shortcuts-popup {
  position: fixed;
  background-color: var(--white);
  border-radius: 20px;
  border: none;
  padding: 32px;
  bottom: 45%;
  right: 20px;
  z-index: 3200;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 6px;
  width: 380px;
  max-width: 90vw;
  transform: translateY(0);
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.keyboard-shortcuts-popup::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 26px;
  z-index: -1;
}

@media (max-width: 1311px) {
  .hotkeys-button {
    display: none !important;
  }
}

.user-profile-picture-icon {
  border-radius: 50%;
  corner-shape: squircle !important;
  cursor: pointer;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: none;
  outline: none;
}

.user-icon-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #666;
  z-index: -1;
}

.user-profile-picture-icon:not([src]),
.user-profile-picture-icon[src=""],
.user-profile-picture-icon[src*="placeholder"] {
  opacity: 0;
}

.info-button {
  position: fixed;
  top: 8px;
  right: 10px;
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  border-radius: 25px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.info-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 25px; 
  corner-shape: squircle !important;
  pointer-events: none; 
  transition: box-shadow 0.3s ease;
}

.info-button:hover {
  background-color: #f5f5f7;
  transform: scale(1.05);
}

.info-button:hover::after {
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.25);
}

@media (max-width: 640px),
(pointer: coarse) {
  .info-button {
    background-color: rgba(248, 250, 252, 0.9);
    box-shadow: none !important;
    border: none !important;
  }

  .mm-toolbar {
    display: none !important;
  }
}

.mm-toolbar {
  position: fixed;
  bottom: 14px;
  right: 14px;
  background-color: var(--background-color) !important;
  border: none !important;
  border-radius: 20px !important;
  display: flex;
  flex-direction: row;
  padding: 3px !important;
  z-index: 1000;
  gap: 3px !important;
}

.mm-toolbar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
  border-radius: 40px !important;
  transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
  color: #555;
}

.mm-toolbar-item:hover {
  background-color: var(--white) !important;
  transform: translateY(0px) !important;
  color: var(--text-color);
}



.mm-toolbar-item.active {
  background-color: #d0d0d0;
  color: var(--text-color) !important;
}


.mm-toolbar-item svg {
  width: 20px;
  height: 20px;
  color: var(--text-color) !important;
}

.mm-toolbar-brand {
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  font-size: 1px;
  border-radius: 6px;
  transition: background-color 0.2s ease-in-out;
}

.mm-toolbar-brand:hover {
  background-color: #f0f0f0;
}



.mm-toolbar-brand:not(:first-child),
.mm-toolbar-item:not(:first-child) {
  margin-left: 0px !important;
}

.mindmaps-scroll-wrapper {
  height: 250px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
}

.mindmaps-scroll-wrapper::-webkit-scrollbar {
  width: 6px;
}

.mindmaps-scroll-wrapper::-webkit-scrollbar-track {
  background: #f8f9fa;
  border-radius: 3px;
}

.mindmaps-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #eaecef;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mindmaps-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: #dadbdd;
}



.delete-button {
  position: absolute;
  right: 10px;
  top: 50%;
  height: 34px;
  width: 34px;
  transform: translateY(-50%) translateX(50%);
  background-color: var(--background-color);
  color: white;
  border: none;
  color: var(--text-color);
  font-size: 12px;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s ease;
  padding: 7px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.mindmap-item-row-c4f7:hover .delete-button {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}



.empty-state,
.error-state {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-style: italic;
}



.mindmap-delete-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.32);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.2s ease;
}

@keyframes fadeInFromTop {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mindmap-delete-modal {
  background: var(--white);
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  max-width: 400px;
  width: 90%;
  padding: 0;
  overflow: hidden;
  position: relative;

  animation: fadeInFromTop 0.3s ease-out forwards;
}

.mindmap-delete-modal-header {
  padding: 24px 24px 10px 24px;
}

.mindmap-delete-modal-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.4;
}

.mindmap-delete-modal-body {
  padding: 16px 24px 24px 24px;
}

.mindmap-delete-modal-body p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.5;
}

.mindmap-delete-modal-footer {
  padding: 25px 24px 24px 24px;
  display: flex;
  gap: 12px;
  height: 85px;
  justify-content: flex-end;
}

.mindmap-delete-modal-cancel-btn,
.mindmap-delete-modal-confirm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 40px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
  border: none;
  width: 50%;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, "Avenir", "Montserrat", "Corbel", "URW Gothic",
    "Source Sans Pro", sans-serif;
}

.mindmap-delete-modal-cancel-btn {
  background: var(--light-grey);
  color: var(--text-color);
}

.mindmap-delete-modal-cancel-btn:hover {
  background-color: var(--light-grey-dark);
  border-color: #adb5bd;
}

.mindmap-delete-modal-confirm-btn.primary {
  background: #007bff;
  color: white;
}

.mindmap-delete-modal-confirm-btn.danger {
  background: var(--red);
  color: white;
}

.mindmap-delete-modal-confirm-btn.danger:hover {
  background: var(--red-dark);
  color: white;
}

.mindmap-delete-modal-confirm-btn:hover {
  opacity: 1.1;
}

.modal-enter-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.42;
  pointer-events: none;
}

.modal-enter-shortcut svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 480px) {
  .mindmap-delete-modal {
    max-width: 95%;
    margin: 20px;
  }

  .mindmap-delete-modal-header,
  .mindmap-delete-modal-body,
  .mindmap-delete-modal-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.upgrading-disclaimer-link svg {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.upgrading-disclaimer-link:hover svg {
  opacity: 1;
  transform: translateX(0);
}

.upgrading-disclaimer-link.show {
  opacity: 1 !important;
}

.upgrading-disclaimer-link {
  font-size: 0.9rem;
  text-decoration: none !important;
  color: var(--text-color) !important;
  opacity: 0 !important;
  transition: all 0.3s ease !important;
}


.upgrading-disclaimer-link:hover {
  background-color: transparent !important;
}

@media (max-width: 768px) {
  .info-menu {
    width: 95%;
    height: 90vh;
    max-height: 630px;
    border-radius: 30px;
    padding: 0;
  }

  .mindmaps-dashboard-wrapper-xk7j {
    grid-template-columns: 1fr;
    gap: 0;
    height: 100%;
    overflow-y: auto;
  }

  .usage-section-container-m9q2 {
    border-radius: 16px 16px 0 0;
    padding: 20px 16px;
    margin-bottom: 0;
  }

  .usage-title-header-p3w8 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .usage-stats-card-z4n1 {
    padding: 20px;
    margin-bottom: 20px;
  }

  .usage-counter-text-b8v5 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .shared-title-heading-x8n6 {
    font-size: 18px;
    margin-top: 40px;
    margin-bottom: 16px;
  }

  .mindmap-item-row-c4f7 {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    margin-bottom: 12px;
  }

  .mindmap-name-label-q9s3 {
    font-size: 15px;
    line-height: 1.4;
  }

  .mindmap-meta-info-t1y8 {
    gap: 16px;
    width: 100%;
  }

  .mindmap-date-stamp-e5k2,
  .mindmap-views-count-a3v9 {
    font-size: 13px;
  }

  .usage-section-container-m9q2 {
    padding: 16px 12px 0px 12px;
  }

  .sidebar-panel-right-h6u4 {
    background: var(--white);
    border-radius: 0 0 16px 16px;
    box-shadow: 0px -4px 12px 0px rgba(0, 0, 0, 0.1) !important;
    z-index: 2201 !important;
    gap: 20px;
    padding: 20px 0px 0px 0px;
    font-size: 1.1rem;
    font-weight: 500;
  }

  .info-menu-title,
  .info-menu-header-container {
    display: flex;
  }

  .close-user-dashboard-button {
    margin: auto;
    transform: translateX(-10px);
  }

  .mindmaps-scroll-wrapper {
    height: 200px;
  }

  .usage-section-container-m9q2 {
    padding-top: 75px;
  }

  .contact-section-block-d2n7 {
    padding: 0px 8px 0px 8px;
  }

  .user-profile-link-item {
    font-size: 18px;
    padding: 12px 8px;
    margin-bottom: 4px;
  }

  .user-profile-link-item svg {
    margin-right: 10px;
    width: 18px;
    height: 18px;
  }

  .legal-section-block-v9x2 {
    padding: 0;
  }

  .legal-section-block-v9x2 a {
    font-size: 15px;
    padding: 10px 8px;
    margin-bottom: 4px;
    margin-left: 8px;
    margin-right: 8px;
  }

  .clear-history-button,
  .log-out-button {
    font-size: 1rem !important;
    font-weight: 500;
    padding: 12px 15px !important;
    margin-left: 0;
    border-radius: 0px !important;
    margin-bottom: 0px !important;
  }

  .log-out-button {
    margin-top: 0px;
  }

  .clear-history-button {
    margin-top: 20px !important;
  }

  .delete-button,
  .copy-button {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-left: 8px;
    height: 32px;
    width: 32px;
    flex-shrink: 0;
  }

  .mindmap-item-row-c4f7 {
    position: relative;
    padding-right: 80px;
  }

  .mindmap-item-row-c4f7 .delete-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  .mindmap-item-row-c4f7 .copy-button {
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
  }

  .info-menu-close-button {
    padding: 12px;
    top: 8px !important;
    right: 8px !important;
  }

  .upgrading-disclaimer-link {
    font-size: 13px;
    padding: 8px 0;
  }

  .usage-section-container-m9q2::-webkit-scrollbar {
    width: 4px;
  }

  .usage-section-container-m9q2::-webkit-scrollbar-track {
    background: transparent;
  }

  .usage-section-container-m9q2::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
  }

  .info-menu-close-button {
    display: none;
  }
}

@media (max-width: 480px) {
  .info-menu {
    width: 100vw !important;
    height: 100vh !important;
    border-radius: 0px !important;
    min-height: 100vh;
    transition: transform 0.3s ease;
  }

  .info-menu.show {
    transform: translate(-50%, -50%) translateY(0);
    transition: transform 0.3s ease;
  }

  .usage-title-header-p3w8,
  .shared-title-heading-x8n6 {
    font-size: 16px;
  }

  .mindmap-item-row-c4f7 {
    padding: 14px 70px 14px 14px;
  }

  .mindmap-name-label-q9s3 {
    font-size: 14px;
  }

  .mindmap-meta-info-t1y8 {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .user-profile-link-item {
    font-size: 14px;
    padding: 10px 4px;
  }

  .clear-history-button,
  .log-out-button {
    font-size: 14px;
    padding: 10px 12px;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .info-menu {
    height: 95vh;
    max-height: none;
  }

  .mindmaps-dashboard-wrapper-xk7j {
    grid-template-columns: 1fr 280px;
    gap: 16px;
  }

  .usage-section-container-m9q2 {
    border-radius: 16px 0 0 16px;
  }

  .sidebar-panel-right-h6u4 {
    border-radius: 0 16px 16px 0;
    background: #f8f9fa;
  }
}

@media (min-width: 865px) and (max-width: 1024px) {
  .info-menu {
    width: 85%;
    max-width: 800px;
  }

  .mindmaps-dashboard-wrapper-xk7j {
    grid-template-columns: 1fr calc(100% - 478px);
    gap: 24px;
  }

  .usage-section-container-m9q2 {
    padding: 24px;
  }

  .sidebar-panel-right-h6u4 {
    padding: 16px 0px 8px 0px;
  }
}

.mindmap-item-row-skeleton {
  font-family: "SF Pro Text", -apple-system, BlinkMacMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, "Avenir", "Montserrat", "Corbel", "URW Gothic",
    "Source Sans Pro", sans-serif;
  color: var(--text-color);
  box-sizing: border-box;
  margin: 0;
  background: var(--card-background);
  border: none;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.mindmap-item-row-skeleton div,
.mindmap-item-row-skeleton span,
.mindmap-item-row-skeleton button {
  background-color: var(--skeleton-color);
  background-image: linear-gradient(90deg,
      var(--skeleton-color) 0px,
      var(--skeleton-shine-color) 40px,
      var(--skeleton-color) 80px);
  background-size: 200px 100%;
  background-repeat: no-repeat;
  animation: skeleton-shine 1.5s infinite linear;
  border-radius: 4px;
  border: none;
  cursor: default;
  pointer-events: none;
}

.mindmap-name-label-skeleton {
  height: 20px;
  width: 150px;
}

.mindmap-meta-info-skeleton {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mindmap-date-stamp-skeleton {
  height: 16px;
  width: 70px;
}

.mindmap-views-count-skeleton {
  height: 16px;
  width: 50px;
}

.mindmap-buttons-skeleton {
  display: flex;
  gap: 8px;
}

.mindmap-button-skeleton {
  height: 20px;
  width: 20px;
  border-radius: 50%;
}

#clerk-loading-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #F8FAFC;
  opacity: 1;
  transition: opacity 0.1s ease-out;
}

#clerk-loading-indicator.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

#clerk-loading-indicator .loading {
  display: none !important;
}

@media (max-width: 800px) {
  .loading {
    display: none !important;
  }
}

/* From Uiverse.io by satyamchaudharydev */
.loading {
  display: none;
  --height-of-loader: 4px;
  --loader-color: #ffffff;
  width: 130px;
  height: 3px;
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.2);
  position: relative;
}

.loading::before {
  content: "";
  position: absolute;
  background: var(--primary-color);
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  border-radius: 30px;
  animation: moving 1s ease-in-out infinite;
}

@keyframes moving {
  50% {
    width: 100%;
  }

  100% {
    width: 0;
    right: 0;
    left: unset;
  }
}

.sync-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 4000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease,
    background-color 0.3s ease;
}

.sync-popup-overlay.show {
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.32);
}

.sync-popup-content {
  background-color: var(--white);
  padding: 25px 0px 0px 0px;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  width: 500px;
  max-width: 95%;
  text-align: left;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.sync-popup-overlay.show .sync-popup-content {
  transform: translateY(0);
  opacity: 1;
}

.sync-popup-content h2 {
  margin-bottom: 8px;
  text-align: center;
}

#localMindMapList {
  list-style: none;
  padding: 10px 25px 0px 25px;
  margin: 20px 0 0px 0px;
  max-height: 40vh;
  overflow-y: auto;
  text-align: left;
  margin-bottom: 0px;
}

#localMindMapList li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background-color: var(--background-color);
  margin-bottom: 8px;
}

#localMindMapList li:last-child {
  margin-bottom: 20px;
}

.sync-popup-dialog-button {
  padding: 8px 20px;
  width: calc(100% - 20px);
  margin-top: 0px;
  border: none;
  border-radius: 80px;
  margin: 10px;
  cursor: pointer;
  font-size: 1rem;
  background-color: var(--light-grey);
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: "SF Pro Text", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  height: 40px;

}

.sync-popup-dialog-button:hover {
  background-color: var(--background-color);
}

.mindmap-save-warning-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, background-color 0.25s ease;
}

.mindmap-save-warning-overlay.show {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.38);
}

.mindmap-save-warning-modal {
  width: min(440px, 100%);
  padding: 26px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  color: var(--text-color);
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mindmap-save-warning-overlay.show .mindmap-save-warning-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.mindmap-save-warning-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

.mindmap-save-warning-body {
  text-align: center;
}

.mindmap-save-warning-body h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}

.mindmap-save-warning-body p {
  margin: 0;
  color: var(--dark-grey);
  font-size: 0.98rem;
  line-height: 1.45;
}

.mindmap-save-warning-body .mindmap-save-warning-status {
  margin-top: 14px;
  color: var(--text-color);
  font-weight: 600;
}

.mindmap-save-warning-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.mindmap-save-warning-btn {
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: none;
  border-radius: 12px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.mindmap-save-warning-btn:hover {
  transform: translateY(-1px);
}

.mindmap-save-warning-btn:disabled {
  cursor: default;
  opacity: 0.65;
  transform: none;
}

.mindmap-save-warning-btn.primary {
  background: var(--text-color);
  color: var(--white);
}

.mindmap-save-warning-btn.secondary {
  background: var(--light-grey);
  color: var(--text-color);
}

.mindmap-save-warning-btn.secondary:hover {
  background: var(--light-grey-dark);
}

@media (max-width: 520px) {
  .mindmap-save-warning-modal {
    padding: 22px;
    border-radius: 20px;
  }

  .mindmap-save-warning-actions {
    flex-direction: column;
  }
}

.delete-mind-map-button,
.save-mind-map-button {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1rem;
  height: 35px;
  width: 35px;
  padding: 8px;
  border-radius: 10px;
}

.save-mind-map-button {
  width: 91px;
}

.language-grid-container {
  padding: 10px 25px 0px 25px;
  margin: 20px 0 0px 0px;
}

.language-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-height: 40vh;
  overflow-y: auto;
  padding-bottom: 10px;
}

.language-item {
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background-color: var(--background-color);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.language-item:hover {
  background-color: var(--light-grey);
}

.language-item.active {
  border-color: var(--primary-color);
  background-color: var(--white);
}

.language-item-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-color);
}

.save-mind-map-button {
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem 0.5rem 0.4rem;
  text-align: center;
  gap: 8px;
  font-size: 1rem;
  background-color: var(--white);
}

.save-mind-map-button:hover {
  background-color: var(--light-grey);
}

.save-mind-map-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.sync-save-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--text-color);
  border-top-color: transparent;
  border-radius: 50%;
  animation: sync-spin 0.6s linear infinite;
  flex-shrink: 0;
}

@keyframes sync-spin {
  to { transform: rotate(360deg); }
}

.delete-mind-map-button {
  color: #ef4444;
  border-radius: 10px;
}

.delete-mind-map-button:hover {
  background-color: rgba(220, 20, 60, 0.1);
}

.pro-badge {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  background-color: #ffde5a58;
  border: 3px solid #ffde5a;
  padding: 2px 20px;
  width: fit-content;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  margin-left: auto;
  margin-right: auto;
  color: #1e293b;
  margin-bottom: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1.5);
  opacity: 0;
}

.pro-badge.show {
  opacity: 1;
}

/* Dark Mode Styles */
@media (prefers-color-scheme: dark) {
  .pro-badge {
    background-color: #a99500;
    color: #393200;
    border: 0px solid #a99500;
  }
}

.pro-badge-icon {
  vertical-align: text-bottom;
  height: 1em;
  width: auto;
  margin-right: 5px;
  display: inline-block;
  position: relative;
  top: 2px;
}

.pro-badge:hover {
  margin-top: -1px;
  padding: 3px 25px;
  margin-bottom: 19px;
}

.pro-badge-icon {
  transition: all 0.4s ease;
}

.pro-badge:hover .pro-badge-icon path:nth-of-type(1) {
  transform-origin: center;
  transform: rotate(-180deg);
}

.pro-badge:hover .pro-badge-icon path:nth-of-type(2) {
  transform-origin: center;
  transform: rotate(180deg);
}

.pro-badge-icon path {
  transition: all 0.3s ease-in-out;
}

.editor-library-pro-badge {
  position: fixed;
  top: 8px;
  right: 58px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 40px;
  box-sizing: border-box;
  margin: 0;
  backdrop-filter: blur(6px);
  padding: 0 14px;
  font-size: 0.9rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  z-index: 2001;
}

.editor-library-pro-badge .pro-badge-icon {
  position: static;
  top: auto;
  width: 1em;
  height: 1em;
  margin-right: 0;
  flex: 0 0 auto;
}

.editor-library-pro-badge .pro-badge-label {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

body.editor-library-active .editor-library-pro-badge.show {
  display: inline-flex;
  opacity: 1;
}

.editor-library-pro-badge:hover {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 16px;
  transform: scale(1.03);
}

/* Pro Benefits Popup Styles */
.pro-benefits-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.32);
  z-index: 3000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  justify-content: center;
  align-items: center;
}

.pro-benefits-popup-overlay.show {
  display: flex;
  opacity: 1;
}

.pro-benefits-popup {
  position: relative;
  background-color: var(--background-color);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.pro-benefits-popup-overlay.show .pro-benefits-popup {
  transform: translateY(0);
  opacity: 1;
}

.pro-benefits-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: transparent;
  border: none;
  color: var(--text-color);
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
  border-radius: 5px 12px 5px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.pro-benefits-popup-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.pro-benefits-popup-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 10px;
  margin-top: 0px;
}

.pro-benefits-popup-content {
  text-align: center;
  margin-top: 25px;
}

.pro-benefits-popup-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.pro-benefits-popup-button:hover {
  background-color: var(--primary-color-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pro-benefits-popup-overlay .lists {
  margin-left: 0;
  margin-top: 15px;
}

.pro-benefits-popup-overlay .list {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0;
}

.pro-benefits-popup-overlay .list span {
  flex-shrink: 0;
  margin-top: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pro-benefits-popup-overlay .checkmark-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.pro-benefits-popup-overlay .list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .pro-benefits-popup {
    width: 95%;
    padding: 20px;
    max-height: 85vh;
  }

  .pro-benefits-popup-title {
    font-size: 20px;
  }

  .pro-benefits-popup-overlay .list p {
    font-size: 14px;
  }
}

.pro-badge-small {
  font-size: 0.75rem;
  font-weight: 500;
  background-color: var(--text-color);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 20px;
  margin-left: 12px;
  margin-right: -4px;
  vertical-align: middle;
  font-family: "SF Pro Rounded", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, "Avenir", "Montserrat", "Corbel", "URW Gothic",
    "Source Sans Pro", sans-serif;
}

@media (max-width: 450px) {
  .pro-badge-small {
    display: none !important;
  }
}

#premiumFeaturePopup>div>p {
  margin-top: 30px;
  margin-bottom: 30px;
}

.zoom-controls {
  position: fixed;
  bottom: 16px;
  right: 16px;
  display: flex;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  background-color: var(--white);
  padding: 4px;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.zoom-controls.show {
  opacity: 1;
  visibility: visible;
}

.zoom-button, .fit-button {
  width: 40px;
  height: 40px;
  border-radius: 80px;
  background-color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.zoom-button:active {
  transform: translateY(0);
}

.zoom-button svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 640px),
(pointer: coarse) {
  .zoom-controls {
    bottom: 80px;
  }
}

@media (max-width: 640px),
(pointer: coarse) {
  .zoom-controls {
    display: none !important;
  }
}

.notification-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.32);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 4200;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification-popup-overlay.show {
    opacity: 1;
}

.notification-popup-content {
    background: var(--white);
    color: var(--text-color);
    padding: 30px;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: none;
    text-align: left;
}

.notification-popup-overlay.show .notification-popup-content {
    transform: translateY(0);
}

.notification-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close-btn:hover {
    opacity: 1;
    background-color: var(--light-grey);
    border-radius: 50%;
}

.notification-body {
    line-height: 1.6;
    font-size: 16px;
    text-align: left;
}

.notification-body h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.notification-body p {
    margin-bottom: 20px;
}

.notification-action-btn {
    background: var(--primary-color, #007bff);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.notification-action-btn:hover {
  background-color: var(--secondary-color);
}

/* ===== Uploaded Images Gallery Section ===== */
.uploaded-images-section-k9x3 {
  background: var(--background-color);
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
  min-height: 100px;
}

.images-gallery-container-j5m2 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  max-height: 210px;
  overflow-y: auto;
  padding-right: 8px;
  overflow: visible;
}

.images-gallery-skeleton {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 70px;
  padding: 5px;
}

.image-skeleton-item {
  width: 65px;
  height: 65px;
  min-width: 65px;
  min-height: 65px;
  background: linear-gradient(90deg, var(--light-grey) 25%, var(--white) 50%, var(--light-grey) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
  display: block;
}

.image-gallery-item-q4r7 {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}

.image-gallery-item-q4r7:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.image-gallery-item-q4r7 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.images-empty-state-p9n2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  color: var(--dark-grey);
}

.images-empty-state-p9n2 svg {
  margin-bottom: 12px;
  opacity: 0.5;
}

.images-empty-state-p9n2 p {
  margin: 0;
  font-size: 14px;
}

/* ===== Image Viewer Modal ===== */
.image-viewer-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center; /* CHANGED: was flex-end */
  z-index: 10000;
  visibility: hidden;
  transition: background-color 0.35s ease, visibility 0.35s ease;
  /* REMOVED: padding-bottom: 40px; (so it stays perfectly centered) */
}

.image-viewer-modal-overlay.show {
  background-color: rgba(0, 0, 0, 0.75);
  visibility: visible;
}

.image-viewer-modal-content {
  background: var(--white);
  border-radius: 16px;
  width: 600px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  /* CHANGED: Changed translateY(100%) to translateY(30px) for a better centered animation */
  transform: translateY(30px) scale(0.9);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.image-viewer-modal-overlay.show .image-viewer-modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Custom close button for image viewer */
.image-viewer-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.15);
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.image-viewer-close-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.image-viewer-close-btn:active {
  transform: scale(0.95);
}

.image-viewer-close-btn svg {
  width: 18px;
  height: 18px;
}

.image-viewer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--background-color);
  height: 350px;
  overflow: hidden;
  padding: 16px;
  margin: 8px;
  border-radius: 8px; 
  box-shadow:
    inset 0 6px 18px rgba(0,0,0,0.05), 
    inset 0 2px 6px rgba(0,0,0,0.025);
}


.image-viewer-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.image-viewer-details {
  padding: 16px 24px;
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.image-viewer-meta {
  display: flex;
  gap: 16px;
  color: var(--dark-grey);
  font-size: 13px;
}

.image-viewer-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.image-viewer-actions {
  display: flex;
  gap: 12px;
}

.image-viewer-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px !important;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--light-grey);
  color: var(--text-color);
}

.image-viewer-btn.delete-btn {
  background-color: rgba(220, 20, 60, 0.1);
  color: crimson;
}

.image-viewer-btn.delete-btn:hover {
  background-color: rgba(220, 20, 60, 0.2);
  color: crimson;
}


/* Responsive adjustments for image gallery */
@media (max-width: 768px) {
  .uploaded-images-section-k9x3 {
    padding: 20px;
    border-radius: 16px 16px 0 0;
  }

  .image-viewer-modal-content {
    max-width: 95vw;
    max-height: 85vh;
  }

  .image-viewer-container img {
    max-height: calc(85vh - 150px);
  }

  .image-viewer-details {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .image-viewer-actions {
    flex-direction: column;
    width: 100%;
  }

  .image-viewer-btn {
    justify-content: center;
  }

  .image-viewer-meta {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .uploaded-images-section-k9x3 {
    padding: 16px 12px;
  }

  .images-gallery-container-j5m2 {
    gap: 8px;
  }

  .image-gallery-item-q4r7 {
    width: 50px;
    height: 50px;
  }
}


body,
#app {
  background: var(--background-color);
}

body.editor-library-active,
body.editor-library-active #app {
  background: var(--white);
}
