@charset "UTF-8";
/**
 * Widget Builder Styles
 * Master Addons Widget Editor Interface
 *
 * @package MasterAddons
 * @subpackage WidgetBuilder
 */
:root {
  --jltma-primary-glow: #6366f1;
  --jltma-secondary-glow: #8b5cf6;
  --jltma-background-start: #1a1a2e;
  --jltma-background-end: #16213e;
  --jltma-text-primary: #e0e0e0;
  --jltma-text-secondary: #a0a0a0;
  --jltma-border-color: #3a3a5e;
  --jltma-surface-color: #24243e;
  --jltma-accent-color: #0f3460;
}

.jltma-widget-builder-wrap {
  padding: 0;
  background: var(--jltma-background-start);
  min-height: calc(100vh - 48px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.jltma-widget-builder-wrap.wrap {
  margin: 12px 0px 12px 25px;
}

.jltma-widget-builder {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background: var(--jltma-background-start);
  min-height: calc(100vh - 48px);
  color: var(--jltma-text-primary);
}

.jltma-widget-builder .jltma-widget-builder-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #fff;
  padding: 20px 30px;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 32px;
  z-index: 100;
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jltma-widget-builder .jltma-widget-builder-header .header-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
}

.jltma-widget-builder .jltma-widget-builder-header .header-left .page-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #1d2327;
}

.jltma-widget-builder .jltma-widget-builder-header .header-left .page-title .dashicons {
  font-size: 28px;
  color: #6366f1;
}

.jltma-widget-builder .jltma-widget-builder-header .header-left .header-features {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
}

.jltma-widget-builder .jltma-widget-builder-header .header-left .header-features .feature-tag {
  background: linear-gradient(-135deg, #6366f1, #8b5cf6);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.jltma-widget-builder .jltma-widget-builder-header .header-right .create-widget-btn {
  background: linear-gradient(-135deg, #6366f1, #8b5cf6);
  border: none;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.jltma-widget-builder .jltma-widget-builder-header .header-right .create-widget-btn:hover {
  background: linear-gradient(-135deg, #5856eb, #7c3aed);
  -webkit-box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  -webkit-transform: translateY(-1px);
  -ms-transform: translateY(-1px);
  transform: translateY(-1px);
}

.jltma-widget-builder .jltma-widget-builder-header .header-right .create-widget-btn .dashicons {
  font-size: 16px;
}

.jltma-widget-builder .widget-builder-main {
  padding: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.jltma-widget-builder .widget-builder-main .widgets-toolbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.jltma-widget-builder .widget-builder-main .widgets-toolbar .search-box {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  max-width: 400px;
}

.jltma-widget-builder .widget-builder-main .widgets-toolbar .search-box .search-input {
  width: 100%;
  padding: 12px 45px 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 14px;
  -webkit-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
}

.jltma-widget-builder .widget-builder-main .widgets-toolbar .search-box .search-input:focus {
  border-color: #6366f1;
  outline: none;
  -webkit-box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.jltma-widget-builder .widget-builder-main .widgets-toolbar .search-box .search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #9ca3af;
}

.jltma-widget-builder .widget-builder-main .widgets-toolbar .filter-controls .category-filter {
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  min-width: 150px;
  cursor: pointer;
}

.jltma-widget-builder .widget-builder-main .widgets-toolbar .filter-controls .category-filter:focus {
  border-color: #6366f1;
  outline: none;
}

.jltma-widget-builder .widget-builder-main .widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.jltma-widget-builder .widget-builder-main .widgets-grid .loading-spinner {
  grid-column: 1/-1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 60px;
  color: #6b7280;
}

.jltma-widget-builder .widget-builder-main .widgets-grid .loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #6366f1;
  border-radius: 50%;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}
.jltma-widget-builder .widget-builder-main .widgets-grid .empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 20px;
  background: #fff;
  border-radius: 12px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.jltma-widget-builder .widget-builder-main .widgets-grid .empty-state .empty-icon {
  margin-bottom: 20px;
}

.jltma-widget-builder .widget-builder-main .widgets-grid .empty-state .empty-icon .dashicons {
  font-size: 64px;
  color: #d1d5db;
}

.jltma-widget-builder .widget-builder-main .widgets-grid .empty-state h3 {
  margin-bottom: 12px;
  color: #374151;
  font-size: 20px;
}

.jltma-widget-builder .widget-builder-main .widgets-grid .empty-state p {
  color: #6b7280;
  margin-bottom: 24px;
}

.jltma-widget-builder .widget-builder-main .widgets-grid .empty-state .button {
  background: linear-gradient(-135deg, #6366f1, #8b5cf6);
  border: none;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
}

.jltma-widget-builder .widget-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid #e5e5e5;
}

.jltma-widget-builder .widget-card:hover {
  -webkit-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  transform: translateY(-2px);
  -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.jltma-widget-builder .widget-card .widget-card-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.jltma-widget-builder .widget-card .widget-card-header .widget-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(-135deg, #6366f1, #8b5cf6);
  border-radius: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.jltma-widget-builder .widget-card .widget-card-header .widget-icon .eicon {
  color: #fff;
  font-size: 24px;
}

.jltma-widget-builder .widget-card .widget-card-header .widget-info {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.jltma-widget-builder .widget-card .widget-card-header .widget-info .widget-title {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 600;
  color: #1d2327;
  line-height: 1.3;
}

.jltma-widget-builder .widget-card .widget-card-header .widget-info .widget-name {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  font-family: monospace;
}

.jltma-widget-builder .widget-card .widget-card-header .widget-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.jltma-widget-builder .widget-card .widget-card-header .widget-actions .action-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.jltma-widget-builder .widget-card .widget-card-header .widget-actions .action-btn .dashicons {
  font-size: 16px;
}

.jltma-widget-builder .widget-card .widget-card-header .widget-actions .action-btn.edit-btn {
  background: #f3f4f6;
  color: #374151;
}

.jltma-widget-builder .widget-card .widget-card-header .widget-actions .action-btn.edit-btn:hover {
  background: #6366f1;
  color: #fff;
}

.jltma-widget-builder .widget-card .widget-card-header .widget-actions .action-btn.delete-btn {
  background: #f3f4f6;
  color: #374151;
}

.jltma-widget-builder .widget-card .widget-card-header .widget-actions .action-btn.delete-btn:hover {
  background: #ef4444;
  color: #fff;
}

.jltma-widget-builder .widget-card:hover .widget-actions {
  opacity: 1;
}

.jltma-widget-builder .widget-card .widget-card-body .widget-description {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.jltma-widget-builder .widget-card .widget-card-body .widget-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.jltma-widget-builder .widget-card .widget-card-body .widget-meta .widget-category {
  background: #f3f4f6;
  color: #374151;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  text-transform: capitalize;
}

.jltma-widget-builder .widget-card .widget-card-body .widget-meta .widget-fields-count {
  font-size: 12px;
  color: #6b7280;
}

.jltma-widget-builder .widget-editor {
  background: #fff;
  min-height: calc(100vh - 120px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.jltma-widget-builder .widget-editor .editor-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 24px 30px;
  border-bottom: 1px solid #e5e5e5;
  background: #fafafa;
}

.jltma-widget-builder .widget-editor .editor-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1d2327;
}

.jltma-widget-builder .widget-editor .editor-header .editor-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
}

.jltma-widget-builder .widget-editor .editor-header .editor-actions .button {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #d1d5db;
  background: #fff;
}

.jltma-widget-builder .widget-editor .editor-header .editor-actions .button.button-primary {
  background: linear-gradient(-135deg, #6366f1, #8b5cf6);
  border-color: transparent;
  color: #fff;
}

.jltma-widget-builder .widget-editor .editor-header .editor-actions .button.button-primary:hover {
  background: linear-gradient(-135deg, #5856eb, #7c3aed);
}

.jltma-widget-builder .widget-editor .editor-header .editor-actions .button:hover {
  border-color: #9ca3af;
}

.jltma-widget-builder .widget-editor .editor-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.jltma-widget-builder .widget-editor .editor-body .editor-sidebar {
  width: 250px;
  background: #f9fafb;
  border-left: 1px solid #e5e5e5;
  padding: 20px 0;
}

.jltma-widget-builder .widget-editor .editor-body .editor-sidebar .section-nav .nav-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 24px;
  background: none;
  border: none;
  text-align: right;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.jltma-widget-builder .widget-editor .editor-body .editor-sidebar .section-nav .nav-item .dashicons {
  font-size: 18px;
}

.jltma-widget-builder .widget-editor .editor-body .editor-sidebar .section-nav .nav-item:hover {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.jltma-widget-builder .widget-editor .editor-body .editor-sidebar .section-nav .nav-item.active {
  background: #6366f1;
  color: #fff;
  border-left: 3px solid #4f46e5;
}

.jltma-widget-builder .widget-editor .editor-body .editor-content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 30px;
  overflow-y: auto;
}

.jltma-widget-builder .widget-editor .editor-body .editor-content .section-content {
  max-width: 800px;
}

.jltma-widget-builder .widget-editor .editor-body .editor-content .section-content h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: #1d2327;
}

.jltma-widget-builder .widget-editor .editor-body .editor-content .section-content .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .jltma-widget-builder .widget-editor .editor-body .editor-content .section-content .form-row {
    grid-template-columns: 1fr;
  }
}
.jltma-widget-builder .widget-editor .editor-body .editor-content .section-content .form-group {
  margin-bottom: 20px;
}

.jltma-widget-builder .widget-editor .editor-body .editor-content .section-content .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.jltma-widget-builder .widget-editor .editor-body .editor-content .section-content .form-group input,
.jltma-widget-builder .widget-editor .editor-body .editor-content .section-content .form-group select,
.jltma-widget-builder .widget-editor .editor-body .editor-content .section-content .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 14px;
  -webkit-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
}

.jltma-widget-builder .widget-editor .editor-body .editor-content .section-content .form-group input:focus,
.jltma-widget-builder .widget-editor .editor-body .editor-content .section-content .form-group select:focus,
.jltma-widget-builder .widget-editor .editor-body .editor-content .section-content .form-group textarea:focus {
  border-color: #6366f1;
  outline: none;
  -webkit-box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.jltma-widget-builder .widget-editor .editor-body .editor-content .section-content .form-group .description {
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
}

.jltma-widget-builder .widget-editor .editor-body .editor-content .section-content .form-group .code-editor {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 13px;
  line-height: 1.5;
  background: #f8f9fa;
}

.jltma-widget-builder .fields-manager .fields-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}

.jltma-widget-builder .fields-manager .fields-header .add-field-controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.jltma-widget-builder .fields-manager .fields-header .add-field-controls select {
  min-width: 200px;
}

.jltma-widget-builder .fields-manager .fields-header .add-field-controls .button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #6366f1;
  border: none;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.jltma-widget-builder .fields-manager .fields-header .add-field-controls .button:hover {
  background: #5856eb;
}

.jltma-widget-builder .fields-manager .fields-header .add-field-controls .button .dashicons {
  font-size: 16px;
}

.jltma-widget-builder .fields-manager .fields-list .empty-fields {
  text-align: center;
  padding: 40px;
  color: #6b7280;
  background: #f9fafb;
  border-radius: 8px;
  border: 2px dashed #d1d5db;
}

.jltma-widget-builder .field-editor {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin-bottom: 16px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.jltma-widget-builder .field-editor.expanded {
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.jltma-widget-builder .field-editor .field-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.jltma-widget-builder .field-editor .field-header:hover {
  background: #f9fafb;
}

.jltma-widget-builder .field-editor .field-header .field-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 16px;
}

.jltma-widget-builder .field-editor .field-header .field-info .eicon {
  font-size: 24px;
  color: #6366f1;
}

.jltma-widget-builder .field-editor .field-header .field-info h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1d2327;
}

.jltma-widget-builder .field-editor .field-header .field-info .field-type {
  font-size: 13px;
  color: #6b7280;
  text-transform: capitalize;
}

.jltma-widget-builder .field-editor .field-header .field-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
}

.jltma-widget-builder .field-editor .field-header .field-actions .remove-field {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

.jltma-widget-builder .field-editor .field-header .field-actions .remove-field:hover {
  color: #ef4444;
}

.jltma-widget-builder .field-editor .field-header .field-actions .remove-field .dashicons {
  font-size: 18px;
}

.jltma-widget-builder .field-editor .field-header .field-actions .expand-toggle {
  color: #6b7280;
  font-size: 20px;
}

.jltma-widget-builder .field-editor .field-body {
  padding: 0 20px 20px 20px;
  border-top: 1px solid #f3f4f6;
  background: #fafafa;
}

.jltma-widget-builder .template-editor .template-controls {
  margin-bottom: 24px;
}

.jltma-widget-builder .template-editor .template-controls .code-editor {
  min-height: 400px;
  resize: vertical;
}

.jltma-widget-builder .template-editor .template-help {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-right: 4px solid #6366f1;
}

.jltma-widget-builder .template-editor .template-help h4 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.jltma-widget-builder .template-editor .template-help .variables-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px;
}

.jltma-widget-builder .template-editor .template-help .variables-list .variable-tag {
  background: #e5e7eb;
  color: #374151;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  font-weight: 500;
}

.jltma-widget-builder .template-editor .template-help .variables-list .no-fields {
  color: #6b7280;
  font-style: italic;
}

.jltma-widget-builder .style-editor .style-tabs .tab-group {
  margin-bottom: 32px;
}

.jltma-widget-builder .style-editor .style-tabs .tab-group h3 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
}

.jltma-widget-builder .style-editor .style-tabs .tab-group .code-editor {
  min-height: 300px;
  resize: vertical;
  background: #1e1e1e;
  color: #d4d4d4;
  border: 2px solid #333;
}

.jltma-widget-builder .style-editor .style-tabs .tab-group .code-editor:focus {
  border-color: #6366f1;
}

@media (max-width: 1024px) {
  .jltma-widget-builder .widget-builder-main .widgets-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  .jltma-widget-builder .widget-editor .editor-body {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .jltma-widget-builder .widget-editor .editor-body .editor-sidebar {
    width: 100%;
  }
  .jltma-widget-builder .widget-editor .editor-body .editor-sidebar .section-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow-x: auto;
  }
  .jltma-widget-builder .widget-editor .editor-body .editor-sidebar .section-nav .nav-item {
    white-space: nowrap;
    border-left: 1px solid #e5e5e5;
  }
  .jltma-widget-builder .widget-editor .editor-body .editor-sidebar .section-nav .nav-item.active {
    border-left: 1px solid #4f46e5;
    border-bottom: 3px solid #4f46e5;
  }
}
@media (max-width: 768px) {
  .jltma-widget-builder .jltma-widget-builder-header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    gap: 16px;
  }
  .jltma-widget-builder .jltma-widget-builder-header .header-left,
  .jltma-widget-builder .jltma-widget-builder-header .header-right {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .jltma-widget-builder .jltma-widget-builder-header .header-features {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .jltma-widget-builder .widget-builder-main {
    padding: 20px;
  }
  .jltma-widget-builder .widget-builder-main .widgets-toolbar {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 16px;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }
  .jltma-widget-builder .widget-builder-main .widgets-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   Widget Editor Interface - New Design
   ============================================================ */
.jltma-widget-editor-interface {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100vh;
  position: relative;
  overflow-y: hidden;
  overflow-x: visible;
  background: var(--jltma-background-start);
}

.jltma-widget-editor-interface::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJub2lzZSI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuOCIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjxmZUNvbXBvbmVudFRyYW5zZmVyPjxmZUZ1bmNSPHR5cGU9ImRpc2NyZXRlIiB0YWJsZVZhbHVlcz0iMCAwLjUgMSIvPjwvZmVDb21wb25lbnRUcmFuc2Zlcj48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjbm9pc2UpIiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+");
  pointer-events: none;
  z-index: -1;
}

.jltma-editor-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: 70px;
  background: #1c1c1c;
  border-bottom: 1px solid #2d2d2d;
  padding: 0 20px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 1000;
}

.jltma-editor-header .header-left,
.jltma-editor-header .header-center,
.jltma-editor-header .header-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
}

.jltma-editor-header .header-left {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.jltma-editor-header .header-center {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  min-width: 300px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.jltma-editor-header .header-right {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  gap: 12px;
}

.jltma-editor-header .header-separator {
  width: 1px;
  height: 24px;
  background: #2d2d2d;
  margin: 0 4px;
}

.jltma-editor-header .header-icon-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 3px;
  color: #a4afb7;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.jltma-editor-header .header-icon-btn span {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.jltma-editor-header .header-icon-btn:hover:not(.jltma-widget-builder-logo) {
  background: #2d2d2d;
  color: #fff;
}

.jltma-editor-header .header-icon-btn:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
}

.jltma-editor-header .header-icon-btn.active {
  background: var(--jltma-primary-glow);
  color: #fff;
}

.jltma-editor-header .widget-name-display {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #2d2d2d;
  border-radius: 3px;
  padding: 0 12px;
  height: 40px;
}

.jltma-editor-header .widget-name-display .widget-name-input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  outline: none;
  min-width: 200px;
  text-align: center;
}

.jltma-editor-header .widget-name-display .dropdown-toggle {
  background: transparent;
  border: none;
  color: #a4afb7;
  cursor: pointer;
  padding: 0;
  margin-right: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.jltma-editor-header .widget-name-display .dropdown-toggle span {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.jltma-editor-header .widget-name-display .dropdown-toggle:hover {
  color: #fff;
}

.jltma-editor-header .responsive-switcher {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #2d2d2d;
  border-radius: 3px;
  padding: 4px;
  gap: 2px;
}

.jltma-editor-header .responsive-switcher .responsive-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 3px;
  color: #a4afb7;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.jltma-editor-header .responsive-switcher .responsive-btn .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.jltma-editor-header .responsive-switcher .responsive-btn:hover {
  color: #fff;
  background: #3d3d3d;
}

.jltma-editor-header .responsive-switcher .responsive-btn.active {
  background: var(--jltma-primary-glow);
  color: #fff;
}

.jltma-editor-header .header-preview-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 24px;
  height: 40px;
  background: transparent;
  border: 2px solid var(--jltma-border-color);
  color: var(--jltma-text-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.jltma-editor-header .header-preview-btn:hover {
  border-color: var(--jltma-secondary-glow);
  color: var(--jltma-secondary-glow);
}

.jltma-editor-header .header-save-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 24px;
  height: 40px;
  background: transparent;
  color: #d946ef;
  border: 2px solid #d946ef;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.jltma-editor-header .header-save-btn:hover {
  background: #d946ef;
  color: #fff;
  -webkit-box-shadow: 0 0 20px rgba(217, 70, 239, 0.5);
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.5);
}

.jltma-editor-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow-y: hidden;
  overflow-x: visible;
}

.jltma-editor-body .jltma-widget-preview {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 10px;
  margin: 0;
  height: calc(100vh - 110px);
  overflow: hidden;
  box-sizing: border-box;
}

.jltma-editor-body .jltma-widget-preview .preview-container {
  position: relative;
  height: 100%;
  -webkit-transition: width 0.3s;
  transition: width 0.3s;
}

.jltma-editor-body .jltma-widget-preview .preview-container.preview-viewport-desktop {
  width: 100%;
}

.jltma-editor-body .jltma-widget-preview .preview-container.preview-viewport-desktop .preview-content-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
}

