.jltma-admin .jltma-popup-admin .jltma-popup-list-container {
  margin-top: 20px;
}
.jltma-admin .jltma-popup-admin .jltma-popup-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.jltma-admin .jltma-popup-admin .jltma-popup-status-active {
  background-color: #00cd00;
  color: #ffffff;
}
.jltma-admin .jltma-popup-admin .jltma-popup-status-inactive {
  background-color: #e61414;
  color: #ffffff;
}
.jltma-admin .jltma-popup-admin .jltma-shortcode-display {
  background: #f0f0f1;
  padding: 4px 8px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 5px;
}
.jltma-admin .jltma-popup-admin .jltma-copy-shortcode {
  color: #2271b1;
  text-decoration: none;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}
.jltma-admin .jltma-popup-admin .jltma-copy-shortcode:hover {
  color: #135e96;
}
.jltma-admin .jltma-popup-admin .jltma-copy-shortcode .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}
.jltma-admin .jltma-popup-admin .jltma-popup-edit-conditions {
  color: #2271b1;
  text-decoration: none;
  font-size: 13px;
}
.jltma-admin .jltma-popup-admin .jltma-popup-edit-conditions:hover {
  color: #135e96;
  text-decoration: underline;
}
.jltma-admin .jltma-popup-admin .jltma-popup-conditions {
  font-size: 12px;
  color: #50575e;
}
.jltma-admin .jltma-popup-admin .jltma-templates-container {
  padding: 30px;
  max-height: 70vh;
  overflow-y: auto;
}
.jltma-admin .jltma-popup-admin .jltma-templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.jltma-admin .jltma-popup-admin .jltma-template-item {
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
}
.jltma-admin .jltma-popup-admin .jltma-template-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.jltma-admin .jltma-popup-admin .jltma-template-preview .jltma-template-thumbnail {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.jltma-admin .jltma-popup-admin .jltma-template-preview .jltma-template-thumbnail .jltma-template-demo {
  transform: scale(0.8);
  transform-origin: top right;
  width: 125%;
  height: 125%;
}
.jltma-admin .jltma-popup-admin .jltma-template-preview .jltma-template-info {
  padding: 20px;
}
.jltma-admin .jltma-popup-admin .jltma-template-preview .jltma-template-info h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}
.jltma-admin .jltma-popup-admin .jltma-template-preview .jltma-template-info p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}
.jltma-admin .jltma-popup-admin .jltma-template-actions {
  padding: 20px;
  border-top: 1px solid #f0f0f1;
  text-align: center;
}
.jltma-admin .jltma-popup-admin .jltma-template-actions .jltma-use-template {
  background: #2271b1;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}
.jltma-admin .jltma-popup-admin .jltma-template-actions .jltma-use-template:hover {
  background: #135e96;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal *, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal * {
  box-sizing: border-box;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 999997;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal.show, .jltma-admin .jltma-popup-admin .show#jltma_popup_templates_modal {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal.show .jltma-modal-content, .jltma-admin .jltma-popup-admin .show#jltma_popup_templates_modal .jltma-modal-content {
  transform: translateY(0);
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal.loading .jltma-pop-contents-body::before, .jltma-admin .jltma-popup-admin .loading#jltma_popup_templates_modal .jltma-pop-contents-body::before {
  opacity: 0.5;
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal.loading .jltma-spinner, .jltma-admin .jltma-popup-admin .loading#jltma_popup_templates_modal .jltma-spinner {
  opacity: 1;
  visibility: visible;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-spinner, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-spinner {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #2271b1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 10000;
}
@keyframes spin {
  0% {
    transform: translate(50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(50%, -50%) rotate(-360deg);
  }
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-backdrop, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999998;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-dialog, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-dialog {
  position: relative;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-content, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-content {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 800px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-content-area, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-contents-body, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-contents-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-contents-padding, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-contents-padding {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal #jltma_popup_modal_form, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal #jltma_popup_modal_form {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  flex: 1;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-row, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-col-6, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-col-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 15px;
  padding-left: 15px;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-form-group, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-form-group {
  margin-bottom: 1rem;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-form-group.mb-2, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-form-group.mb-2 {
  margin-bottom: 0.5rem;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-form-group label, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #495057;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-form-group .jltma-form-control, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-form-group .jltma-form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-form-group .jltma-form-control:focus, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-form-group .jltma-form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-tab-nav, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-tab-nav {
  display: flex;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-tab-nav .jltma-tab-button, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-tab-nav .jltma-tab-button {
  padding: 15px 25px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  transition: all 0.3s ease;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-tab-nav .jltma-tab-button:hover, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-tab-nav .jltma-tab-button:hover {
  color: #495057;
  background: rgba(0, 0, 0, 0.05);
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-tab-nav .jltma-tab-button.active, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-tab-nav .jltma-tab-button.active {
  color: #2271b1;
  border-bottom-color: #2271b1;
  background: #fff;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-tab-content, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-tab-content {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 30px;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-tab-content.active, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-tab-content.active {
  display: block;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jtlma-mega-switcher input[type=checkbox], .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jtlma-mega-switcher input[type=checkbox] {
  display: none;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jtlma-mega-switcher label, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jtlma-mega-switcher label {
  cursor: pointer;
  text-indent: -9999px;
  width: 65px;
  height: 30px;
  background: #aaa;
  display: block;
  border-radius: 100px;
  position: relative;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jtlma-mega-switcher label:after, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jtlma-mega-switcher label:after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 26px;
  height: 26px;
  background: #fff;
  border-radius: 90px;
  transition: 0.3s;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jtlma-mega-switcher input:checked + label, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jtlma-mega-switcher input:checked + label {
  background: #2271b1;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jtlma-mega-switcher input:checked + label:after, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jtlma-mega-switcher input:checked + label:after {
  right: calc(100% - 2px);
  transform: translateX(100%);
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jtlma-mega-switcher label:active:after, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jtlma-mega-switcher label:active:after {
  width: 30px;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer {
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  border-radius: 0 0 8px 8px;
  padding: 20px 30px;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: auto;
  flex-shrink: 0;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer .jltma-save-btn, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer .jltma-save-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer .jltma-save-btn.jltma-color-two, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer .jltma-save-btn.jltma-color-two {
  background: #2271b1;
  color: #fff;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer .jltma-save-btn.jltma-color-two:hover, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer .jltma-save-btn.jltma-color-two:hover {
  background: #135e96;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer .jltma-save-btn.jltma-color-three, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer .jltma-save-btn.jltma-color-three {
  background: #f0f0f1;
  color: #2c3338;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer .jltma-save-btn.jltma-color-three:hover, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer .jltma-save-btn.jltma-color-three:hover {
  background: #e0e0e1;
}
@media (max-width: 768px) {
  .jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-dialog, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-dialog {
    min-width: auto;
    max-width: 100%;
  }
  .jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-row .jltma-col-6, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-row .jltma-col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer {
    flex-direction: column;
  }
  .jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer .jltma-save-btn, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer .jltma-save-btn {
    width: 100%;
    justify-content: center;
  }
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-contents-head, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-contents-head {
  background: #f8f9fa;
  color: #495057;
  padding: 10px 20px 10px 30px;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-contents-head .jltma-header-top, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-contents-head .jltma-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-contents-head .jltma-popup-head-content, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-contents-head .jltma-popup-head-content,
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-contents-head .jltma-pop-close,
.jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-contents-head .jltma-pop-close {
  display: flex;
  align-items: center;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-contents-head h3, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-contents-head h3 {
  margin: 0;
  color: #495057;
  font-size: 18px;
  font-weight: 600;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-popup-head-content h3, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-popup-head-content h3 {
  margin: 0;
  color: #495057;
  font-size: 18px;
  font-weight: 600;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-close .close-btn, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-close .close-btn {
  background: rgba(73, 80, 87, 0.1);
  border: none;
  color: #6c757d;
  font-size: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  outline: none;
  box-shadow: none;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-close .close-btn:hover, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-close .close-btn:hover {
  background: rgba(73, 80, 87, 0.2);
  color: #495057;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-conditions-header, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-conditions-header {
  text-align: center;
}
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-conditions-header h3, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-conditions-header h3 {
  color: #2271b1;
}
.jltma-admin #jltma_popup_templates_modal .jltma-modal-content {
  width: 1000px;
  max-width: 95vw;
}
.jltma-admin #jltma_popup_templates_modal .jltma-templates-container {
  padding: 30px;
  max-height: 70vh;
  overflow-y: auto;
}
.jltma-admin #jltma_popup_templates_modal .jltma-templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.jltma-admin #jltma_popup_templates_modal .jltma-template-item {
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}
.jltma-admin #jltma_popup_templates_modal .jltma-template-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
  border-color: #2271b1;
}
.jltma-admin #jltma_popup_templates_modal .jltma-template-preview .jltma-template-thumbnail {
  height: 180px;
  overflow: hidden;
  position: relative;
  background: #f8f9fa;
}
.jltma-admin #jltma_popup_templates_modal .jltma-template-preview .jltma-template-thumbnail .jltma-template-demo {
  transform: scale(0.7);
  transform-origin: top right;
  width: 143%;
  height: 143%;
  pointer-events: none;
}
.jltma-admin #jltma_popup_templates_modal .jltma-template-preview .jltma-template-info {
  padding: 20px;
}
.jltma-admin #jltma_popup_templates_modal .jltma-template-preview .jltma-template-info h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #2c3338;
}
.jltma-admin #jltma_popup_templates_modal .jltma-template-preview .jltma-template-info p {
  margin: 0;
  font-size: 13px;
  color: #757575;
  line-height: 1.4;
}
.jltma-admin #jltma_popup_templates_modal .jltma-template-actions {
  padding: 20px;
  border-top: 1px solid #f0f0f1;
  text-align: center;
}
.jltma-admin #jltma_popup_templates_modal .jltma-template-actions .jltma-use-template {
  background: #2271b1;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}
.jltma-admin #jltma_popup_templates_modal .jltma-template-actions .jltma-use-template:hover {
  background: #135e96;
}
@media (max-width: 768px) {
  .jltma-admin #jltma_popup_templates_modal .jltma-templates-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .jltma-admin #jltma_popup_templates_modal .jltma-templates-container {
    padding: 20px;
  }
}

.elementor-editor-active .jltma-popup-canvas {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  min-height: 500px;
}
.elementor-editor-active .jltma-popup-canvas.jltma-popup-type-modal {
  max-width: 600px;
}
.elementor-editor-active .jltma-popup-canvas.jltma-popup-type-slide-in {
  max-width: 400px;
  margin-right: auto;
  margin-left: 0;
}
.elementor-editor-active .jltma-popup-canvas.jltma-popup-type-notification {
  max-width: 100%;
  min-height: 80px;
}
.elementor-editor-active .jltma-popup-canvas.jltma-popup-type-full-screen {
  max-width: 100%;
  width: 100%;
  min-height: 100vh;
}
.elementor-editor-active .jltma-popup-settings-panel {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  background: #f8f9fa;
  border-right: 1px solid #e9ecef;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.elementor-editor-active .jltma-popup-settings-panel.active {
  transform: translateX(0);
}
.elementor-editor-active .jltma-popup-settings-panel .panel-header {
  padding: 20px;
  background: #fff;
  border-bottom: 1px solid #e9ecef;
}
.elementor-editor-active .jltma-popup-settings-panel .panel-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #495057;
}
.elementor-editor-active .jltma-popup-settings-panel .panel-body {
  padding: 20px;
  overflow-y: auto;
  height: calc(100vh - 70px);
}
.elementor-editor-active .jltma-popup-settings-toggle {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: #2271b1;
  color: #fff;
  padding: 10px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  z-index: 9998;
  transition: all 0.3s ease;
}
.elementor-editor-active .jltma-popup-settings-toggle:hover {
  background: #135e96;
}
.elementor-editor-active .jltma-popup-settings-toggle .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}
.elementor-editor-active .jltma-popup-settings-toggle::before {
  content: attr(data-tooltip);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  margin-left: 10px;
}
.elementor-editor-active .jltma-popup-settings-toggle::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #333;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  margin-left: 5px;
}
.elementor-editor-active .jltma-popup-settings-toggle:hover::before, .elementor-editor-active .jltma-popup-settings-toggle:hover::after {
  opacity: 1;
}

.jltma-popup-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999998;
  display: none;
  animation: jltmaFadeIn 0.3s ease;
}
.jltma-popup-overlay.active {
  display: block;
}

.jltma-popup-container {
  position: fixed;
  z-index: 999999;
  display: none;
}
.jltma-popup-container.active {
  display: block;
}
.jltma-popup-container.position-center {
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
}
.jltma-popup-container.position-top-left {
  top: 20px;
  right: 20px;
}
.jltma-popup-container.position-top-center {
  top: 20px;
  right: 50%;
  transform: translateX(50%);
}
.jltma-popup-container.position-top-right {
  top: 20px;
  left: 20px;
}
.jltma-popup-container.position-bottom-left {
  bottom: 20px;
  right: 20px;
}
.jltma-popup-container.position-bottom-center {
  bottom: 20px;
  right: 50%;
  transform: translateX(50%);
}
.jltma-popup-container.position-bottom-right {
  bottom: 20px;
  left: 20px;
}
.jltma-popup-container.animation-fade {
  animation: jltmaFadeIn 0.3s ease;
}
.jltma-popup-container.animation-slide-down {
  animation: jltmaSlideDown 0.3s ease;
}
.jltma-popup-container.animation-slide-up {
  animation: jltmaSlideUp 0.3s ease;
}
.jltma-popup-container.animation-slide-left {
  animation: jltmaSlideLeft 0.3s ease;
}
.jltma-popup-container.animation-slide-right {
  animation: jltmaSlideRight 0.3s ease;
}
.jltma-popup-container.animation-zoom {
  animation: jltmaZoomIn 0.3s ease;
}

.jltma-popup-content {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}
.jltma-popup-type-modal .jltma-popup-content {
  min-width: 300px;
  max-width: 600px;
  padding: 30px;
}
.jltma-popup-type-notification .jltma-popup-content {
  width: 100vw;
  max-width: none;
  border-radius: 0;
  padding: 15px 20px;
}
.jltma-popup-type-slide-in .jltma-popup-content {
  width: 400px;
  height: 100vh;
  border-radius: 0;
  padding: 30px;
}
.jltma-popup-type-full-screen .jltma-popup-content {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  padding: 50px;
}
.jltma-popup-type-corner .jltma-popup-content {
  width: 300px;
  padding: 20px;
}

.jltma-popup-close {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}
.jltma-popup-close:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}
.jltma-popup-close::before, .jltma-popup-close::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 2px;
  background: #333;
}
.jltma-popup-close::before {
  transform: rotate(-45deg);
}
.jltma-popup-close::after {
  transform: rotate(45deg);
}

@keyframes jltmaFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes jltmaSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes jltmaSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes jltmaSlideLeft {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes jltmaSlideRight {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes jltmaZoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .jltma-popup-type-modal .jltma-popup-content {
    width: 90vw;
    max-width: none;
    margin: 0 5vw;
  }
  .jltma-popup-type-slide-in .jltma-popup-content {
    width: 80vw;
  }
  .jltma-popup-settings-panel {
    width: 100%;
  }
}