.sifency-get-template-trigger {
  background-color: #2c3e50;
  color: #fff;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  margin-left: 5px;
  font-size: 18px;
  transition: 0.3s;
}

img.sifency-icon-img {
  width: 40px;
  height: auto;
  display: block;
  object-fit: contain;
}

.sifency-get-template-trigger:hover .sifency-icon-img {
  transform: scale(1.1);
  transition: transform 0.3s;
}
/* --- MODAL WRAPPER --- */
#sifency-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sifency-modal-wrap {
  background: #fff;
  width: 90%;
  height: 85%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  overflow: hidden;
}
.sifency-get-template-header {
  height: 60px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: #fff;
}
.sifency-logo-area {
  font-weight: 700;
  font-size: 18px;
  color: #007bff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sifency-get-template-header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.sifency-search,
.sifency-search input {
  position: relative;
  background: #fff;
  color: #222;
}
.sifency-search i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.sifency-search input {
  padding-left: 30px;
  border: 1px solid #ddd;
  border-radius: 4px;
  height: 35px;
  width: 250px;
}
.sifency-btn-upload {
  background: #eee;
  padding: 8px 15px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  color: #000;
}
.sifency-close {
  cursor: pointer;
  font-size: 20px;
  color: #888;
}
.sifency-close:hover {
  color: #e74c3c;
}
.sifency-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.sifency-sidebar {
  width: 250px;
  background: #f7f7f7;
  border-right: 1px solid #eee;
  padding: 20px;
  overflow-y: auto;
}
.sifency-nav-types {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 30px;
}
.sifency-tab {
  background: none;
  border: none;
  text-align: left;
  padding: 10px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 500;
  color: #000;
}
.sifency-tab.active {
  background: #fff;
  color: #007bff;
}
.sifency-filter-label {
  font-size: 12px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
  font-weight: 600;
}
.elementor-add-section-area-button.sifency-get-template-trigger {
  padding: 0px;
}
.sifency-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sifency-categories li {
  padding: 8px 10px;
  cursor: pointer;
  border-radius: 4px;
  color: #555;
  font-size: 14px;
}
.sifency-categories li:hover,
.sifency-categories li.active {
  background: #e6e6e6;
  color: #000;
}
.sifency-content {
  flex: 1;
  background: #f0f0f0;
  padding: 30px;
  overflow-y: auto;
}
.sifency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.sifency-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.2s;
  position: relative;
}

.sifency-card-img {
  height: 150px;
  background: #ddd;
  position: relative;
  overflow: hidden;
}
.sifency-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sifency-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.2s;
}
.sifency-card:hover .sifency-overlay {
  opacity: 1;
}

