.wdg-filebird-explorer {
  --filebird-border: #dcdcde;
  --filebird-border-light: #e3e3e3;
  --filebird-bg: #f6f7f7;
  --filebird-text: #1d2327;
  --filebird-muted: #6b7280;
  --filebird-accent: #2271b1;
  color: var(--filebird-text);
  font-size: 16px;
  max-width: none;
  width: 100%;
  /* Tablet (below 992px): keep side-by-side, adjust font and columns to fit */
  /* Mobile (below 768px): stack tree above content, one below the other */
  /* Small mobile (below 600px): single column for folder/file grids */
}
.wdg-filebird-explorer__shell {
  display: grid;
  grid-template-columns: var(--filebird-sidebar-width, minmax(280px, 320px)) 6px minmax(0, 1fr);
  align-items: stretch;
  background: var(--filebird-bg);
  border: 1px solid var(--filebird-border);
  border-radius: 8px;
  overflow: hidden;
}
.wdg-filebird-explorer__sidebar {
  background: transparent;
  border-right: 1px solid transparent;
  padding: 16px;
  min-width: 0;
}
.wdg-filebird-explorer__resize-handle {
  background: var(--filebird-border-light);
  cursor: col-resize;
  flex-shrink: 0;
  position: relative;
  touch-action: none;
  width: 6px;
  z-index: 1;
}
.wdg-filebird-explorer__resize-handle::after {
  content: "";
  inset: 0;
  left: -6px;
  position: absolute;
  right: -6px;
}
.wdg-filebird-explorer__resize-handle:hover, .wdg-filebird-explorer__resize-handle:focus-visible {
  background: var(--filebird-accent);
}
.wdg-filebird-explorer__search {
  margin-bottom: 16px;
}
.wdg-filebird-explorer__search-field {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--filebird-border);
  border-radius: 6px;
  display: flex;
  gap: 8px;
  height: 40px;
  padding: 0 10px;
}
.wdg-filebird-explorer__search-icon {
  align-items: center;
  color: var(--filebird-muted);
  display: inline-flex;
  position: static;
  transform: none;
}
.wdg-filebird-explorer__search-icon svg {
  height: 16px;
  width: 16px;
}
.wdg-filebird-explorer__search-input {
  background: transparent;
  background-color: transparent !important;
  border: 0 !important;
  flex: 1;
  height: 40px;
  line-height: 24px;
  min-width: 0;
  outline: none;
  padding: 0;
  font-size: 14px;
  text-indent: 0;
}
.wdg-filebird-explorer__search-input:focus {
  box-shadow: none;
  outline: none !important;
}
.wdg-filebird-explorer__tree {
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}
.wdg-filebird-explorer__tree-loading {
  align-items: center;
  color: var(--filebird-muted);
  display: flex;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  padding: 2rem 1rem;
}
.wdg-filebird-explorer__tree-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wdg-filebird-explorer__tree-node + .wdg-filebird-explorer__tree-node {
  margin-top: 4px;
}
.wdg-filebird-explorer__tree-row {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 8px;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  padding: 6px 8px;
  text-align: left;
  width: 100%;
}
.wdg-filebird-explorer__tree-row.is-active {
  background: #ffffff;
  /*on its hover remove the background*/
}
.wdg-filebird-explorer__tree-row.is-active:hover {
  background-color: var(--wdg-color-button-hover-background, var(--wdg-color-primary));
}
.wdg-filebird-explorer__tree-toggle, .wdg-filebird-explorer__tree-spacer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 16px;
  width: 16px;
  color: var(--filebird-muted);
}
.wdg-filebird-explorer__tree-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.wdg-filebird-explorer__tree-label svg {
  height: 18px;
  width: 18px;
}
.wdg-filebird-explorer__tree-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.wdg-filebird-explorer__tree-count {
  background: #ffffff;
  border: 1px solid var(--filebird-border);
  border-radius: 6px;
  color: var(--filebird-muted);
  font-size: 12px;
  padding: 2px 8px;
}
.wdg-filebird-explorer__main {
  background: transparent;
  min-width: 0;
  padding: 16px;
}
.wdg-filebird-explorer__breadcrumb {
  background: #ffffff;
  border: 1px solid var(--filebird-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 16px;
  padding: 8px 12px;
  font-size: 0.8rem;
}
.wdg-filebird-explorer__breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 24px;
}
.wdg-filebird-explorer__breadcrumb-list button {
  padding: 0 !important;
}
.wdg-filebird-explorer__breadcrumb-home, .wdg-filebird-explorer__breadcrumb-link {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  padding: 0;
}
.wdg-filebird-explorer__breadcrumb-home svg {
  height: 16px;
  width: 16px;
}
.wdg-filebird-explorer__breadcrumb-sep {
  color: var(--filebird-muted);
}
.wdg-filebird-explorer__section {
  margin-bottom: 24px;
}
.wdg-filebird-explorer__section-title {
  font-weight: 600;
  margin-bottom: 12px;
}
.wdg-filebird-explorer__folder-grid, .wdg-filebird-explorer__media-grid {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.wdg-filebird-explorer__folder-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--filebird-border);
  border-radius: 6px;
  color: var(--filebird-text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: normal;
  min-height: 100px;
  padding: 12px;
  position: relative;
  text-align: center;
  text-transform: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  width: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.wdg-filebird-explorer__folder-card:hover {
  background-color: var(--wdg-color-button-hover-background, var(--wdg-color-primary));
}
.wdg-filebird-explorer__folder-card:hover, .wdg-filebird-explorer__folder-card:focus-visible {
  border-color: var(--wdg-color-button-hover-background, var(--wdg-color-primary));
  box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.15);
}
.wdg-filebird-explorer__folder-card:hover .wdg-filebird-explorer__folder-name, .wdg-filebird-explorer__folder-card:focus-visible .wdg-filebird-explorer__folder-name {
  color: #fff !important;
}
.wdg-filebird-explorer__folder-card:hover .wdg-filebird-explorer__folder-icon svg, .wdg-filebird-explorer__folder-card:focus-visible .wdg-filebird-explorer__folder-icon svg {
  color: #fff !important;
}
.wdg-filebird-explorer__folder-icon svg {
  color: #8f8f8f;
  height: 36px;
  width: 36px;
}
.wdg-filebird-explorer__folder-name {
  display: block;
  color: var(--filebird-text);
  flex: 1;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.3;
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: normal;
}
.wdg-filebird-explorer__folder-count {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--filebird-border);
  border-radius: 6px;
  color: var(--filebird-muted);
  display: inline-flex;
  font-size: 12px;
  justify-content: center;
  position: absolute;
  right: 8px;
  top: 8px;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
}
.wdg-filebird-explorer__media-card {
  background: #fff;
  border: 1px solid var(--filebird-border);
  border-radius: 8px;
  color: inherit;
  display: flex;
  flex-direction: column;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  overflow: hidden;
  padding: 0;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  position: relative;
}
.wdg-filebird-explorer__media-card:hover {
  cursor: pointer;
}
.wdg-filebird-explorer__media-card:hover, .wdg-filebird-explorer__media-card:focus-visible {
  border-color: var(--filebird-accent);
  box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.15);
}
.wdg-filebird-explorer__media-thumb {
  align-items: center;
  aspect-ratio: 4/3;
  background: #fff;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}
.wdg-filebird-explorer__media-thumb img {
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
}
.wdg-filebird-explorer__media-thumb img.wdg-filebird-explorer__media-icon-img {
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
}
.wdg-filebird-explorer__media-thumb--icon .wdg-filebird-explorer__media-icon svg {
  height: 70%;
  width: 70%;
}
.wdg-filebird-explorer__media-icon svg {
  height: 32px;
  width: 32px;
  color: var(--filebird-muted);
}
.wdg-filebird-explorer__media-title {
  position: absolute;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(177, 177, 177, 0.7411764706);
  padding: 8px 8px 4px 8px;
  text-align: center;
  font-size: 0.8rem;
}
.wdg-filebird-explorer__load-more {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.wdg-filebird-explorer__load-more-button {
  background: transparent;
  border: 1px solid var(--filebird-accent);
  border-radius: 999px;
  color: var(--filebird-accent);
  cursor: pointer;
  font-weight: 600;
  padding: 8px 20px;
  transition: background-color 150ms ease, color 150ms ease;
}
.wdg-filebird-explorer__load-more-button:hover, .wdg-filebird-explorer__load-more-button:focus-visible {
  background: var(--filebird-accent);
  color: #fff;
}
.wdg-filebird-explorer__load-more-loading {
  align-items: center;
  display: inline-flex;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  min-height: 36px;
}
.wdg-filebird-explorer__load-more-spinner {
  animation: wdg-filebird-explorer-spin 0.8s linear infinite;
  border: 2px solid var(--filebird-muted, currentColor);
  border-top-color: var(--filebird-accent, currentColor);
  border-radius: 50%;
  box-sizing: border-box;
  display: inline-block;
  height: 18px;
  width: 18px;
}
.wdg-filebird-explorer__loading, .wdg-filebird-explorer__error, .wdg-filebird-explorer__empty {
  color: var(--filebird-muted);
  padding: 16px 0;
}
.wdg-filebird-explorer__unauthorized {
  color: var(--filebird-accent);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  padding: 2rem 1rem;
  text-align: center;
  text-transform: uppercase;
}
.wdg-filebird-explorer__modal {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 32px 24px;
  pointer-events: none;
  position: fixed;
  transition: opacity 150ms ease;
  z-index: 9999;
}
.wdg-filebird-explorer__modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.wdg-filebird-explorer__modal-backdrop {
  background: rgba(0, 0, 0, 0.55);
  inset: 0;
  position: absolute;
}
.wdg-filebird-explorer__modal-dialog {
  background: #fff;
  border-radius: 10px;
  max-height: calc(100vh - 64px);
  max-width: calc(100vw - 48px);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.wdg-filebird-explorer__modal-close {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 32px;
  z-index: 2;
}
.wdg-filebird-explorer__modal-close svg {
  height: 60%;
  width: 60%;
}
.wdg-filebird-explorer__modal-body {
  padding: 48px 24px 24px;
}
.wdg-filebird-explorer__modal-loading {
  align-items: center;
  color: var(--filebird-muted);
  display: flex;
  font-weight: 600;
  gap: 10px;
  justify-content: center;
  min-height: 120px;
  padding: 24px;
}
.wdg-filebird-explorer__modal-media {
  display: block;
  max-height: 70vh;
  max-width: 80vw;
}
@media (max-width: 61.9375em) {
  .wdg-filebird-explorer {
    font-size: 15px;
  }
  .wdg-filebird-explorer__folder-grid, .wdg-filebird-explorer__media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 47.9375em) {
  .wdg-filebird-explorer__shell {
    grid-template-columns: 1fr;
  }
  .wdg-filebird-explorer__resize-handle {
    display: none;
  }
  .wdg-filebird-explorer__sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--filebird-border);
    order: 1;
  }
  .wdg-filebird-explorer__main {
    order: 2;
  }
  .wdg-filebird-explorer__folder-grid, .wdg-filebird-explorer__media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 37.4375em) {
  .wdg-filebird-explorer__folder-grid, .wdg-filebird-explorer__media-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@keyframes wdg-filebird-explorer-spin {
  to {
    transform: rotate(360deg);
  }
}

/*# sourceMappingURL=style.css.map */