.jltma-editor-body .jltma-widget-preview .preview-container.preview-viewport-tablet {
  width: 768px;
}

.jltma-editor-body .jltma-widget-preview .preview-container.preview-viewport-tablet .preview-content-wrapper {
  position: absolute;
  top: 70px;
  right: 50%;
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  transform: translateX(50%);
  width: 96%;
  height: 920px;
  border-radius: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
}

.jltma-editor-body .jltma-widget-preview .preview-container.preview-viewport-mobile {
  width: 375px;
}

.jltma-editor-body .jltma-widget-preview .preview-container.preview-viewport-mobile .preview-content-wrapper {
  position: absolute;
  top: 72px;
  right: 50%;
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  transform: translateX(50%);
  width: 92%;
  height: 620px;
  border-radius: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
}

.jltma-editor-body:has(.jltma-widget-preview) {
  background: #f1f3f4;
  border: 6px solid #1c1c1c;
  border-top: 0;
}

.jltma-widget-sidebar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background: var(--jltma-background-end);
  border-left: 2px solid var(--jltma-border-color);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  width: 340px;
  position: relative;
}

.jltma-widget-sidebar.collapsed {
  width: 64px;
  overflow: visible;
}

.jltma-widget-sidebar.collapsed .sidebar-header h2,
.jltma-widget-sidebar.collapsed .sidebar-search {
  display: none;
}

.jltma-widget-sidebar.collapsed .widget-controls-grid {
  grid-template-columns: 1fr;
  padding: 8px 14px;
  gap: 8px;
  overflow-x: hidden;
}

.jltma-widget-sidebar.collapsed .widget-controls-grid .widget-control-item {
  padding: 8px;
  min-height: auto;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
}

.jltma-widget-sidebar.collapsed .widget-controls-grid .widget-control-item .dashicons {
  margin: 0;
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.jltma-widget-sidebar.collapsed .widget-controls-grid .widget-control-item .control-label {
  display: none;
}

.jltma-widget-sidebar.collapsed .widget-controls-grid .widget-control-item::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 48px;
  top: auto;
  background: rgba(0, 0, 0, 0.9) !important;
  color: #fff !important;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 1; /* Temporarily always visible for debugging */
  visibility: hidden;
  pointer-events: none;
  -webkit-transition: opacity 0.2s ease, right 0.2s ease;
  transition: opacity 0.2s ease, right 0.2s ease;
  z-index: 9999 !important;
}

.jltma-widget-sidebar.collapsed .widget-controls-grid .widget-control-item::after {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: rgba(0, 0, 0, 0.9);
  opacity: 1; /* Temporarily always visible for debugging */
  visibility: hidden;
  pointer-events: none;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  z-index: 9999 !important;
}

.jltma-widget-sidebar.collapsed .widget-controls-grid .widget-control-item:hover::before,
.jltma-widget-sidebar.collapsed .widget-controls-grid .widget-control-item:hover::after {
  opacity: 1 !important;
  visibility: visible !important;
}

.jltma-widget-sidebar .sidebar-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 2px solid var(--jltma-border-color);
}

.jltma-widget-sidebar .sidebar-header h2 {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--jltma-text-primary);
  margin: 0;
}