.btn-import {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
}
.badge-pro {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #222;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: bold;
}
.sifency-card-footer {
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: #000;
}
.eicon-heart {
  cursor: pointer;
  color: #ccc;
  transition: 0.2s;
}
.eicon-heart:hover,
.eicon-heart.active {
  color: #e74c3c;
}
.badge-pro {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffc107;
  color: #333;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 3px;
  font-weight: 800;
}
.btn-locked {
  background: #333;
  color: #aaa;
  border: 1px solid #555;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: not-allowed;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.btn-locked:hover {
  background: #000;
  color: #fff;
}
/* 1. Category Panel Background */
/* body.elementor-panel-loading #elementor-panel-state-loading{
    display: none !important;
} */
div:is(
  #elementor-panel-category-sifency-addons-widgets,
  #elementor-panel-category-sifency-business-widgets,
  #elementor-panel-category-sifency-typography-widgets,
  #elementor-panel-category-sifency-advance-widgets,
  #elementor-panel-category-sifency-creative-widgets,
  #elementor-panel-category-sifency-post-components,
  #elementor-panel-category-sifency-addons-woo-widgets,
  #elementor-panel-category-member-post-components,
  #elementor-panel-category-sifency-event-components,
  #elementor-panel-category-sifency-career-components,
  #elementor-panel-category-sifency-portfolio-components,
  #elementor-panel-category-sifency-document-components,
  #elementor-panel-category-sifency-service-components,
  #elementor-panel-category-sifency-digital-components,
  #elementor-panel-category-sifency-edd-components,
  #elementor-panel-category-sifency-doc-components
) {
  background: linear-gradient(180deg, #0f111a, #14162a);
}

/* 2. Base Element Style */
div:is(
    #elementor-panel-category-sifency-addons-widgets,
    #elementor-panel-category-sifency-business-widgets,
    #elementor-panel-category-sifency-typography-widgets,
    #elementor-panel-category-sifency-advance-widgets,
    #elementor-panel-category-sifency-creative-widgets,
    #elementor-panel-category-sifency-post-components,
    #elementor-panel-category-sifency-addons-woo-widgets,
    #elementor-panel-category-member-post-components,
    #elementor-panel-category-sifency-event-components,
    #elementor-panel-category-sifency-career-components,
    #elementor-panel-category-sifency-portfolio-components,
    #elementor-panel-category-sifency-document-components,
    #elementor-panel-category-sifency-service-components,
    #elementor-panel-category-sifency-digital-components,
    #elementor-panel-category-sifency-edd-components,
    #elementor-panel-category-sifency-doc-components
  )
  .elementor-panel-category-items
  .elementor-element-wrapper
  .elementor-element {
  background: rgba(25, 25, 35, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: all 0.25s ease;
}

/* 3. Element Hover Style */
div:is(
    #elementor-panel-category-sifency-addons-widgets,
    #elementor-panel-category-sifency-business-widgets,
    #elementor-panel-category-sifency-typography-widgets,
    #elementor-panel-category-sifency-creative-widgets,
    #elementor-panel-category-sifency-advance-widgets,
    #elementor-panel-category-sifency-post-components,
    #elementor-panel-category-sifency-addons-woo-widgets,
    #elementor-panel-category-member-post-components,
    #elementor-panel-category-sifency-event-components,
    #elementor-panel-category-sifency-career-components,
    #elementor-panel-category-sifency-portfolio-components,
    #elementor-panel-category-sifency-document-components,
    #elementor-panel-category-sifency-service-components,
    #elementor-panel-category-sifency-digital-components,
    #elementor-panel-category-sifency-edd-components,
    #elementor-panel-category-sifency-doc-components
  )
  .elementor-panel-category-items
  .elementor-element-wrapper
  .elementor-element:hover {
  background: rgba(40, 40, 60, 0.75);
  transform: translateY(-1px);
  box-shadow:
    0 3px 5px rgba(0, 123, 255, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* 4. Icon Style (Normal) */
div:is(
    #elementor-panel-category-sifency-addons-widgets,
    #elementor-panel-category-sifency-business-widgets,
    #elementor-panel-category-sifency-advance-widgets,
    #elementor-panel-category-sifency-typography-widgets,
    #elementor-panel-category-sifency-creative-widgets,
    #elementor-panel-category-sifency-post-components,
    #elementor-panel-category-sifency-addons-woo-widgets,
    #elementor-panel-category-member-post-components,
    #elementor-panel-category-sifency-event-components,
    #elementor-panel-category-sifency-career-components,
    #elementor-panel-category-sifency-portfolio-components,
    #elementor-panel-category-sifency-document-components,
    #elementor-panel-category-sifency-service-components,
    #elementor-panel-category-sifency-digital-components,
    #elementor-panel-category-sifency-edd-components,
    #elementor-panel-category-sifency-doc-components
  )
  .elementor-panel-category-items
  .elementor-element-wrapper
  .elementor-element
  i {
  color: #4da3ff;
  font-size: 20px;
  text-shadow: 0 0 12px rgba(77, 163, 255, 0.45);
  transition: all 0.25s ease;
}

/* 5. Icon Style (On Element Hover) */
div:is(
    #elementor-panel-category-sifency-addons-widgets,
    #elementor-panel-category-sifency-business-widgets,
    #elementor-panel-category-sifency-typography-widgets,
    #elementor-panel-category-sifency-creative-widgets,
    #elementor-panel-category-sifency-advance-widgets,
    #elementor-panel-category-sifency-post-components,
    #elementor-panel-category-sifency-addons-woo-widgets,
    #elementor-panel-category-member-post-components,
    #elementor-panel-category-sifency-event-components,
    #elementor-panel-category-sifency-career-components,
    #elementor-panel-category-sifency-portfolio-components,
    #elementor-panel-category-sifency-document-components,
    #elementor-panel-category-sifency-service-components,
    #elementor-panel-category-sifency-digital-components,
    #elementor-panel-category-sifency-edd-components,
    #elementor-panel-category-sifency-doc-components
  )
  .elementor-panel-category-items
  .elementor-element-wrapper
  .elementor-element:hover
  i {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.65);
}

/* 6. Title Style */
div:is(
    #elementor-panel-category-sifency-addons-widgets,
    #elementor-panel-category-sifency-business-widgets,
    #elementor-panel-category-sifency-typography-widgets,
    #elementor-panel-category-sifency-creative-widgets,
    #elementor-panel-category-sifency-advance-widgets,
    #elementor-panel-category-sifency-post-components,
    #elementor-panel-category-sifency-addons-woo-widgets,
    #elementor-panel-category-member-post-components,
    #elementor-panel-category-sifency-event-components,
    #elementor-panel-category-sifency-career-components,
    #elementor-panel-category-sifency-portfolio-components,
    #elementor-panel-category-sifency-document-components,
    #elementor-panel-category-sifency-service-components,
    #elementor-panel-category-sifency-digital-components,
    #elementor-panel-category-sifency-edd-components,
    #elementor-panel-category-sifency-doc-components
  )
  .elementor-panel-category-items
  .elementor-element-wrapper
  .elementor-element
  .title {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding-left: 5px;
  padding-right: 5px;
}
/* ==============================
   Sifency Modern Alert UI
   Brand Color: #007bff
================================ */

.sifency-sync-widget-alert {
  background: linear-gradient(180deg, #f5faff 0%, #eef6ff 100%);
  border: 1px solid rgba(0, 123, 255, 0.18);
  border-radius: 12px;
  padding: 22px 24px;
  text-align: center;
  margin: 12px 0;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.08);
}

/* Icon */
.sifency-alert-icon i {
  font-size: 34px;
  color: #007bff;
  margin-bottom: 10px;
  display: block;
}

/* Title */
.sifency-alert-title {
  color: #0b5ed7;
  font-size: 17px;
  margin: 0 0 6px;
  font-weight: 600;
}

/* Description */
.sifency-alert-desc {
  color: #4f6b95;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 18px;
}

/* Primary Button */
.sifency-btn-activate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #007bff, #0b5ed7);
  color: #ffffff !important;
  padding: 9px 22px;
  text-decoration: none !important;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 6px 14px rgba(0, 123, 255, 0.25);
}
.sifency-btn-activate:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 123, 255, 0.35);
  color: #ffffff !important;
}
.sf-help-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0 0;
}

.sf-help-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #eef6ff;
  text-decoration: none !important;
  padding: 8px 12px;
  transition: all 0.3s ease;
}
.sf-help-item i {
  font-size: 11px;
  transform: rotate(-45deg);
  opacity: 0.7;
}
.sf-upgrade-sync-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff !important;
  padding: 11px 18px;
  border-radius: 50px;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 600;
  margin-top: 26px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 18px rgba(0, 123, 255, 0.3);
}

.sf-upgrade-sync-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 123, 255, 0.4);
  color: #ffffff !important;
}

.sf-upgrade-sync-btn i {
  font-size: 16px;
}