.mediaflow-open-selector {
  width: 100%;
}

.elementor-element .icon .mediaflow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
}

.elementor-element .icon .mediaflow-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.mediaflow-elementor-dialog {
  border-radius: 8px;
  border: none;
  height: 95%;
  left: 50%;
  max-height: 95%;
  max-width: 95%;
  overflow: hidden;
  padding: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
}

.mediaflow-elementor-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.8);
}

.mediaflow-elementor-dialog-close-form {
  margin: 0;
  position: absolute;
  right: 1px;
  top: 1px;
  z-index: 10;
}

.mediaflow-elementor-dialog-close {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 32px;
  font-weight: medium;
  height: 40px;
  line-height: 32px;
  padding: 0;
  text-align: center;
  width: 40px;
}

.mediaflow-elementor-dialog-close:hover {
  color: #333;
}

.mediaflow-elementor-selector-container {
  height: calc(100% - 40px);
  overflow: auto;
  position: relative;
  top: 40px;
  width: 100%;
}

.mediaflow-elementor-selector-container .mf_fileinfoArea,
.mediaflow-elementor-selector-container .mf_foldertreeArea,
.mediaflow-elementor-selector-container .mf_topArea {
  border-radius: 0;
}

.mf_topArea .mf-search-wrapper .mf-ai-switch input[type='checkbox'] {
  display: none;
}