.jltma-widget-sidebar .sidebar-header .toggle-sidebar {
  background: transparent;
  border: none;
  color: var(--jltma-text-secondary);
  cursor: pointer;
  padding: 8px;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.jltma-widget-sidebar .sidebar-header .toggle-sidebar:hover {
  color: var(--jltma-primary-glow);
}

.jltma-widget-sidebar .sidebar-header .toggle-sidebar .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.jltma-widget-sidebar .sidebar-search {
  padding: 16px;
  border-bottom: 2px solid var(--jltma-border-color);
}

.jltma-widget-sidebar .sidebar-search .search-box {
  position: relative;
}

.jltma-widget-sidebar .sidebar-search .search-box input {
  width: 100%;
  padding: 10px 40px 10px 40px;
  border: 2px solid var(--jltma-border-color);
  background: transparent;
  color: var(--jltma-text-primary);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.jltma-widget-sidebar .sidebar-search .search-box input:focus {
  outline: none;
  border-color: var(--jltma-primary-glow);
}

.jltma-widget-sidebar .sidebar-search .search-box input::-webkit-input-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-widget-sidebar .sidebar-search .search-box input::-moz-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-widget-sidebar .sidebar-search .search-box input:-ms-input-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-widget-sidebar .sidebar-search .search-box input::-ms-input-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-widget-sidebar .sidebar-search .search-box input::placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-widget-sidebar .sidebar-search .search-box .dashicons-search {
  position: absolute;
  right: 12px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  color: var(--jltma-text-secondary);
  font-size: 18px;
  pointer-events: none;
}

.jltma-widget-sidebar .sidebar-search .search-box .search-clear-btn {
  position: absolute;
  left: 8px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  border-radius: 3px;
}

.jltma-widget-sidebar .sidebar-search .search-box .search-clear-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.jltma-widget-sidebar .sidebar-search .search-box .search-clear-btn .dashicons-no-alt {
  font-size: 18px;
  color: var(--jltma-text-secondary);
  width: 20px;
  height: 20px;
}

.jltma-widget-sidebar .widget-controls-grid {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  -ms-flex-line-pack: start;
  align-content: start;
}

.jltma-widget-sidebar .widget-controls-grid::-webkit-scrollbar {
  width: 8px;
}

.jltma-widget-sidebar .widget-controls-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin: 8px 0;
}

.jltma-widget-sidebar .widget-controls-grid::-webkit-scrollbar-thumb {
  background: -webkit-gradient(linear, right top, right bottom, from(#6366f1), to(#8b5cf6));
  background: linear-gradient(-180deg, #6366f1, #8b5cf6);
  border-radius: 10px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.jltma-widget-sidebar .widget-controls-grid::-webkit-scrollbar-thumb:hover {
  background: -webkit-gradient(linear, right top, right bottom, from(#8b5cf6), to(#a78bfa));
  background: linear-gradient(-180deg, #8b5cf6, #a78bfa);
  -webkit-box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.jltma-widget-sidebar .widget-controls-grid .widget-control-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 16px;
  background: var(--jltma-surface-color);
  border: 1px solid var(--jltma-border-color);
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
}

.jltma-widget-sidebar .widget-controls-grid .widget-control-item .dashicons {
  font-size: 32px;
  width: 32px;
  height: 32px;
  color: var(--jltma-text-secondary);
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.jltma-widget-sidebar .widget-controls-grid .widget-control-item span {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--jltma-text-secondary);
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  text-align: center;
}

.jltma-widget-sidebar .widget-controls-grid .widget-control-item:hover {
  border-color: var(--jltma-secondary-glow);
}

.jltma-widget-sidebar .widget-controls-grid .widget-control-item:hover .dashicons,
.jltma-widget-sidebar .widget-controls-grid .widget-control-item:hover span {
  color: var(--jltma-secondary-glow);
}

.jltma-widget-main-editor {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background: var(--jltma-background-start);
}

.jltma-widget-main-editor .editor-tabs {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  background: transparent;
  border-bottom: 2px solid var(--jltma-border-color);
}

.jltma-widget-main-editor .editor-tabs .tabs-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.jltma-widget-main-editor .editor-tabs .tabs-container .tab-button {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: transparent;
  border: none;
  color: var(--jltma-text-secondary);
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.jltma-widget-main-editor .editor-tabs .tabs-container .tab-button .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.jltma-widget-main-editor .editor-tabs .tabs-container .tab-button:hover {
  color: var(--jltma-secondary-glow);
}

.jltma-widget-main-editor .editor-tabs .tabs-container .tab-button.active {
  color: var(--jltma-primary-glow);
}

.jltma-widget-main-editor .editor-tabs .tabs-container .tab-button.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background: var(--jltma-primary-glow);
}

.jltma-widget-main-editor .editor-content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}

.jltma-widget-main-editor .editor-content .tab-content {
  display: none;
  position: relative;
}

.jltma-widget-main-editor .editor-content .tab-content.active {
  display: block;
}

.jltma-widget-main-editor .editor-content .tab-content.active .wb-canvas-inner.is-dragging-control.empty-canvas::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 150px;
  border: 2px dashed #6366f1;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.04);
  pointer-events: none;
  z-index: 0;
}

.jltma-widget-main-editor .editor-content .tab-content.active .wb-canvas-inner.is-dragging-control.empty-canvas::after {
  content: "Drag widget here";
  position: absolute;
  top: 60px;
  right: 50%;
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  transform: translateX(50%);
  font-size: 14px;
  color: rgba(99, 102, 241, 0.5);
  font-style: italic;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}

.jltma-widget-main-editor .editor-content .tab-content.active .wb-canvas-inner.is-dragging-control.empty-canvas .add-section-button {
  display: none;
}

.jltma-widget-main-editor .editor-content .wb-canvas-inner {
  min-height: 200px;
  position: relative;
}

.jltma-widget-main-editor .editor-content .editor-section {
  background: var(--jltma-surface-color);
  padding: 5px 15px 20px 15px;
  border: 2px solid var(--jltma-border-color);
  margin-bottom: 20px;
  position: relative;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.jltma-widget-main-editor .editor-content .editor-section::before {
  content: "";
  position: absolute;
  right: -2px;
  top: 0;
  height: 100%;
  width: 4px;
  background: transparent;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
}

.jltma-widget-main-editor .editor-content .editor-section:hover::before {
  background: var(--jltma-secondary-glow);
}

.jltma-widget-main-editor .editor-content .editor-section .control-field-item:hover {
  background: var(--jltma-surface-color) !important;
  border-color: var(--jltma-border-color) !important;
}

.jltma-widget-main-editor .editor-content .editor-section .control-field-item:hover .control-drag-handle {
  opacity: 1 !important;
}

.jltma-widget-main-editor .editor-content .editor-section .control-field-item:hover .control-actions {
  opacity: 1 !important;
}

.jltma-widget-main-editor .editor-content .editor-section .section-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 10px;
}

.jltma-widget-main-editor .editor-content .editor-section .section-header .dashicons-menu {
  color: var(--jltma-text-secondary);
  margin-left: 12px;
  cursor: -webkit-grab;
  cursor: grab;
  font-size: 20px;
}

.jltma-widget-main-editor .editor-content .editor-section .section-header .dashicons-menu:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.jltma-widget-main-editor .editor-content .editor-section .section-header h3 {
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--jltma-text-primary);
  margin: 0;
}

.jltma-widget-main-editor .editor-content .editor-section .section-body .form-field {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 16px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 16px;
}

.jltma-widget-main-editor .editor-content .editor-section .section-body .form-field label {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--jltma-text-secondary);
}

.jltma-widget-main-editor .editor-content .editor-section .section-body .form-field input,
.jltma-widget-main-editor .editor-content .editor-section .section-body .form-field select,
.jltma-widget-main-editor .editor-content .editor-section .section-body .form-field textarea {
  width: 100%;
  padding: 10px 16px;
  border: 2px solid var(--jltma-border-color);
  background: transparent;
  color: var(--jltma-text-primary);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-family: inherit;
  text-shadow: none;
}

.jltma-widget-main-editor .editor-content .editor-section .section-body .form-field input:focus,
.jltma-widget-main-editor .editor-content .editor-section .section-body .form-field select:focus,
.jltma-widget-main-editor .editor-content .editor-section .section-body .form-field textarea:focus {
  outline: none;
  border-color: var(--jltma-secondary-glow);
}

.jltma-widget-main-editor .editor-content .add-section-button {
  text-align: center;
  margin-top: 32px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
}

.jltma-widget-main-editor .editor-content .add-section-button .glow-button-wrapper {
  position: relative;
  display: inline-block;
}

.jltma-widget-main-editor .editor-content .add-section-button .glow-button-wrapper button {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--jltma-background-start);
  border: none;
  cursor: pointer;
  z-index: 2;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.jltma-widget-main-editor .editor-content .add-section-button .glow-button-wrapper button .dashicons {
  font-size: 30px;
  width: 30px;
  height: 30px;
  color: var(--jltma-primary-glow);
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.jltma-widget-main-editor .editor-content .add-section-button .glow-button-wrapper button:hover .dashicons {
  color: var(--jltma-text-primary);
}

.jltma-widget-main-editor .editor-content .add-section-button .glow-button-wrapper::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: conic-gradient(from -180deg at 50% 50%, var(--jltma-primary-glow) 0%, var(--jltma-secondary-glow) 50%, var(--jltma-primary-glow) 100%);
  border-radius: 50%;
  -webkit-animation: spin 4s linear infinite;
  animation: spin 4s linear infinite;
  z-index: 1;
}

.jltma-widget-main-editor .editor-content .add-section-button p {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--jltma-text-secondary);
}

.jltma-widget-main-editor .editor-content .add-section-button.drag-over::before {
  content: "";
  position: absolute;
  top: -20px;
  right: 50%;
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  transform: translateX(50%);
  width: 100%;
  height: 150px;
  border: 2px dashed #6366f1;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.04);
  pointer-events: none;
  z-index: 0;
}

.jltma-widget-main-editor .editor-content .add-section-button.drag-over::after {
  content: "Drop to create new section";
  position: absolute;
  top: 55px;
  right: 50%;
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  transform: translateX(50%);
  font-size: 13px;
  color: rgba(99, 102, 241, 0.8);
  font-style: italic;
  white-space: nowrap;
  font-weight: 500;
  z-index: 1;
}

.jltma-widget-main-editor .editor-content .add-section-button.drag-over .glow-button-wrapper,
.jltma-widget-main-editor .editor-content .add-section-button.drag-over p {
  position: relative;
  z-index: 1;
}

.jltma-widget-main-editor .editor-content .add-item-button {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 24px;
  border: 2px dashed var(--jltma-border-color);
  background: transparent;
  color: var(--jltma-text-secondary);
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.jltma-widget-main-editor .editor-content .add-item-button .dashicons {
  font-size: 24px;
  margin-left: 8px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.jltma-widget-main-editor .editor-content .add-item-button span {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.jltma-widget-main-editor .editor-content .add-item-button:hover {
  border-color: var(--jltma-primary-glow);
  color: var(--jltma-primary-glow);
}

.jltma-widget-main-editor .editor-content .add-item-button:hover .dashicons {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.jltma-widget-code-sidebar {
  width: 62%;
  background: #121212;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  border-right: 2px solid var(--jltma-border-color);
  position: relative;
  min-width: 300px;
  max-width: calc(100vw - 320px);
}

.jltma-widget-code-sidebar .sidebar-resize-handle:hover {
  background: rgba(113, 215, 247, 0.3) !important;
}

.jltma-widget-code-sidebar .sidebar-resize-handle:hover div {
  background: rgba(255, 255, 255, 0.6) !important;
}

.jltma-widget-code-sidebar .code-tabs {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.3);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-bottom: 2px solid var(--jltma-border-color);
  position: relative;
}

.jltma-widget-code-sidebar .code-tabs .code-tab-button {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 17px 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: transparent;
  border: none;
  border-left: 2px solid var(--jltma-border-color);
  color: var(--jltma-text-secondary);
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.jltma-widget-code-sidebar .code-tabs .code-tab-button:last-child {
  border-left: none;
}

.jltma-widget-code-sidebar .code-tabs .code-tab-button:hover {
  background: var(--jltma-surface-color);
  color: var(--jltma-secondary-glow);
}

.jltma-widget-code-sidebar .code-tabs .code-tab-button.active {
  background: var(--jltma-surface-color);
  color: var(--jltma-secondary-glow);
}

.jltma-widget-code-sidebar .code-tabs .code-tab-settings {
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-right: 2px solid var(--jltma-border-color);
  color: var(--jltma-text-secondary);
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.jltma-widget-code-sidebar .code-tabs .code-tab-settings:hover {
  background: var(--jltma-surface-color);
  color: var(--jltma-primary-glow);
}

.jltma-widget-code-sidebar .code-tabs .code-tab-settings .eicon {
  font-size: 16px;
}

.jltma-widget-code-sidebar .dependencies-popover {
  position: absolute;
  top: 100%;
  left: 0;
  width: 400px;
  max-height: 500px;
  background: var(--jltma-surface-color);
  border: 2px solid var(--jltma-border-color);
  border-radius: 8px;
  -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.jltma-widget-code-sidebar .dependencies-popover .popover-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--jltma-border-color);
}

.jltma-widget-code-sidebar .dependencies-popover .popover-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--jltma-text-primary);
}

.jltma-widget-code-sidebar .dependencies-popover .popover-header button {
  background: transparent;
  border: none;
  color: var(--jltma-text-secondary);
  cursor: pointer;
  padding: 4px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.jltma-widget-code-sidebar .dependencies-popover .popover-header button:hover {
  color: var(--jltma-primary-glow);
}

.jltma-widget-code-sidebar .dependencies-popover .popover-header button .dashicons {
  font-size: 20px;
}

.jltma-widget-code-sidebar .dependencies-popover .popover-content {
  padding: 16px;
  overflow-y: auto;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.jltma-widget-code-sidebar .dependencies-popover .popover-content .dependency-group {
  margin-bottom: 20px;
}

.jltma-widget-code-sidebar .dependencies-popover .popover-content .dependency-group:last-child {
  margin-bottom: 0;
}

.jltma-widget-code-sidebar .dependencies-popover .popover-content .dependency-group > label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--jltma-text-primary);
}

.jltma-widget-code-sidebar .dependencies-popover .popover-content .dependency-group .dependency-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 6px;
  max-height: 150px;
  overflow-y: auto;
  padding: 8px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--jltma-border-color);
  border-radius: 4px;
}

.jltma-widget-code-sidebar .dependencies-popover .popover-content .dependency-group .dependency-list .dependency-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  border-radius: 3px;
}

.jltma-widget-code-sidebar .dependencies-popover .popover-content .dependency-group .dependency-list .dependency-item:hover {
  background: rgba(99, 102, 241, 0.1);
}

.jltma-widget-code-sidebar .dependencies-popover .popover-content .dependency-group .dependency-list .dependency-item input[type=checkbox] {
  margin: 0;
  cursor: pointer;
}

.jltma-widget-code-sidebar .dependencies-popover .popover-content .dependency-group .dependency-list .dependency-item span {
  font-size: 13px;
  color: var(--jltma-text-primary);
  font-family: Monaco, Menlo, "Ubuntu Mono", monospace;
}

.jltma-widget-code-sidebar .code-preview {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 16px;
  font-family: Monaco, Menlo, "Ubuntu Mono", monospace;
  font-size: 13px;
  overflow-y: auto;
  background: #121212;
}

.jltma-widget-code-sidebar .code-preview .code-content {
  display: none;
  height: 100%;
}

.jltma-widget-code-sidebar .code-preview .code-content.active {
  display: block;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 14px;
  height: 100%;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout.no-fields {
  grid-template-columns: 1fr;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .code-editor-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .code-editor-section .code-editor {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  width: 100%;
  background: #1e1e1e;
  color: #d4d4d4;
  border: 1px solid var(--jltma-border-color);
  padding: 16px;
  font-family: Monaco, Menlo, "Ubuntu Mono", monospace;
  font-size: 13px;
  line-height: 1.6;
  resize: none;
  outline: none;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .code-editor-section .code-editor:focus {
  border-color: var(--jltma-primary-glow);
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .fields-list-section {
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: var(--jltma-surface-color);
  border: 1px solid var(--jltma-border-color);
  border-radius: 8px;
  padding: 16px 10px;
  overflow-x: hidden;
  overflow-y: auto;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .doc-resize-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 16px;
  cursor: col-resize;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 20;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .doc-resize-handle span {
  width: 4px;
  height: 48px;
  border-radius: 4px;
  background: rgba(129, 140, 248, 0.6);
  -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  -webkit-transition: background 0.18s ease, height 0.18s ease;
  transition: background 0.18s ease, height 0.18s ease;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .doc-resize-handle:hover span {
  height: 72px;
  background: var(--jltma-primary-glow);
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .fields-list-section .field-slugs .field-slug-group {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: 8px;
  background: rgba(129, 140, 248, 0.05);
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .fields-list-section .field-slugs .field-slug-group .field-slug-group-label {
  margin: 0 2px 8px 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #8b93c7;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .fields-list-section .field-slugs .field-slug-group .field-slug-group-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 8px;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .fields-list-section h4 {
  margin: 0 0 16px 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--jltma-text-primary);
  text-align: center;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .fields-list-section .field-slugs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .fields-list-section .field-slugs .field-slug-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 8px 10px 8px 26px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.35);
  border-radius: 6px;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  text-align: right;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  min-width: 0;
  width: 100%;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .fields-list-section .field-slugs .field-slug-item:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--jltma-primary-glow);
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .fields-list-section .field-slugs .field-slug-item:hover code {
  color: #e0e7ff;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .fields-list-section .field-slugs .field-slug-item code {
  display: block;
  width: 100%;
  min-width: 0;
  cursor: pointer;
  font-family: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  color: #c7d2fe;
  background: transparent;
  border-radius: 3px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .fields-list-section .field-slug-item .field-slug-copy {
  position: absolute;
  top: 3px;
  left: 3px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #8b93c7;
  cursor: pointer;
  -webkit-transition: background 0.18s ease, color 0.18s ease;
  transition: background 0.18s ease, color 0.18s ease;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .fields-list-section .field-slug-item .field-slug-copy:hover {
  background: rgba(129, 140, 248, 0.28);
  color: #e0e7ff;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .fields-list-section .field-slug-item .field-slug-copy.copied {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
}

.jltma-widget-code-sidebar .code-preview .code-content.html .html-editor-layout .fields-list-section .field-slugs .no-fields {
  color: var(--jltma-text-secondary);
  font-size: 12px;
  text-align: center;
  padding: 20px;
}

.jltma-widget-code-sidebar .code-preview .code-content.css .code-editor,
.jltma-widget-code-sidebar .code-preview .code-content.js .code-editor {
  width: 100%;
  height: 100%;
  min-height: 500px;
  background: #1e1e1e !important;
  color: #d4d4d4 !important;
  border: 1px solid var(--jltma-border-color) !important;
  padding: 16px;
  font-family: Monaco, Menlo, "Ubuntu Mono", monospace !important;
  font-size: 13px;
  line-height: 1.6;
  resize: none;
  outline: none;
  border-radius: 4px;
  overflow: auto !important;
}

.jltma-widget-code-sidebar .code-preview .code-content.css .code-editor:focus,
.jltma-widget-code-sidebar .code-preview .code-content.js .code-editor:focus {
  border-color: var(--jltma-primary-glow) !important;
}

.jltma-widget-code-sidebar .code-preview .code-content.css .code-editor textarea,
.jltma-widget-code-sidebar .code-preview .code-content.js .code-editor textarea {
  outline: none !important;
}

.jltma-widget-code-sidebar .code-preview .code-content .code-editor-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  background: #1e1e1e;
  border: 1px solid var(--jltma-border-color);
  border-radius: 4px;
  overflow: hidden;
}

.jltma-widget-code-sidebar .code-preview .code-content .code-editor-wrapper .line-numbers {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 27px;
  background: #0d0d0d;
  border-left: 1px solid #2d2d2d;
  padding: 10px 0;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: left;
}

.jltma-widget-code-sidebar .code-preview .code-content .code-editor-wrapper .line-numbers .line-number {
  padding: 0 10px;
  font-family: "Fira code", "Fira Mono", Monaco, Menlo, monospace;
  font-size: 14px;
  line-height: 21px;
  color: #858585;
  -webkit-font-feature-settings: normal;
  font-feature-settings: normal;
  -webkit-font-variant-ligatures: none;
  font-variant-ligatures: none;
}

.jltma-widget-code-sidebar .code-preview .code-content .code-editor-wrapper .code-editor-container {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow: auto;
  position: relative;
}

.jltma-widget-code-sidebar .code-preview .code-content .code-editor-wrapper .code-editor-container .code-editor {
  width: 100%;
  height: 100%;
}

.jltma-widget-code-sidebar .code-preview .code-content .code-editor-wrapper .code-editor-container .code-editor textarea,
.jltma-widget-code-sidebar .code-preview .code-content .code-editor-wrapper .code-editor-container .code-editor pre {
  padding: 10px !important;
  margin: 0 !important;
  border: none !important;
  outline: none !important;
  white-space: pre !important;
  word-wrap: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  -webkit-font-feature-settings: normal !important;
  font-feature-settings: normal !important;
  -webkit-font-variant-ligatures: none !important;
  font-variant-ligatures: none !important;
  -o-tab-size: 4 !important;
  tab-size: 4 !important;
  -moz-tab-size: 4 !important;
  border-radius: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.jltma-widget-code-sidebar .code-preview .code-content .code-editor-wrapper .code-editor-container .code-editor textarea {
  caret-color: #fff !important;
  color: #d4d4d4 !important;
  resize: none !important;
}

.jltma-widget-code-sidebar .code-preview .code-content .code-editor-wrapper .code-editor-container .code-editor pre {
  pointer-events: none;
}

.jltma-widget-code-sidebar .code-preview .code-content .editorLineNumber {
  display: none;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-separator {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 32px 0;
  gap: 16px;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-separator .separator-line {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 2px;
  background: -webkit-gradient(linear, right top, left top, from(transparent), color-stop(50%, var(--jltma-primary-glow)), to(transparent));
  background: linear-gradient(-90deg, transparent 0%, var(--jltma-primary-glow) 50%, transparent 100%);
  opacity: 0.3;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-separator .separator-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--jltma-surface-color);
  border: 2px solid var(--jltma-border-color);
  position: relative;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-separator .separator-icon::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from -180deg at 50% 50%, var(--jltma-primary-glow) 0%, var(--jltma-secondary-glow) 50%, var(--jltma-primary-glow) 100%);
  opacity: 0.2;
  -webkit-animation: spin 8s linear infinite;
  animation: spin 8s linear infinite;
  z-index: -1;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-separator .separator-icon .dashicons {
  font-size: 20px;
  color: var(--jltma-primary-glow);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section {
  margin-bottom: 24px;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 15px 10px;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--jltma-text-primary);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-add-button-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 10px;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-add-button-wrapper .add-include-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--jltma-primary-glow);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-add-button-wrapper .add-include-btn:hover {
  background: var(--jltma-secondary-glow);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-add-button-wrapper .add-include-btn .dashicons {
  font-size: 16px;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 8px;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 8px;
  padding: 12px;
  background: var(--jltma-surface-color);
  border: 1px solid var(--jltma-border-color);
  border-radius: 4px;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row input[type=text] {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--jltma-border-color);
  color: var(--jltma-text-primary);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  outline: none;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row input[type=text]:focus {
  border-color: var(--jltma-primary-glow);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row input[type=text]::-webkit-input-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row input[type=text]::-moz-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row input[type=text]:-ms-input-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row input[type=text]::-ms-input-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row input[type=text]::placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 4px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .settings-include-btn {
  background: transparent;
  border: 1px solid var(--jltma-border-color);
  color: var(--jltma-text-secondary);
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .settings-include-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--jltma-primary-glow);
  color: var(--jltma-primary-glow);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .settings-include-btn .dashicons {
  font-size: 18px;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .remove-include-btn {
  background: transparent;
  border: 1px solid var(--jltma-border-color);
  color: var(--jltma-text-secondary);
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .remove-include-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .remove-include-btn .dashicons {
  font-size: 18px;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 8px;
  width: 300px;
  max-height: 500px;
  background: var(--jltma-surface-color);
  border: 2px solid var(--jltma-border-color);
  border-radius: 8px;
  -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--jltma-border-color);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-header h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--jltma-text-primary);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-header button {
  background: transparent;
  border: none;
  color: var(--jltma-text-secondary);
  cursor: pointer;
  padding: 4px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-header button:hover {
  color: var(--jltma-primary-glow);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-header button .dashicons {
  font-size: 18px;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content {
  padding: 12px 12px 8px 12px;
  max-height: 360px;
  overflow-y: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .popover-hint {
  margin: 0 0 12px 0;
  font-size: 12px;
  color: var(--jltma-text-secondary);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--jltma-border-color);
  color: var(--jltma-text-primary);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-family: Monaco, Menlo, "Ubuntu Mono", monospace;
  resize: vertical;
  outline: none;
  margin-bottom: 12px;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-input:focus {
  border-color: var(--jltma-primary-glow);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-input::-webkit-input-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-input::-moz-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-input:-ms-input-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-input::-ms-input-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-input::placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-multiselect {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--jltma-border-color);
  color: var(--jltma-text-primary);
  padding: 8px;
  border-radius: 4px;
  font-size: 13px;
  font-family: Monaco, Menlo, "Ubuntu Mono", monospace;
  outline: none;
  margin-bottom: 12px;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-multiselect:focus {
  border-color: var(--jltma-primary-glow);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-multiselect option {
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--jltma-text-primary);
  border-radius: 3px;
  margin-bottom: 2px;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-multiselect option:hover,
.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-multiselect option:checked {
  background: var(--jltma-primary-glow);
  color: #fff;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-multiselect optgroup {
  color: var(--jltma-secondary-glow);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 4px 4px 4px;
  background: rgba(0, 0, 0, 0.4);
  margin-top: 4px;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-multiselect optgroup:first-child {
  margin-top: 0;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 4px;
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 12px;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-list .handle-item {
  display: block;
  width: 100%;
  text-align: right;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--jltma-border-color);
  border-radius: 4px;
  color: var(--jltma-text-primary);
  font-family: Monaco, Menlo, "Ubuntu Mono", monospace;
  font-size: 12px;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .popover-content .handle-list .handle-item:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--jltma-primary-glow);
  color: var(--jltma-primary-glow);
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .submit-handles-btn {
  width: calc(100% - 24px);
  padding: 10px 16px;
  background: var(--jltma-primary-glow);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  margin: 0 12px 12px 12px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.jltma-widget-code-sidebar .code-preview .code-content.includes .includes-section .includes-repeater .repeater-row .repeater-actions .handle-selector-popover .submit-handles-btn:hover {
  background: var(--jltma-secondary-glow);
}

.jltma-widget-code-sidebar .code-preview .code-line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.jltma-widget-code-sidebar .code-preview .code-line .line-number {
  color: #6b7280;
  padding-left: 16px;
  text-align: left;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  min-width: 40px;
}

.jltma-widget-code-sidebar .code-preview .code-line .line-code {
  color: #9ca3af;
}

.jltma-widget-code-sidebar .code-preview .code-line .line-code .tag {
  color: #22d3ee;
}

.jltma-widget-code-sidebar .code-preview .code-line .line-code .tag-name {
  color: #ec4899;
}

.jltma-widget-code-sidebar .code-preview .code-line .line-code .attr-name {
  color: #60a5fa;
}

.jltma-widget-code-sidebar .code-preview .code-line .line-code .attr-value {
  color: #22c55e;
}

.jltma-widget-code-sidebar .code-preview .code-line .line-code .selector {
  color: #60a5fa;
}

.jltma-widget-code-sidebar .code-preview .code-line .line-code .property {
  color: #a78bfa;
}

.jltma-widget-code-sidebar .code-preview .code-line .line-code .value {
  color: #fb923c;
}

.jltma-widget-code-sidebar .code-preview .code-line .line-code .keyword {
  color: #fbbf24;
}

.jltma-widget-code-sidebar .code-preview .code-line .line-code .function {
  color: #ec4899;
}

.jltma-widget-code-sidebar .code-preview .code-line .line-code .string {
  color: #22c55e;
}

@keyframes spin {
  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}
@media (max-width: 1400px) {
  .jltma-widget-code-sidebar {
    width: 40%;
  }
}
@media (max-width: 1024px) {
  .jltma-widget-editor-interface {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: auto;
  }
  .jltma-widget-sidebar {
    width: 100% !important;
    border-left: none;
    border-bottom: 2px solid var(--jltma-border-color);
  }
  .jltma-widget-sidebar.collapsed {
    height: 64px;
  }
  .jltma-widget-code-sidebar {
    width: 100%;
    border-right: none;
    border-top: 2px solid var(--jltma-border-color);
    min-height: 400px;
  }
}
body.jltma-modal-open {
  overflow: hidden;
}

.handle-selector-popover .ts-wrapper.multi .ts-control,
.popover-content .ts-wrapper.multi .ts-control {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid var(--jltma-border-color) !important;
  color: var(--jltma-text-primary) !important;
  padding: 8px !important;
  border-radius: 4px !important;
  min-height: 50px !important;
  max-height: 180px !important;
  overflow-y: auto !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.handle-selector-popover .ts-wrapper.multi .ts-control:focus,
.handle-selector-popover .ts-wrapper.multi .ts-control.focus,
.popover-content .ts-wrapper.multi .ts-control:focus,
.popover-content .ts-wrapper.multi .ts-control.focus {
  border-color: var(--jltma-primary-glow) !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.handle-selector-popover .ts-wrapper.multi .ts-control > input,
.popover-content .ts-wrapper.multi .ts-control > input {
  background: transparent !important;
  color: var(--jltma-text-primary) !important;
  border: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  padding: 6px 8px !important;
  font-size: 13px !important;
  font-family: Monaco, Menlo, "Ubuntu Mono", monospace !important;
}

.handle-selector-popover .ts-wrapper.multi .ts-control > input::-webkit-input-placeholder,
.popover-content .ts-wrapper.multi .ts-control > input::-webkit-input-placeholder {
  color: var(--jltma-text-secondary) !important;
}

.handle-selector-popover .ts-wrapper.multi .ts-control > input::-moz-placeholder,
.popover-content .ts-wrapper.multi .ts-control > input::-moz-placeholder {
  color: var(--jltma-text-secondary) !important;
}

.handle-selector-popover .ts-wrapper.multi .ts-control > input:-ms-input-placeholder,
.popover-content .ts-wrapper.multi .ts-control > input:-ms-input-placeholder {
  color: var(--jltma-text-secondary) !important;
}

.handle-selector-popover .ts-wrapper.multi .ts-control > input::-ms-input-placeholder,
.popover-content .ts-wrapper.multi .ts-control > input::-ms-input-placeholder {
  color: var(--jltma-text-secondary) !important;
}

.handle-selector-popover .ts-wrapper.multi .ts-control > input::placeholder,
.popover-content .ts-wrapper.multi .ts-control > input::placeholder {
  color: var(--jltma-text-secondary) !important;
}

.handle-selector-popover .ts-wrapper.multi .ts-control > div,
.popover-content .ts-wrapper.multi .ts-control > div {
  background: var(--jltma-primary-glow) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 3px !important;
  padding: 4px 8px !important;
  margin: 2px !important;
  font-size: 12px !important;
  font-family: Monaco, Menlo, "Ubuntu Mono", monospace !important;
}

.handle-selector-popover .ts-wrapper.multi .ts-control > div .remove,
.popover-content .ts-wrapper.multi .ts-control > div .remove {
  color: rgba(255, 255, 255, 0.7) !important;
  border: none !important;
  margin-right: 6px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  padding: 0 4px !important;
}

.handle-selector-popover .ts-wrapper.multi .ts-control > div .remove:hover,
.popover-content .ts-wrapper.multi .ts-control > div .remove:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.2) !important;
}

.handle-selector-popover .ts-wrapper .ts-dropdown,
.popover-content .ts-wrapper .ts-dropdown {
  background: var(--jltma-surface-color) !important;
  border: 1px solid var(--jltma-border-color) !important;
  border-radius: 4px !important;
  margin-top: 4px !important;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  z-index: 99999 !important;
  position: static !important;
}

.handle-selector-popover .ts-wrapper .ts-dropdown .ts-dropdown-content,
.popover-content .ts-wrapper .ts-dropdown .ts-dropdown-content {
  max-height: 140px !important;
  overflow-y: auto !important;
}

.handle-selector-popover .ts-wrapper .ts-dropdown .optgroup-header,
.popover-content .ts-wrapper .ts-dropdown .optgroup-header {
  background: rgba(0, 0, 0, 0.4) !important;
  color: var(--jltma-secondary-glow) !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  border: none !important;
}

.handle-selector-popover .ts-wrapper .ts-dropdown .option,
.popover-content .ts-wrapper .ts-dropdown .option {
  background: transparent !important;
  color: var(--jltma-text-primary) !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-family: Monaco, Menlo, "Ubuntu Mono", monospace !important;
  cursor: pointer !important;
  border: none !important;
}

.handle-selector-popover .ts-wrapper .ts-dropdown .option:hover,
.handle-selector-popover .ts-wrapper .ts-dropdown .option.active,
.popover-content .ts-wrapper .ts-dropdown .option:hover,
.popover-content .ts-wrapper .ts-dropdown .option.active {
  background: rgba(99, 102, 241, 0.2) !important;
  color: var(--jltma-primary-glow) !important;
}

.handle-selector-popover .ts-wrapper .ts-dropdown .option.selected,
.popover-content .ts-wrapper .ts-dropdown .option.selected {
  background: var(--jltma-primary-glow) !important;
  color: #fff !important;
}

.handle-selector-popover .ts-wrapper .ts-dropdown .option.selected:hover,
.popover-content .ts-wrapper .ts-dropdown .option.selected:hover {
  background: var(--jltma-secondary-glow) !important;
}

.handle-selector-popover .ts-wrapper .ts-dropdown .create,
.popover-content .ts-wrapper .ts-dropdown .create {
  background: rgba(0, 0, 0, 0.2) !important;
  color: var(--jltma-primary-glow) !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-family: Monaco, Menlo, "Ubuntu Mono", monospace !important;
  border-top: 1px solid var(--jltma-border-color) !important;
}

.handle-selector-popover .ts-wrapper .ts-dropdown .create:hover,
.popover-content .ts-wrapper .ts-dropdown .create:hover {
  background: rgba(99, 102, 241, 0.2) !important;
}

.jltma-control-settings-panel .ts-wrapper.multi .ts-control {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid var(--jltma-border-color) !important;
  color: var(--jltma-text-primary) !important;
  padding: 8px !important;
  border-radius: 4px !important;
  min-height: 50px !important;
  max-height: 180px !important;
  overflow-y: auto !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.jltma-control-settings-panel .ts-wrapper.multi .ts-control:focus,
.jltma-control-settings-panel .ts-wrapper.multi .ts-control.focus {
  border-color: var(--jltma-primary-glow) !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.jltma-control-settings-panel .ts-wrapper.multi .ts-control > input {
  background: transparent !important;
  color: var(--jltma-text-primary) !important;
  border: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  padding: 6px 8px !important;
  font-size: 13px !important;
}

.jltma-control-settings-panel .ts-wrapper.multi .ts-control > input::-webkit-input-placeholder {
  color: var(--jltma-text-secondary) !important;
}

.jltma-control-settings-panel .ts-wrapper.multi .ts-control > input::-moz-placeholder {
  color: var(--jltma-text-secondary) !important;
}

.jltma-control-settings-panel .ts-wrapper.multi .ts-control > input:-ms-input-placeholder {
  color: var(--jltma-text-secondary) !important;
}

.jltma-control-settings-panel .ts-wrapper.multi .ts-control > input::-ms-input-placeholder {
  color: var(--jltma-text-secondary) !important;
}

.jltma-control-settings-panel .ts-wrapper.multi .ts-control > input::placeholder {
  color: var(--jltma-text-secondary) !important;
}

.jltma-control-settings-panel .ts-wrapper.multi .ts-control > div {
  background: var(--jltma-primary-glow) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 3px !important;
  padding: 4px 8px !important;
  margin: 2px !important;
  font-size: 12px !important;
}

.jltma-control-settings-panel .ts-wrapper.multi .ts-control > div .remove {
  color: rgba(255, 255, 255, 0.7) !important;
  border: none !important;
  margin-right: 6px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  padding: 0 4px !important;
}

.jltma-control-settings-panel .ts-wrapper.multi .ts-control > div .remove:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.2) !important;
}

.jltma-control-settings-panel .ts-wrapper .ts-dropdown {
  background: var(--jltma-surface-color) !important;
  border: 1px solid var(--jltma-border-color) !important;
  border-radius: 4px !important;
  margin-top: 4px !important;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  z-index: 99999 !important;
  position: absolute !important;
}

.jltma-control-settings-panel .ts-wrapper .ts-dropdown .ts-dropdown-content {
  max-height: 280px !important;
  overflow-y: auto !important;
}

.jltma-control-settings-panel .ts-wrapper .ts-dropdown .option {
  background: transparent !important;
  color: var(--jltma-text-primary) !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  cursor: pointer !important;
  border: none !important;
}

.jltma-control-settings-panel .ts-wrapper .ts-dropdown .option:hover,
.jltma-control-settings-panel .ts-wrapper .ts-dropdown .option.active {
  background: rgba(99, 102, 241, 0.2) !important;
  color: var(--jltma-primary-glow) !important;
}

.jltma-control-settings-panel .ts-wrapper .ts-dropdown .option.selected {
  background: var(--jltma-primary-glow) !important;
  color: #fff !important;
}

.jltma-control-settings-panel .ts-wrapper .ts-dropdown .option.selected:hover {
  background: var(--jltma-secondary-glow) !important;
}

.jltma_widget_builder_modal * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.jltma_widget_builder_modal {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 999997;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-transition: opacity 0.2s ease, visibility 0.2s ease;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.jltma_widget_builder_modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.jltma_widget_builder_modal.show .jltma-modal-content {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

.jltma_widget_builder_modal.loading .jltma-pop-contents-body::before {
  opacity: 0.5;
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: #fff;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  z-index: 5;
  border-radius: inherit;
}

.jltma_widget_builder_modal.loading .jltma-spinner {
  opacity: 1;
  visibility: visible;
}

.jltma_widget_builder_modal .jltma-spinner {
  position: absolute;
  top: 50%;
  right: 50%;
  -webkit-transform: translate(50%, -50%);
  -ms-transform: translate(50%, -50%);
  transform: translate(50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #2271b1;
  border-radius: 50%;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

@keyframes spin {
  0% {
    -webkit-transform: translate(50%, -50%) rotate(0deg);
    transform: translate(50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(50%, -50%) rotate(-360deg);
    transform: translate(50%, -50%) rotate(-360deg);
  }
}
.jltma_widget_builder_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_widget_builder_modal .jltma-modal-dialog {
  position: relative;
  z-index: 999999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.jltma_widget_builder_modal .jltma-modal-content {
  background: #fff;
  border-radius: 5px;
  -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 900px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  -webkit-transform: translateY(-20px);
  -ms-transform: translateY(-20px);
  transform: translateY(-20px);
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
  z-index: 999999;
}

.jltma_widget_builder_modal .jltma-modal-content-area {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.jltma_widget_builder_modal .jltma-pop-contents-body {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.jltma_widget_builder_modal .jltma-pop-contents-padding {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.jltma_widget_builder_modal form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.jltma_widget_builder_modal .jltma-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.jltma_widget_builder_modal .jltma-col-6 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 15px;
  padding-left: 15px;
}

.jltma_widget_builder_modal .jltma-form-group {
  margin-bottom: 1rem;
}

.jltma_widget_builder_modal .jltma-form-group.mb-2 {
  margin-bottom: 0.5rem;
}

.jltma_widget_builder_modal .jltma-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #495057;
}

.jltma_widget_builder_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;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.jltma_widget_builder_modal .jltma-form-group .jltma-form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.jltma_widget_builder_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: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.jltma_widget_builder_modal .jltma-pop-contents-head .jltma-header-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.jltma_widget_builder_modal .jltma-pop-contents-head .jltma-popup-head-content,
.jltma_widget_builder_modal .jltma-pop-contents-head .jltma-pop-close {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.jltma_widget_builder_modal .jltma-pop-contents-head h3 {
  margin: 0;
  color: #495057;
  font-size: 18px;
  font-weight: 600;
}

.jltma_widget_builder_modal .jltma-popup-head-content h3 {
  margin: 0;
  color: #495057;
  font-size: 18px;
  font-weight: 600;
}

.jltma_widget_builder_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: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.jltma_widget_builder_modal .jltma-pop-close .close-btn:hover {
  background: rgba(73, 80, 87, 0.2);
  color: #495057;
}

.jltma_widget_builder_modal .jltma-tab-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
}

.jltma_widget_builder_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;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.jltma_widget_builder_modal .jltma-tab-nav .jltma-tab-button:hover {
  color: #495057;
  background: rgba(0, 0, 0, 0.05);
}

.jltma_widget_builder_modal .jltma-tab-nav .jltma-tab-button.active {
  color: #2271b1;
  border-bottom-color: #2271b1;
  background: #fff;
}

.jltma_widget_builder_modal .jltma-tab-content {
  display: none;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow-y: auto;
  padding: 30px;
}

.jltma_widget_builder_modal .jltma-tab-content.active {
  display: block;
}

.jltma_widget_builder_modal .jtlma-mega-switcher input[type=checkbox] {
  display: none;
}

.jltma_widget_builder_modal .jtlma-mega-switcher label {
  cursor: pointer;
  text-indent: -9999px;
  width: 65px;
  height: 30px;
  background: #aaa;
  display: block;
  border-radius: 100px;
  position: relative;
}

.jltma_widget_builder_modal .jtlma-mega-switcher label:after {
  content: "";
  position: absolute;
  top: 3px;
  right: 2px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 90px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.jltma_widget_builder_modal .jtlma-mega-switcher input:checked + label {
  background: #2271b1;
}

.jltma_widget_builder_modal .jtlma-mega-switcher input:checked + label:after {
  right: calc(100% - 2px);
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
}

.jltma_widget_builder_modal .jtlma-mega-switcher label:active:after {
  width: 30px;
}

.jltma_widget_builder_modal .jltma-modal-footer {
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  border-radius: 0 0 8px 8px;
  padding: 20px 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  gap: 15px;
  margin-top: auto;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.jltma_widget_builder_modal .jltma-modal-footer .jltma-save-btn {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-size: 300% 100%;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 14px;
  font-weight: 500;
  height: auto;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  line-height: 1.5;
  margin: 0;
  padding: 12px 24px;
  text-align: center;
  text-transform: uppercase;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  width: auto;
}

.jltma_widget_builder_modal .jltma-modal-footer .jltma-save-btn:hover {
  background-position: 0% 0;
}

.jltma_widget_builder_modal .jltma-modal-footer .jltma-save-btn img {
  margin-left: 5px;
}

.jltma_widget_builder_modal .jltma-modal-footer .jltma-save-btn.jltma-btn-editor {
  background-image: -webkit-gradient(linear, right top, left top, from(#343536), color-stop(#4543e3), to(#694bee));
  background-image: linear-gradient(-90deg, #343536, #4543e3, #694bee);
  -webkit-box-shadow: 0 4px 15px 0 rgba(34, 113, 177, 0.4);
  box-shadow: 0 4px 15px 0 rgba(34, 113, 177, 0.4);
}

.jltma_widget_builder_modal .jltma-modal-footer .jltma-save-btn.jltma-popup-save,
.jltma_widget_builder_modal .jltma-modal-footer .jltma-save-btn.jltma-hf-save {
  background-image: -webkit-gradient(linear, right top, left top, from(#9929ea), color-stop(#5808fb), color-stop(#e14e53), to(#e2373f));
  background-image: linear-gradient(-90deg, #9929ea, #5808fb, #e14e53, #e2373f);
  -webkit-box-shadow: 0 5px 15px rgba(242, 97, 103, 0.4);
  box-shadow: 0 5px 15px rgba(242, 97, 103, 0.4);
}

.jltma_widget_builder_modal .jltma-modal-footer .jltma-save-btn.jltma-color-two {
  background-image: -webkit-gradient(linear, right top, left top, from(#9929ea), color-stop(#5808fb), color-stop(#e14e53), to(#e2373f));
  background-image: linear-gradient(-90deg, #9929ea, #5808fb, #e14e53, #e2373f);
  -webkit-box-shadow: 0 5px 15px rgba(242, 97, 103, 0.4);
  box-shadow: 0 5px 15px rgba(242, 97, 103, 0.4);
  color: #fff;
}

.jltma_widget_builder_modal .jltma-modal-footer .jltma-save-btn.jltma-color-two:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .jltma_widget_builder_modal .jltma-modal-dialog {
    min-width: auto;
    max-width: 100%;
  }
  .jltma_widget_builder_modal .jltma-row .jltma-col-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .jltma_widget_builder_modal .jltma-modal-footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .jltma_widget_builder_modal .jltma-modal-footer .jltma-save-btn {
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}
.jltma_widget_builder_modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.jltma_widget_builder_modal.active .jltma-modal-content {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

#jltma_category_modal * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#jltma_category_modal {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 999997;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-transition: opacity 0.2s ease, visibility 0.2s ease;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

#jltma_category_modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#jltma_category_modal.show .jltma-modal-content {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

#jltma_category_modal.loading .jltma-pop-contents-body::before {
  opacity: 0.5;
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: #fff;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  z-index: 5;
  border-radius: inherit;
}

#jltma_category_modal.loading .jltma-spinner {
  opacity: 1;
  visibility: visible;
}

#jltma_category_modal .jltma-spinner {
  position: absolute;
  top: 50%;
  right: 50%;
  -webkit-transform: translate(50%, -50%);
  -ms-transform: translate(50%, -50%);
  transform: translate(50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #2271b1;
  border-radius: 50%;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

@keyframes spin {
  0% {
    -webkit-transform: translate(50%, -50%) rotate(0deg);
    transform: translate(50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(50%, -50%) rotate(-360deg);
    transform: translate(50%, -50%) rotate(-360deg);
  }
}
#jltma_category_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_category_modal .jltma-modal-dialog {
  position: relative;
  z-index: 999999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

#jltma_category_modal .jltma-modal-content {
  background: #fff;
  border-radius: 5px;
  -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 900px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  -webkit-transform: translateY(-20px);
  -ms-transform: translateY(-20px);
  transform: translateY(-20px);
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
  z-index: 999999;
}

#jltma_category_modal .jltma-modal-content-area {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

#jltma_category_modal .jltma-pop-contents-body {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

#jltma_category_modal .jltma-pop-contents-padding {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

#jltma_category_modal form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

#jltma_category_modal .jltma-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

#jltma_category_modal .jltma-col-6 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 15px;
  padding-left: 15px;
}

#jltma_category_modal .jltma-form-group {
  margin-bottom: 1rem;
}

#jltma_category_modal .jltma-form-group.mb-2 {
  margin-bottom: 0.5rem;
}

#jltma_category_modal .jltma-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #495057;
}

#jltma_category_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;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

#jltma_category_modal .jltma-form-group .jltma-form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#jltma_category_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: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

#jltma_category_modal .jltma-pop-contents-head .jltma-header-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#jltma_category_modal .jltma-pop-contents-head .jltma-popup-head-content,
#jltma_category_modal .jltma-pop-contents-head .jltma-pop-close {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#jltma_category_modal .jltma-pop-contents-head h3 {
  margin: 0;
  color: #495057;
  font-size: 18px;
  font-weight: 600;
}

#jltma_category_modal .jltma-popup-head-content h3 {
  margin: 0;
  color: #495057;
  font-size: 18px;
  font-weight: 600;
}

#jltma_category_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: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#jltma_category_modal .jltma-pop-close .close-btn:hover {
  background: rgba(73, 80, 87, 0.2);
  color: #495057;
}

#jltma_category_modal .jltma-tab-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
}

#jltma_category_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;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#jltma_category_modal .jltma-tab-nav .jltma-tab-button:hover {
  color: #495057;
  background: rgba(0, 0, 0, 0.05);
}

#jltma_category_modal .jltma-tab-nav .jltma-tab-button.active {
  color: #2271b1;
  border-bottom-color: #2271b1;
  background: #fff;
}

#jltma_category_modal .jltma-tab-content {
  display: none;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow-y: auto;
  padding: 30px;
}

#jltma_category_modal .jltma-tab-content.active {
  display: block;
}

#jltma_category_modal .jtlma-mega-switcher input[type=checkbox] {
  display: none;
}

#jltma_category_modal .jtlma-mega-switcher label {
  cursor: pointer;
  text-indent: -9999px;
  width: 65px;
  height: 30px;
  background: #aaa;
  display: block;
  border-radius: 100px;
  position: relative;
}

#jltma_category_modal .jtlma-mega-switcher label:after {
  content: "";
  position: absolute;
  top: 3px;
  right: 2px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 90px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#jltma_category_modal .jtlma-mega-switcher input:checked + label {
  background: #2271b1;
}

#jltma_category_modal .jtlma-mega-switcher input:checked + label:after {
  right: calc(100% - 2px);
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
}

#jltma_category_modal .jtlma-mega-switcher label:active:after {
  width: 30px;
}

#jltma_category_modal .jltma-modal-footer {
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  border-radius: 0 0 8px 8px;
  padding: 20px 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  gap: 15px;
  margin-top: auto;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

#jltma_category_modal .jltma-modal-footer .jltma-save-btn {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-size: 300% 100%;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 14px;
  font-weight: 500;
  height: auto;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  line-height: 1.5;
  margin: 0;
  padding: 12px 24px;
  text-align: center;
  text-transform: uppercase;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  width: auto;
}

#jltma_category_modal .jltma-modal-footer .jltma-save-btn:hover {
  background-position: 0% 0;
}

#jltma_category_modal .jltma-modal-footer .jltma-save-btn img {
  margin-left: 5px;
}

#jltma_category_modal .jltma-modal-footer .jltma-save-btn.jltma-btn-editor {
  background-image: -webkit-gradient(linear, right top, left top, from(#343536), color-stop(#4543e3), to(#694bee));
  background-image: linear-gradient(-90deg, #343536, #4543e3, #694bee);
  -webkit-box-shadow: 0 4px 15px 0 rgba(34, 113, 177, 0.4);
  box-shadow: 0 4px 15px 0 rgba(34, 113, 177, 0.4);
}

#jltma_category_modal .jltma-modal-footer .jltma-save-btn.jltma-popup-save,
#jltma_category_modal .jltma-modal-footer .jltma-save-btn.jltma-hf-save {
  background-image: -webkit-gradient(linear, right top, left top, from(#9929ea), color-stop(#5808fb), color-stop(#e14e53), to(#e2373f));
  background-image: linear-gradient(-90deg, #9929ea, #5808fb, #e14e53, #e2373f);
  -webkit-box-shadow: 0 5px 15px rgba(242, 97, 103, 0.4);
  box-shadow: 0 5px 15px rgba(242, 97, 103, 0.4);
}

#jltma_category_modal .jltma-modal-footer .jltma-save-btn.jltma-color-two {
  background-image: -webkit-gradient(linear, right top, left top, from(#9929ea), color-stop(#5808fb), color-stop(#e14e53), to(#e2373f));
  background-image: linear-gradient(-90deg, #9929ea, #5808fb, #e14e53, #e2373f);
  -webkit-box-shadow: 0 5px 15px rgba(242, 97, 103, 0.4);
  box-shadow: 0 5px 15px rgba(242, 97, 103, 0.4);
  color: #fff;
}

#jltma_category_modal .jltma-modal-footer .jltma-save-btn.jltma-color-two:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  #jltma_category_modal .jltma-modal-dialog {
    min-width: auto;
    max-width: 100%;
  }
  #jltma_category_modal .jltma-row .jltma-col-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  #jltma_category_modal .jltma-modal-footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #jltma_category_modal .jltma-modal-footer .jltma-save-btn {
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}
#jltma_category_modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#jltma_category_modal.active .jltma-modal-content {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

.jltma-widget-admin .jltma-widget-category {
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  background: #dcdcde;
  color: #50575e;
}

.jltma-widget-admin .jltma-widget-edit-category {
  color: #2271b1;
  text-decoration: none;
  font-size: 12px;
}

.jltma-widget-admin .jltma-widget-edit-category:hover {
  color: #135e96;
}

.jltma-widget-admin .jltma-copy-shortcode {
  color: #2271b1;
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
}

.jltma-widget-admin .jltma-copy-shortcode:hover {
  color: #135e96;
}

.jltma-widget-admin .jltma-shortcode-display {
  background: #f0f0f1;
  padding: 2px 4px;
  border-radius: 2px;
  font-size: 11px;
}

.jltma-modal .form-table {
  width: 100%;
}

.jltma-modal .form-table th {
  width: 200px;
  padding: 15px 0 15px 10px;
  text-align: right;
  vertical-align: top;
}

.jltma-modal .form-table th label {
  font-weight: 600;
  color: #495057;
}

.jltma-modal .form-table th label .required {
  color: #dc3232;
  font-weight: bold;
}

.jltma-modal .form-table td {
  padding: 15px 10px;
}

.jltma-modal .form-table td .regular-text {
  width: 100%;
  max-width: 400px;
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
}

.jltma-modal .form-table td .regular-text:focus {
  border-color: #2271b1;
  outline: none;
  -webkit-box-shadow: 0 0 0 1px #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}

.jltma-modal .form-table td select.regular-text {
  height: 38px;
}

.jltma-modal .form-table td .description {
  margin-top: 8px;
  font-size: 13px;
  color: #6c757d;
}

.jltma-modal .form-table td .description a {
  color: #2271b1;
  text-decoration: none;
}

.jltma-modal .form-table td .description a:hover {
  text-decoration: underline;
}

.jltma-modal .jltma-pop-contents-foot {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #dcdcde;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  gap: 10px;
}

.jltma-modal .jltma-pop-contents-foot .button {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid #dcdcde;
  background: #f6f7f7;
}

.jltma-modal .jltma-pop-contents-foot .button:hover {
  background: #e9ecef;
}

.jltma-modal .jltma-pop-contents-foot .button.button-primary {
  background: #2271b1;
  border-color: #2271b1;
  color: #fff;
}

.jltma-modal .jltma-pop-contents-foot .button.button-primary:hover {
  background: #135e96;
  border-color: #135e96;
}

.jltma-control-settings-panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: var(--jltma-bg-color);
}

.jltma-control-settings-panel .control-settings-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  background: var(--jltma-surface-color);
  border-bottom: 1px solid var(--jltma-border-color);
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.jltma-control-settings-panel .control-settings-header .back-to-controls-btn,
.jltma-control-settings-panel .control-settings-header .show-controls-grid-btn {
  background: transparent;
  border: none;
  color: var(--jltma-text-secondary);
  cursor: pointer;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: color 0.15s ease;
  transition: color 0.15s ease;
  font-size: 18px;
  line-height: 1;
}

.jltma-control-settings-panel .control-settings-header .back-to-controls-btn:hover,
.jltma-control-settings-panel .control-settings-header .show-controls-grid-btn:hover {
  color: var(--jltma-primary-glow);
}

.jltma-control-settings-panel .control-settings-header .back-to-controls-btn .eicon,
.jltma-control-settings-panel .control-settings-header .show-controls-grid-btn .eicon {
  font-size: 18px;
}

.jltma-control-settings-panel .control-settings-header h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--jltma-text-primary);
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.jltma-control-settings-panel .control-settings-body {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 0;
  overflow-y: auto;
  background: var(--jltma-bg-color);
}

.jltma-control-settings-panel .control-settings-body .control-settings-divider {
  height: 1px;
  background: var(--jltma-border-color);
  margin: 15px 0;
}

.jltma-control-settings-panel .control-settings-body .control-settings-section-title {
  padding: 15px 20px;
  background: var(--jltma-surface-color);
  border-bottom: 1px solid var(--jltma-border-color);
}

.jltma-control-settings-panel .control-settings-body .control-settings-section-title h4 {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--jltma-text-primary);
}

.jltma-control-settings-panel .control-settings-body .control-setting-field {
  padding: 15px 20px;
  background: var(--jltma-surface-color);
  border-bottom: 1px solid var(--jltma-border-color);
}

.jltma-control-settings-panel .control-settings-body .control-setting-field.no-border-bottom {
  border-bottom: none;
}

.jltma-control-settings-panel .control-settings-body .control-setting-field.inline-field {
  display: grid;
  grid-template-columns: 90px 1fr;
  grid-template-rows: auto auto;
  -webkit-column-gap: 15px;
  -moz-column-gap: 15px;
  column-gap: 15px;
  row-gap: 6px;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  padding-top: 20px;
}

.jltma-control-settings-panel .control-settings-body .control-setting-field.inline-field > label {
  margin-bottom: 0;
  padding-top: 8px;
  grid-column: 1;
  grid-row: 1;
}

.jltma-control-settings-panel .control-settings-body .control-setting-field.inline-field .field-content {
  grid-column: 2;
  grid-row: 1;
}

.jltma-control-settings-panel .control-settings-body .control-setting-field.inline-field .field-content input,
.jltma-control-settings-panel .control-settings-body .control-setting-field.inline-field .field-content textarea,
.jltma-control-settings-panel .control-settings-body .control-setting-field.inline-field .field-content select {
  width: 100%;
}

.jltma-control-settings-panel .control-settings-body .control-setting-field.inline-field .field-description {
  grid-column: 1/-1;
  grid-row: 2;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 12px;
  font-style: italic;
  color: var(--jltma-text-secondary);
  line-height: 1.5;
}

.jltma-control-settings-panel .control-settings-body .control-setting-field label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0;
  color: var(--jltma-text-primary);
  line-height: 1.4;
}

.jltma-control-settings-panel .control-settings-body .control-setting-field label.checkbox-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-transform: none;
}

.jltma-control-settings-panel .control-settings-body .control-setting-field label.checkbox-label input[type=checkbox] {
  width: auto;
  margin: 0;
  cursor: pointer;
}

.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=text],
.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=number],
.jltma-control-settings-panel .control-settings-body .control-setting-field select,
.jltma-control-settings-panel .control-settings-body .control-setting-field textarea {
  width: 100%;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--jltma-border-color);
  border-radius: 3px;
  color: var(--jltma-text-primary);
  font-size: 13px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-transition: all 0.15s ease;
  transition: all 0.15s ease;
  line-height: 1.4;
}

.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=text]:hover,
.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=number]:hover,
.jltma-control-settings-panel .control-settings-body .control-setting-field select:hover,
.jltma-control-settings-panel .control-settings-body .control-setting-field textarea:hover {
  border-color: var(--jltma-secondary-glow);
}

.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=text]:focus,
.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=number]:focus,
.jltma-control-settings-panel .control-settings-body .control-setting-field select:focus,
.jltma-control-settings-panel .control-settings-body .control-setting-field textarea:focus {
  outline: none;
  border-color: var(--jltma-primary-glow);
  background: rgba(0, 0, 0, 0.3);
}

.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=text]::-webkit-input-placeholder,
.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=number]::-webkit-input-placeholder,
.jltma-control-settings-panel .control-settings-body .control-setting-field select::-webkit-input-placeholder,
.jltma-control-settings-panel .control-settings-body .control-setting-field textarea::-webkit-input-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=text]::-moz-placeholder,
.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=number]::-moz-placeholder,
.jltma-control-settings-panel .control-settings-body .control-setting-field select::-moz-placeholder,
.jltma-control-settings-panel .control-settings-body .control-setting-field textarea::-moz-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=text]:-ms-input-placeholder,
.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=number]:-ms-input-placeholder,
.jltma-control-settings-panel .control-settings-body .control-setting-field select:-ms-input-placeholder,
.jltma-control-settings-panel .control-settings-body .control-setting-field textarea:-ms-input-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=text]::-ms-input-placeholder,
.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=number]::-ms-input-placeholder,
.jltma-control-settings-panel .control-settings-body .control-setting-field select::-ms-input-placeholder,
.jltma-control-settings-panel .control-settings-body .control-setting-field textarea::-ms-input-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=text]::placeholder,
.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=number]::placeholder,
.jltma-control-settings-panel .control-settings-body .control-setting-field select::placeholder,
.jltma-control-settings-panel .control-settings-body .control-setting-field textarea::placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=text]:disabled,
.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=text][readonly],
.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=number]:disabled,
.jltma-control-settings-panel .control-settings-body .control-setting-field input[type=number][readonly],
.jltma-control-settings-panel .control-settings-body .control-setting-field select:disabled,
.jltma-control-settings-panel .control-settings-body .control-setting-field select[readonly],
.jltma-control-settings-panel .control-settings-body .control-setting-field textarea:disabled,
.jltma-control-settings-panel .control-settings-body .control-setting-field textarea[readonly] {
  background: rgba(0, 0, 0, 0.1);
  color: var(--jltma-text-secondary);
  cursor: not-allowed;
}

.jltma-control-settings-panel .control-settings-body .control-setting-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 1L5 5L9 1' stroke='%23A4AFB7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 12px center;
  padding-left: 32px;
}

