@charset "UTF-8";
/* Master Addons - Page Importer Styles */
/* ─── Import Button Wrapper ─── */
.jltma-import-wrapper {
  display: inline-block;
  position: relative;
  margin-right: 8px;
}

/* ─── MA Import Button ─── */
.jltma-import-pages-btn {
  display: inline-flex !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  background: linear-gradient(-135deg, #f50a7f 0%, #6814cd 100%) !important;
  color: #fff !important;
  border: none !important;
  padding: 6px 12px !important;
  border-radius: 4px !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  cursor: pointer;
  -webkit-box-shadow: 0 2px 8px rgba(104, 20, 205, 0.25);
  box-shadow: 0 2px 8px rgba(104, 20, 205, 0.25);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 30px;
}

.jltma-import-pages-btn:hover {
  background: #f0f0f1;
  border-color: #0a4b78;
  color: #0a4b78;
}

.jltma-import-pages-btn:focus {
  outline: 1px solid #2271b1;
  outline-offset: 1px;
}

.jltma-import-pages-btn .jltma-import-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.jltma-import-pages-btn .jltma-dropdown-icon {
  font-size: 14px;
  width: 14px;
  height: 14px;
  margin-right: 2px;
  transition: transform 0.2s ease;
}

.jltma-import-wrapper.is-open .jltma-dropdown-icon {
  transform: rotate(-180deg);
}

/* ─── Dropdown Menu ─── */
.jltma-import-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  overflow: hidden;
}

.jltma-import-wrapper.is-open .jltma-import-dropdown {
  display: block;
}

.jltma-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: #1d2327;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f0f0f1;
}

.jltma-dropdown-item:last-child {
  border-bottom: none;
}

.jltma-dropdown-item:hover,
.jltma-dropdown-item:focus {
  background: linear-gradient(-135deg, rgba(104, 20, 205, 0.06), rgba(245, 10, 127, 0.04));
  color: #6814cd;
  text-decoration: none;
}

.jltma-dropdown-item .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: #6814cd;
}

/* ─── Fullscreen Modal ─── */
.jltma-import-modal {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 999999;
  display: none;
  align-items: stretch;
  justify-content: stretch;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.jltma-import-modal.show {
  opacity: 1;
}

/* ─── Modal Backdrop ─── */
.jltma-import-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* ─── Modal Content ─── */
.jltma-import-modal-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: auto;
}

.jltma-import-modal-content .jltma-template-page-importer {
  width: 100%;
  height: 100%;
}

/* ─── Loading State ─── */
.jltma-import-modal-content #ma-el-modal-loading {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 10;
}

.jltma-import-modal-content #ma-el-modal-loading .elementor-loader-wrapper {
  text-align: center;
}

.jltma-import-modal-content #ma-el-modal-loading .ma-el-logo-container {
  margin-bottom: 16px;
}

.jltma-import-modal-content #ma-el-modal-loading .ma-el-loading-logo {
  width: 60px;
  height: auto;
  animation: jltmaPageImporterPulse 1.5s ease-in-out infinite;
}

.jltma-import-modal-content #ma-el-modal-loading .elementor-loading-title {
  font-size: 14px;
  color: #6d7882;
  font-weight: 500;
}

/* ─── Close Button ─── */
.jltma-modal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 1px solid #dcdcde;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6d7882;
  margin-right: 8px;
  flex-shrink: 0;
}

.jltma-modal-close-btn:hover {
  background: #f0f0f1;
  border-color: #c3c4c7;
  color: #1d2327;
}

.jltma-modal-close-btn .eicon-close {
  font-size: 16px;
}

/* ─── Body class when modal open ─── */
body.jltma-modal-open {
  overflow: hidden !important;
}

/* ─── Animations ─── */
@keyframes jltmaPageImporterPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.95);
  }
}