.jltma-control-settings-panel .control-settings-body .control-setting-field textarea {
  min-height: 80px;
  resize: vertical;
  font-family: Monaco, Menlo, "Ubuntu Mono", Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
}

.jltma-control-settings-panel .control-settings-body .control-setting-field .field-description {
  margin-top: 8px;
  font-size: 12px;
  font-style: italic;
  color: var(--jltma-text-secondary);
  line-height: 1.5;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 55px;
  height: 26px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch input:checked + .toggle-slider {
  background: #f3bafd;
}

.toggle-switch input:checked + .toggle-slider:before {
  -webkit-transform: translateX(-29px);
  -ms-transform: translateX(-29px);
  transform: translateX(-29px);
}

.toggle-switch input:checked + .toggle-slider:after {
  content: "Yes";
  right: 8px;
  opacity: 1;
}

.toggle-switch input:checked + .toggle-slider .toggle-text-no {
  opacity: 0;
}

.toggle-switch input:focus + .toggle-slider {
  -webkit-box-shadow: 0 0 1px rgba(103, 97, 226, 0.5);
  box-shadow: 0 0 1px rgba(103, 97, 226, 0.5);
}

.toggle-switch .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #d5d8dc;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
  border-radius: 13px;
  overflow: hidden;
}

.toggle-switch .toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  right: 3px;
  top: 3px;
  background: white;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
  border-radius: 50%;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.toggle-switch .toggle-slider:after {
  content: "No";
  position: absolute;
  right: auto;
  left: 8px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 9px;
  font-weight: 600;
  color: #0c0d0e;
  opacity: 1;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.toggle-switch .toggle-slider .toggle-text-no {
  position: absolute;
  left: 8px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 9px;
  font-weight: 600;
  color: #6d7882;
  opacity: 1;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.jltma-control-settings-panel .icon-field-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.jltma-control-settings-panel .icon-field-wrapper .icon-preview {
  width: 50px;
  height: 50px;
  background: var(--jltma-background-start);
  border: 1px solid var(--jltma-border-color);
  border-radius: 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.jltma-control-settings-panel .icon-field-wrapper .icon-preview span,
.jltma-control-settings-panel .icon-field-wrapper .icon-preview .eicon {
  font-size: 24px;
  color: var(--jltma-text-primary);
}

.jltma-control-settings-panel .icon-field-wrapper .change-icon-btn {
  padding: 8px 16px;
  background: var(--jltma-primary-glow);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.jltma-control-settings-panel .icon-field-wrapper .change-icon-btn:hover {
  background: var(--jltma-secondary-glow);
}

.jltma-control-settings-panel .new-category-field {
  margin-top: 8px;
}

.jltma-control-settings-panel .new-category-field input[type=text] {
  width: 100%;
  padding: 10px 12px;
  background: var(--jltma-background-start);
  border: 1px solid var(--jltma-border-color);
  border-radius: 4px;
  font-size: 13px;
  color: var(--jltma-text-primary);
  margin-bottom: 12px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.jltma-control-settings-panel .new-category-field input[type=text]:focus {
  outline: none;
  border-color: var(--jltma-primary-glow);
  -webkit-box-shadow: 0 0 0 3px rgba(92, 109, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(92, 109, 255, 0.1);
}

.jltma-control-settings-panel .new-category-field input[type=text]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.jltma-control-settings-panel .new-category-field input[type=text]::-webkit-input-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-control-settings-panel .new-category-field input[type=text]::-moz-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-control-settings-panel .new-category-field input[type=text]:-ms-input-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-control-settings-panel .new-category-field input[type=text]::-ms-input-placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-control-settings-panel .new-category-field input[type=text]::placeholder {
  color: var(--jltma-text-secondary);
}

.jltma-control-settings-panel .new-category-field .new-category-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}

.jltma-control-settings-panel .new-category-field .new-category-actions .jltma-add-category-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--jltma-primary-glow);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.jltma-control-settings-panel .new-category-field .new-category-actions .jltma-add-category-btn .eicon {
  font-size: 16px;
}

.jltma-control-settings-panel .new-category-field .new-category-actions .jltma-add-category-btn:hover:not(:disabled) {
  background: var(--jltma-secondary-glow);
  -webkit-transform: translateY(-1px);
  -ms-transform: translateY(-1px);
  transform: translateY(-1px);
  -webkit-box-shadow: 0 4px 12px rgba(92, 109, 255, 0.3);
  box-shadow: 0 4px 12px rgba(92, 109, 255, 0.3);
}

.jltma-control-settings-panel .new-category-field .new-category-actions .jltma-add-category-btn:active:not(:disabled) {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

.jltma-control-settings-panel .new-category-field .new-category-actions .jltma-add-category-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.jltma-control-settings-panel .new-category-field .new-category-actions .jltma-cancel-btn {
  padding: 10px 20px;
  background: transparent;
  color: #dc3545;
  border: 1px solid #dc3545;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.jltma-control-settings-panel .new-category-field .new-category-actions .jltma-cancel-btn:hover:not(:disabled) {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

.jltma-control-settings-panel .new-category-field .new-category-actions .jltma-cancel-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.aim-close {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.aim-open {
  opacity: 1;
  visibility: visible;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.aim-modal {
  position: fixed;
  height: 100%;
  width: 100%;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.aim-modal .aim-modal--content {
  background-color: #f1f3f5;
  position: relative;
  border-radius: 3px;
  -webkit-box-shadow: -2px 8px 23px 3px rgba(0, 0, 0, 0.2);
  box-shadow: -2px 8px 23px 3px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  max-width: 950px;
  width: 100%;
  margin: auto;
  top: 0;
  right: 0;
  left: 0;
  height: 70vh;
  padding-bottom: 60px;
}

.aim-modal .aim-modal--header {
  padding: 15px 15px;
  background-color: #fff;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: #495157;
  font-weight: 500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.aim-modal .aim-modal--header .aim-modal--header-logo-title {
  font-weight: 700;
  position: relative;
  text-transform: uppercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.aim-modal .aim-modal--header .aim-modal--header-logo-title .eicon {
  font-size: 18px;
}

.aim-modal .aim-modal--header .aim-modal--header-close-btn {
  cursor: pointer;
}

.aim-modal .aim-modal--header .aim-modal--header-close-btn .dashicons {
  color: #ed2e7e;
  font-size: 22px;
  vertical-align: top;
}

.aim-modal .aim-modal--body {
  background-color: #fff;
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  min-height: 50px;
  overflow: auto;
}

.aim-modal .aim-modal--body .aim-modal--sidebar {
  background-color: #fff;
  height: calc(100% - 40px);
  -webkit-box-flex: 0;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
  position: relative;
}

.aim-modal .aim-modal--footer {
  background-color: #fff;
  border-top: 1px solid #e6e9ec;
  padding: 8px 15px;
  bottom: 0;
  position: absolute;
  text-align: left;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.aim-modal .aim-modal--footer button.aim-insert-icon-button {
  background-color: var(--jltma-primary-glow);
  border: 1px solid var(--jltma-primary-glow);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  letter-spacing: 0.5px;
  line-height: 33px;
  padding: 0 16px;
  text-transform: uppercase;
}

.aim-modal .aim-modal--footer button.aim-insert-icon-button:hover {
  background-color: #fff;
  color: var(--jltma-primary-glow);
}

.aim-modal--sidebar-tabs {
  height: 100%;
  overflow-y: scroll;
  padding-bottom: 20px;
  position: absolute;
  width: 100%;
}

.aim-modal--sidebar-tab-item {
  background-color: #fff;
  border-bottom: 1px solid #f1f1f3;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #14142b;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  padding: 13px 20px;
  position: relative;
  text-transform: capitalize;
}

.aim-modal--sidebar-tab-item i {
  color: #14142b;
  font-size: 16px;
  height: 20px;
  width: 20px;
  margin-left: 10px;
  vertical-align: middle;
}

.aim-modal--sidebar-tab-item:hover,
.aim-modal--sidebar-tab-item:hover i,
.aim-modal--sidebar-tab-item.aesthetic-active,
.aim-modal--sidebar-tab-item.aesthetic-active i {
  color: var(--jltma-primary-glow);
}

.aim-modal--sidebar-tab-item:after {
  content: "";
  position: absolute;
  height: 100%;
  width: 4px;
  top: 0;
  right: 0;
  background-color: transparent;
}

.aim-modal--sidebar-tab-item.aesthetic-active:after,
.aim-modal--sidebar-tab-item:hover:after {
  background-color: var(--jltma-primary-glow);
}

.aim-modal--icon-preview-wrap {
  background-color: #f5f5f5;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
  max-width: 75%;
  height: 100%;
  padding: 30px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.aim-modal--icon-preview-inner {
  display: inline-block;
  height: calc(100% - 60px);
  overflow: auto;
  margin: 10px -15px 0;
  padding: 0 15px 15px;
}

#aim-modal--icon-preview {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 20px;
  margin: 20px 0;
}

.aim-modal--icon-search {
  position: relative;
}

.aim-modal--icon-search input {
  background-color: #fff;
  border: 1px solid #d8d8d8;
  width: 100%;
  padding: 6px 10px;
}

.aim-modal--icon-search input::-webkit-input-placeholder {
  font-style: italic;
}

.aim-modal--icon-search input::-moz-placeholder {
  font-style: italic;
}

.aim-modal--icon-search input:-ms-input-placeholder {
  font-style: italic;
}

.aim-modal--icon-search input::-ms-input-placeholder {
  font-style: italic;
}

.aim-modal--icon-search input::placeholder {
  font-style: italic;
}

.aim-modal--icon-search i {
  color: var(--jltma-primary-glow);
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 15px;
}

.aim-icon-item {
  position: relative;
  padding: 10px;
  background-color: #fff;
  -webkit-box-shadow: 0 1px 12px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  overflow: hidden;
}

.aim-icon-item:hover {
  -webkit-box-shadow: 0 1px 14px rgba(0, 0, 0, 0.16);
  box-shadow: 0 1px 14px rgba(0, 0, 0, 0.16);
}

.aim-icon-item.aesthetic-selected {
  -webkit-box-shadow: 0 1px 12px rgba(0, 0, 0, 0.05), 0 0 0 3px var(--jltma-primary-glow);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.05), 0 0 0 3px var(--jltma-primary-glow);
}

.aim-icon-item-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 1px;
}

.aim-icon-item-inner i {
  font-size: 25px;
  color: rgba(78, 75, 102, 0.72);
}

.aim-icon-item-name {
  color: rgba(78, 75, 102, 0.72);
  font-size: 10px;
  padding: 13px 0px 0;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-transform: capitalize;
}

.aim-icon-item:hover .aim-icon-item-inner i,
.aim-icon-item:hover .aim-icon-item-name {
  color: var(--jltma-primary-glow);
}

.dimension-button:hover {
  background: #8995a1 !important;
  border-color: #b5b8bd !important;
}

.dimension-button:active {
  background: #6d7c8c !important;
}

.dimension-button::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  right: 50%;
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  transform: translateX(50%);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

.dimension-button::after {
  content: "";
  position: absolute;
  bottom: calc(100% + 2px);
  right: 50%;
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  transform: translateX(50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

.dimension-button:hover::before,
.dimension-button:hover::after {
  opacity: 1;
}

.jltma-dimensions-control input:focus {
  outline: none;
  border-color: #71d7f7;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.jltma-dimensions-control input:hover:not(:disabled) {
  border-color: #71d7f7;
}

.jltma-dimensions-control button:hover:not(:disabled) {
  background: #5b7889 !important;
}

.jltma-dimensions-control button:active:not(:disabled) {
  background: #495157 !important;
}

.jltma-dimensions-control label {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.jltma-toaster-container {
  position: fixed;
  bottom: 30px;
  right: 50%;
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  transform: translateX(50%);
  z-index: 1000000;
  pointer-events: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.jltma-toaster {
  background: linear-gradient(-135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  -webkit-box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
  font-size: 14px;
  font-weight: 500;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
  pointer-events: auto;
  -webkit-animation: jltma-toaster-slide-up 0.3s ease-out;
  animation: jltma-toaster-slide-up 0.3s ease-out;
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.jltma-toaster::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(-135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  pointer-events: none;
}

.jltma-toaster.success {
  background: linear-gradient(-135deg, #00b09b 0%, #96c93d 100%);
  -webkit-box-shadow: 0 10px 40px rgba(0, 176, 155, 0.4);
  box-shadow: 0 10px 40px rgba(0, 176, 155, 0.4);
}

.jltma-toaster.error {
  background: linear-gradient(-135deg, #f85032 0%, #e73827 100%);
  -webkit-box-shadow: 0 10px 40px rgba(248, 80, 50, 0.4);
  box-shadow: 0 10px 40px rgba(248, 80, 50, 0.4);
}

.jltma-toaster.warning {
  background: linear-gradient(-135deg, #f7971e 0%, #ffd200 100%);
  -webkit-box-shadow: 0 10px 40px rgba(247, 151, 30, 0.4);
  box-shadow: 0 10px 40px rgba(247, 151, 30, 0.4);
}

.jltma-toaster.info {
  background: linear-gradient(-135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-box-shadow: 0 10px 40px rgba(79, 172, 254, 0.4);
  box-shadow: 0 10px 40px rgba(79, 172, 254, 0.4);
}

.jltma-toaster.jltma-toaster-exit {
  -webkit-animation: jltma-toaster-slide-down 0.3s ease-out;
  animation: jltma-toaster-slide-down 0.3s ease-out;
  opacity: 0;
}

.jltma-toaster .jltma-toaster-icon {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.jltma-toaster .jltma-toaster-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.jltma-toaster .jltma-toaster-icon.success-icon::before {
  content: "✓";
  font-size: 18px;
  font-weight: bold;
}

.jltma-toaster .jltma-toaster-icon.error-icon::before {
  content: "✕";
  font-size: 20px;
  font-weight: bold;
}

.jltma-toaster .jltma-toaster-icon.warning-icon::before {
  content: "!";
  font-size: 20px;
  font-weight: bold;
}

.jltma-toaster .jltma-toaster-icon.info-icon::before {
  content: "i";
  font-size: 18px;
  font-weight: bold;
  font-style: italic;
}

.jltma-toaster .jltma-toaster-content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  position: relative;
  z-index: 1;
}

.jltma-toaster .jltma-toaster-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: currentColor;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.jltma-toaster .jltma-toaster-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.jltma-toaster .jltma-toaster-close::before {
  content: "✕";
  font-size: 12px;
  line-height: 1;
}

.jltma-toaster .jltma-toaster-progress {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-animation: jltma-toaster-progress 3s linear;
  animation: jltma-toaster-progress 3s linear;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@-webkit-keyframes jltma-toaster-slide-up {
  from {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes jltma-toaster-slide-up {
  from {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@-webkit-keyframes jltma-toaster-slide-down {
  from {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  to {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
  }
}
@keyframes jltma-toaster-slide-down {
  from {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  to {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
  }
}
@-webkit-keyframes jltma-toaster-progress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}
@keyframes jltma-toaster-progress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}
/* Thin, smooth scrollbars across the whole widget builder UI */
.jltma-widget-builder,
.jltma-widget-builder * {
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, 0.55) transparent;
  scroll-behavior: smooth;
}

.jltma-widget-builder *::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.jltma-widget-builder *::-webkit-scrollbar-track {
  background: transparent;
}

.jltma-widget-builder *::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.5);
  border-radius: 10px;
}

.jltma-widget-builder *::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.8);
}

.jltma-widget-builder *::-webkit-scrollbar-corner {
  background: transparent;
}