:root {
  --sifency-brand: #010101;
  --sifency-accent: #007bff;
  --sifency-accent-light: #a8d0ff;
  --sifency-accent-hover: #006ce0;
  --sifency-bg: #f8f9fa;
  --sifency-card-bg: #ffffff;
  --sifency-border: #e9ecef;
  --sifency-border-hover: #dee2e6;
  --sifency-text: #6c757d;
  --sifency-text-light: #adb5bd;
  --sifency-heading: #212529;
  --sifency-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --sifency-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --sifency-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --sifency-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --sifency-radius: 8px;
  --sifency-radius-sm: 6px;
  --sifency-bg-color: #f6f7f7;
  --sifency-card-bg: #ffffff;
  --sifency-border-color: #f0f0f0;
  --sifency-primary-color: #007bff;
  --sifency-danger-color: #d63638;
  --sifency-danger-bg: #fef2f2;
  --sifency-danger-border: #fecaca;
  --sifency-text-color: #1d2327;
  --sifency-text-muted: #50575e;
  --sifency-radius: 8px;
  --sifency-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  --sifency-shadow-hover: 0 4px 10px rgba(0, 0, 0, 0.08);
  --white-color: #fff;

  --sifency-color-1-bg: var(--sifency-accent);
  --sifency-color-1-gradient: #f2efff;
  --sifency-color-2-bg: #ffab00;
  --sifency-color-2-gradient: #fff8e9;
  --sifency-color-3-bg: #15c39a;
  --sifency-color-3-gradient: #eafbf7;
  --sifency-color-4-bg: #ff4d6b;
  --sifency-color-4-gradient: #fff0f3;
  --sifency-color-5-bg: #27bcfd;
  --sifency-color-5-gradient: #e9f8ff;
  --sifency-text-dark: #334155;
  --sifency-text-light: #64748b;

  --sifency-card-bg: #ffffff;
  --sifency-card-border: #ccd0d4;
  --sifency-card-shadow: rgba(0, 0, 0, 0.05);
  --sifency-text-color: #50575e;
  --sifency-title-color: #1d2327;

  --sifency-primary-color: #6a35a1;
  --sifency-primary-light: #f3eff8;
  --sifency-text-color: #495157;
  --sifency-heading-color: #1e2125;

  --banner-bg: linear-gradient(135deg, #007bff 0%, #006ce0 100%);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.9);
  --accent-color: #F8732C;
  --button-bg: #F8732C;
  --button-hover: #F8732C;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --card-bg: #ffffff;
  --card-border: #e0e6ed;
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --icon-size: 2.5rem;
  --icon-bg: #f8f9fa;
  --icon-hover-bg: #e9ecef;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gap: 1.5rem;
}

/* Header */
.sifency-admin-header {
  transition: var(--sifency-transition);
}

.sifency-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sifency-logo img {
  height: 32px;
  border-radius: var(--sifency-radius-sm);
  transition: var(--sifency-transition);
}

.sifency-title {
  font-size: 20px;
  font-weight: 700;
}

/* Counter Animation Styles */
.sifency-summary-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sifency-summary-value {
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 26px;
  font-weight: 600;
  color: var(--sifency-accent);
  margin-top: 0px;
  margin-bottom: 8px;
}

.sifency-summary-cards {
  display: flex;
  gap: 12px;
  margin: 18px 0;
  flex-wrap: wrap;
}

.sifency-summary-card {
  flex: 1;
  min-width: 140px;
  padding: 14px;
  border: 1px solid var(--sifency-border-color);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.summary-widet {
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sifency-summary-card h4 {
  margin: 0px;
}

/* Pulse animation on hover */
@keyframes countPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 134, 230, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(12, 133, 231, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(15, 144, 250, 0);
  }
}

.sifency-summary-card:hover {
  animation: countPulse 0.6s ease-out;
}

.sifency-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sifency-version {
  font-size: 10px;
  color: var(--sifency-text-light);
  padding: 2px 8px;
  border-radius: var(--sifency-radius);
  font-weight: 500;
  box-shadow: var(--sifency-shadow-sm);
}

.sifency-header-link {
  text-decoration: none;
  color: var(--sifency-brand);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--sifency-radius-sm);
  transition: var(--sifency-transition);
  position: relative;
  overflow: hidden;
}

.sifency-header-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.5s;
}

.sifency-header-link:hover::before {
  left: 100%;
}

.sifency-header-link:hover {
  background: var(--sifency-accent);
  color: white;
  transform: translateY(-1px);
}

.sifency-nav-accordion {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}

/* Summary */
.sifency-accordion-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
  transition: background 0.25s ease;
}

/* Hover */
.sifency-accordion-summary:hover {
  background: #f5f7fa;
}

/* Arrow */
.sifency-accordion-arrow {
  width: 5px;
  height: 5px;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* Rotate arrow when open */
.sifency-nav-accordion[open] .sifency-accordion-arrow {
  transform: rotate(-135deg);
}

/* Content animation */
.sifency-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0;
}

/* Open state */
.sifency-nav-accordion[open] .sifency-accordion-content {
  opacity: 1;
}

/* Inner links */
.sifency-accordion-content a {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background 0.2s ease;
}


.sifency-accordion-icon {
  font-size: 14px;
  line-height: 22px;
  color: #5b6b82;
  transition: color 0.25s ease, transform 0.25s ease;
}

/* Hover */
.sifency-accordion-summary:hover .sifency-accordion-icon {
  color: var(--sifency-accent);
}

/* Active/open state */
.sifency-nav-accordion[open] .sifency-accordion-icon {
  color: var(--sifency-accent);
  transform: scale(1.05);
}

.sifency-accordion-content a:hover {
  background: #eef2f7;
}

.sifency-accordion-content a.is-active {
  background: #e7efff;
  color: var(--sifency-accent);
}

.sifency-dashboard-nav .nav-tab {
  transition: var(--sifency-transition);
  position: relative;
}



.sifency-dashboard-nav .sifency-nav-item::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--sifency-accent);
  transition: var(--sifency-transition);
  transform: translateX(-50%);
}

.sifency-dashboard-nav .sifency-nav-item:hover::after,
.sifency-dashboard-nav .nav-tab-active::after,
.sifency-dashboard-nav .sifency-nav-item.active::after {
  width: 70%;
}

.sifency-dashboard-nav .nav-tab-active,
.sifency-dashboard-nav .sifency-nav-item.active,
.sifency-dashboard-nav .nav-tab.active,
.sifency-dashboard-nav .sifency-nav-item:hover {
  color: var(--sifency-brand);
  border-bottom-color: var(--sifency-accent);
  background: linear-gradient(180deg,
      rgba(37, 117, 252, 0.05) 0%,
      transparent 100%);
}

/* Content */
.sifency-admin-content {
  background: var(--sifency-card-bg);
  border: 1px solid var(--sifency-border-color);
  padding: 20px;
  width: 100%;
  border-radius: 10px;
}

.sifency-admin-content {
  overflow: hidden;
}

.sifency-admin-content h2 {
  font-size: 18px;
  line-height: 150%;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--sifency-heading);
  margin-bottom: 16px;
  position: relative;
}

.sifency-admin-content h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg,
      var(--sifency-accent) 0%,
      var(--sifency-accent-hover) 100%);
  border-radius: 1px;
}

/* Cards */
.sifency-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
  max-width: none;
}

.sifency-card {
  padding: 20px;
  border: 1px solid var(--sifency-border-color);
  border-radius: var(--sifency-radius);
  background: var(--sifency-card-bg);
  transition: var(--sifency-transition);
  position: relative;
  overflow: hidden;
}

.sifency-card:hover::before {
  opacity: 1;
}

.sifency-card:hover {
  border-color: var(--sifency-border-color);
}

.sifency-card h3 {
  margin-top: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--sifency-heading);
}

.sifency-card i {
  color: var(--sifency-accent);
  font-size: 24px;
  vertical-align: middle;
  margin-right: 8px;
  display: block;
  margin-bottom: 8px;
  transition: var(--sifency-transition);
}

.sifency-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

/* Widgets Grid */
.sifency-addons-widgets-grid,
.sifency-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 25px;
}

.sifency-widget-category-block {
  margin-bottom: 50px;
}

.sifency-widget-card,
.sifency-module-card {
  border-radius: var(--sifency-radius) !important;
  transition: var(--sifency-transition);
}

.sifency-widget-card-header,
.sifency-module-card-header {
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  background: var(--sifency-bg);
  border-radius: 8px 8px 0 0;
}

.sifency-module-card-header span,
.sifency-widget-card-header i {
  color: var(--sifency-accent);
}

.sifency-module-card-header h3,
.sifency-widget-card-header h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
}

.sifency-widget-card-footer,
.sifency-module-card-footer {
  position: relative;
  padding: 10px 15px;
  text-align: right;
  background-color: #fcfcfc;
  border: none;
  border-radius: 0 0 8px 8px;
}

/* The Gradient Line Separator */
.sifency-widget-card-footer::before,
.sifency-module-card-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.08) 50%,
      rgba(0, 0, 0, 0) 100%);
}

.sifency-widget-card:hover .sifency-widget-card-footer {
  color: white;
}

.sifency-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 26px;
  border: 2px solid transparent;
}

.sifency-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sifency-slider.round {
  border-radius: 26px;
}

.sifency-slider.round:before {
  border-radius: 50%;
}

#sifency-system-info-textarea {
  height: 250px;
  border-radius: var(--sifency-radius-sm);
  border: 1px solid var(--sifency-border-color);
  padding: 12px;
  font-size: 12px;
  background: var(--sifency-card-bg);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: var(--sifency-transition);
  resize: vertical;
  width: 100%;
}

#sifency-system-info-textarea:focus {
  outline: none;
  border-color: var(--sifency-accent);
  box-shadow: 0 0 0 2px rgba(37, 117, 252, 0.1);
}

.sifency-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.sifency-tab-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--sifency-accent);
  border-radius: 1px 1px 0 0;
}

.sifency-tab h2,
.sifency-tab p {
  margin: 0;
}

.sifency-tab-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--sifency-heading);
}

.sifency-tab-header p {
  color: var(--sifency-text);
  font-size: 13px;
  max-width: 400px;
}

.sifency-master-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: var(--sifency-radius);
  transition: var(--sifency-transition);
}

.sifency-control-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sifency-control-group label {
  font-weight: 600;
  font-size: 12px;
  color: var(--sifency-text);
}

.toplevel_page_sifency-addons .wp-menu-image.sifency-admin-menu-icon::before {
  content: "☾";
  background: linear-gradient(135deg,
      var(--sifency-accent) 0%,
      var(--sifency-accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 16px auto;
  opacity: 0.7;
  font-size: 14px;
  line-height: 1;
}

.toplevel_page_sifency-addons:hover .wp-menu-image.sifency-admin-menu-icon::before,
.toplevel_page_sifency-addons.wp-has-current-submenu .wp-menu-image.sifency-admin-menu-icon::before,
.toplevel_page_sifency-addons.current .wp-menu-image.sifency-admin-menu-icon::before {
  opacity: 1;
  transform: scale(1.1);
}

#adminmenu .toplevel_page_sifency-addons .wp-menu-image img {
  border-radius: 50%;
  padding: 2px;
  width: 18px;
  height: 18px;
  margin-top: 8px;
  opacity: 1;
  box-shadow: var(--sifency-shadow-sm);
  transition: var(--sifency-transition);
}

#adminmenu .toplevel_page_sifency-addons:hover .wp-menu-image img {
  transform: rotate(180deg);
}

.sifency-admin-wrap * {
  box-sizing: border-box;
}

.sifency-admin-wrap input[type="text"],
.sifency-admin-wrap input[type="number"],
.sifency-admin-wrap select,
.sifency-admin-wrap textarea {
  border: 1px solid var(--sifency-border-color);
  border-radius: var(--sifency-radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  transition: var(--sifency-transition);
  background: var(--sifency-card-bg);
}

.sifency-admin-wrap input[type="text"]:focus,
.sifency-admin-wrap input[type="number"]:focus,
.sifency-admin-wrap select:focus,
.sifency-admin-wrap textarea:focus {
  outline: none;
  border-color: var(--sifency-border-color);
  box-shadow: 0 0 0 2px rgba(37, 117, 252, 0.1);
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .sifency-admin-wrap {
    margin: 8px;
    padding: 12px;
  }

  .sifency-admin-header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .sifency-cards-container {
    grid-template-columns: 1fr;
  }

  .sifency-addons-widgets-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .sifency-tab-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================================================== */
/* Pricing Table */
/* ========================================================================== */

.sifency-pricing-dashboard {
  background: #ffffff;
  padding: 40px;
  border-radius: 6px;
  margin-right: 20px;
  border: 1px solid var(--sifency-border-color);
  max-width: 1000px;
  margin: auto;
}

.sifency-plan-card.free {
  border: 1px solid var(--sifency-border-color);
}

/* Plan Cards (Header Row) */
.sifency-pricing-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.sifency-plan-card {
  text-align: center;
  border-radius: 8px;
  padding: 15px 9px;
  background: #f9fafb;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sifency-plan-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
  margin-top: 3px;
}

.sifency-plan-card p {
  font-size: 28px;
  font-weight: 700;
  color: #2563eb;
  margin: 0;
}

.sifency-plan-card span {
  font-size: 13px;
  color: #6b7280;
}

.sifency-plan-card.pro {
  background: var(--sifency-accent);
  color: #fff;
}

.sifency-plan-card.pro h3,
.sifency-plan-card.pro p,
.sifency-plan-card.pro span {
  color: #fff;
}

.sifency-plan-card.agency h3,
.sifency-plan-card.agency p,
.sifency-plan-card.agency span {
  color: #fff;
}

.sifency-plan-card.agency {
  background: var(--sifency-accent-hover);
  color: #fff;
}

/* Feature Table */
.sifency-pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--sifency-border-color);
}

.sifency-pricing-table thead th {
  background: #f3f4f6;
  font-weight: 600;
  color: #111827;
  font-size: 14px;
  padding: 14px 10px;
}

.sifency-pricing-table td {
  padding: 12px;
  border-top: 1px solid var(--sifency-border-color);
  color: #374151;
  font-size: 14px;
}

.sifency-pricing-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: #111827;
}

/* Icons */
.sifency-icon {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
}

.sifency-icon.success {
  color: #10b981;
}

.sifency-icon.muted {
  color: #d1d5db;
}

/* CTA Section */
.sifency-upgrade-cta {
  text-align: center;
  border-radius: 12px;
  padding: 40px 20px;
}

.sifency-upgrade-cta h2 {
  font-size: 50px;
  margin-bottom: 10px;
  max-width: 575px;
  font-weight: 600;
  line-height: 110%;
  padding-bottom: 15px;
  margin: auto;
  background: linear-gradient(190deg, #5500ff, #cc0044);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sifency-upgrade-cta p {
  font-size: 15px;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
  .sifency-pricing-header {
    grid-template-columns: 1fr;
  }

  .sifency-pricing-table th:nth-child(n + 2),
  .sifency-pricing-table td:nth-child(n + 2) {
    display: none;
  }
}

.sifency-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-right: 20px;
}

.sifency-theme-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--sifency-border-color);
  position: relative;
}

.sifency-theme-thumb {
  position: relative;
  overflow: hidden;
}

.sifency-theme-thumb img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.sifency-theme-card:hover img {
  transform: scale(1.05);
}

.sifency-theme-hover {
  position: absolute;
  inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sifency-theme-card:hover .sifency-theme-hover {
  opacity: 1;
}

.sifency-theme-pro-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.sifency-theme-info {
  padding: 15px;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}

.sifency-theme-title {
  font-size: 15px;
  font-weight: 600;
  color: #1d2327;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .sifency-theme-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .sifency-theme-grid {
    grid-template-columns: 1fr;
  }
}

.sifency-shortcode-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid var(--sifency-border-color);
  border-radius: 8px;
  padding: 4px 6px 4px 10px;
  transition: all 0.2s ease-in-out;
  width: fit-content;
}

.sifency-shortcode-wrapper:hover {
  border-color: var(--sifency-accent);
  background: #f1f8ff;
}

/* Shortcode Input Field */
.sifency-shortcode-input {
  border: none !important;
  background: transparent !important;
  font-size: 13px;
  color: #1d2327;
  width: 190px;
  outline: none;
  cursor: pointer;
  padding: 6px 0;
}

.sifency-shortcode-input:focus {
  color: transparent;
}

/* Smooth focus glow */
.sifency-shortcode-wrapper:focus-within {
  border-color: var(--sifency-border-color);
}

.sifency-installer-subtitle {
  font-size: 1.1em;
  color: var(--sifency-text-color);
}

.sifency-installer-wrap {
  max-width: 1000px;
  margin: auto;
}

.sifency-installer-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.sifency-installer-card {
  background: var(--sifency-card-bg);
  border: 1px solid var(--sifency-border-color);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.sifency-installer-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  justify-content: space-between;
}

.sifency-plugin-badge.is-supported {
  background: #3498db;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  margin-left: 10px;
}

.plugin-icon-and-name {
  display: flex;
  gap: 15px;
  align-items: center;
}

.sifency-plugin-badge.is-required {
  background: #e74c3c;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  margin-left: 10px;
}

.sifency-installer-card-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.sifency-installer-card-icon img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

.sifency-installer-card-title {
  margin: 0;
  font-size: 1.25em;
  font-weight: 600;
  color: var(--sifency-title-color);
}

.sifency-installer-card-desc {
  color: var(--sifency-text-color);
  flex-grow: 1;
  margin-bottom: 20px;
}

.sifency-installer-card-footer {
  margin-top: auto;
  text-align: right;
}

.sifency-admin-wrap {
  margin-right: 20px;
}

.sifency-dashboard-layout.admin-land {
  align-items: stretch;
}

.sifency-land-quick-action {
  margin-top: 70px;
}

.sifency-land-quick-action .sifency-rating-cta {
  margin-top: 40px;
}

.sifency-dashboard-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.sifency-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sifency-sidebar {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--white-color);
  border-radius: 6px;
  border: 1px solid var(--sifency-border-color);
}

.sifency-sidebar .sifency-card {
  border: none;
  border-bottom: 1px solid #f6f7f7;
  padding: 30px;
}

.sifency-sidebar .sifency-card h4 {
  margin: 0px;
  line-height: 400%;
}

.sifency-card {
  border-radius: 6px;
  padding: 30px;
}

.sifency-card h3 {
  margin-top: 0;
  font-size: 18px;
  color: var(--sifency-heading-color);
}

p.sifency-subtitle {
  margin-top: -10px;
  color: #6d7882;
  font-size: 14px;
}

/* Welcome Banner */
.sifency-welcome-content h2 {
  font-size: 24px;
  color: var(--sifency-heading-color);
}

/* Quick Links */
.sifency-quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.sifency-quick-link-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 15px;
  padding: 15px;
  border: 1px solid var(--sifency-border-color);
  border-radius: 6px;
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.sifency-quick-link-item .dashicons {
  font-size: 24px;
  color: var(--sifency-accent);
}

.sifency-quick-link-item div {
  display: flex;
  flex-direction: column;
}

.sifency-quick-link-item strong {
  color: var(--sifency-heading-color);
  font-weight: 600;
}

.sifency-quick-link-item svg {
  width: 24px;
  stroke: var(--sifency-accent);
}

/* Individual quick link item */
.sifency-quick-link-item {
  gap: 14px;
  padding: 18px 20px;
  background: var(--white-color);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--sifency-border-color);
  position: relative;
  overflow: hidden;
}

.sifency-quick-link-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(110, 69, 226, 0.06) 0%,
      rgba(136, 211, 206, 0.06) 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

/* Icon styling */
.sifency-quick-link-item .dashicons {
  font-size: 24px;
  width: 32px;
  height: 32px;
  color: var(--sifency-accent);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.sifency-quick-link-item:hover {
  transform: translateY(-6px);
  border-color: var(--sifency-accent);
  background: #fff;
}

.sifency-quick-link-item:hover::before {
  opacity: 1;
}

.sifency-quick-link-item:hover .dashicons {
  transform: scale(1.15) rotate(4deg);
  color: var(--sifency-accent);
}

.sifency-quick-link-item:active {
  transform: translateY(-2px);
}

.sifency-dashboard-cards-middle {
  display: flex;
  gap: 25px;
  justify-content: space-between;
}

/* Feature Grid */
.sifency-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sifency-feature-item {
  text-align: center;
}

.sifency-feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sifency-feature-item h4 {
  margin: 0 0 10px;
}

.sifency-feature-item p {
  font-size: 13px;
  color: var(--sifency-text-color);
  margin-bottom: 20px;
}

.sifency-subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.sifency-subscribe-form input {
  width: 100%;
}

.sifency-help-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sifency-help-links li a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--sifency-text-color);
  padding: 12px 0;
  border-bottom: 1px solid var(--sifency-border-color);
}

.sifency-help-links li:last-child a {
  border-bottom: none;
}

.sifency-help-links li a:hover {
  color: var(--sifency-primary-color);
}

.sifency-help-links .dashicons {
  font-size: 20px;
}


@media (max-width: 782px) {

  .sifency-quick-links,
  .sifency-feature-grid {
    grid-template-columns: 1fr;
  }
}

.sifency-topbar-menu .menu-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sifency-topbar-menu .dashicons {
  font-size: 18px;
  line-height: 1;
  color: var(--sifency-accent);
}

/* --- Grid Layout for Items --- */
.sifency-export-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* --- Card Styling --- */
.sifency-export-item {
  background-color: var(--sifency-card-bg);
  border: 1px solid var(--sifency-border-color);
  border-radius: var(--sifency-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.sifency-export-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--sifency-shadow-hover);
}

.sifency-export-item h2,
.sifency-export-item h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--sifency-text-color);
}

.sifency-export-item ul {
  margin: 0 0 16px 20px;
  color: var(--sifency-text-muted);
  font-size: 13px;
}

.sifency-export-item li {
  margin-bottom: 6px;
}

/* --- Danger Zone & Reset UI --- */
.sifency-danger-notice {
  background-color: var(--sifency-danger-bg);
  border: 1px solid var(--sifency-danger-border);
  color: var(--sifency-danger-color);
  padding: 15px 20px;
  border-radius: var(--sifency-radius);
  margin-bottom: 24px;
}

.sifency-danger-notice strong {
  color: var(--sifency-danger-color);
}

.sifency-reset-confirm {
  margin-top: 24px;
  padding: 16px;
  background-color: var(--sifency-bg-color);
  border: 1px solid var(--sifency-border-color);
  border-radius: var(--sifency-radius);
}

.sifency-reset-confirm label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.sifency-reset-confirm input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.sifency-reset-confirm strong {
  color: var(--sifency-text-color);
  user-select: none;
}

/* --- Responsive Design --- */
@media (max-width: 782px) {
  .sifency-export-grid {
    grid-template-columns: 1fr;
  }

  .sifency-dashboard-nav {
    flex-direction: column;
    gap: 0;
    border-bottom: none;
  }

  .sifency-dashboard-nav .nav-tab {
    border-radius: var(--sifency-radius) var(--sifency-radius) 0 0;
    border: 1px solid var(--sifency-border-color);
    transform: none;
    margin-bottom: -1px;
  }

  .sifency-dashboard-nav .nav-tab.nav-tab-active {
    border-bottom-color: var(--sifency-card-bg);
  }

  .sifency-admin-content {
    border-radius: 0 0 var(--sifency-radius) var(--sifency-radius);
  }
}

.sifency-post-summary {
  width: 100%;
}

.sifency-welcome-banner {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 6px;
  position: relative;
  border: 1px solid var(--sifency-border-color);
  max-width: 360px;
}

.sifency-welcome-banner h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 120%;
  margin: 0px;
}

.sifency-dashboard-header {
  display: flex;
  gap: 25px;
  justify-content: space-between;
}

.sifency-rating {
  color: #f5b942;
  font-size: 30px;
  line-height: 110%;
  text-decoration: dashed;
}

.sifency-rating:hover {
  color: #f5b942;
}

.sifency-social-icons a {
  display: inline-block;
  margin-right: 6px;
  color: #444;
}

.sifency-subscribe-list {
  margin-top: 12px;
}

.sifency-subscribe-list ul {
  list-style: none;
  padding-left: 0;
  margin: 6px 0;
}

.sifency-subscribe-list li {
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--sifency-border-color);
}

.sifency-post-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.sifency-post-type-item {
  padding: 30px;
  border: 1px solid var(--sifency-border-color);
  border-radius: 6px;
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Badges container */
.sifency-post-type-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.sifency-quickstart {
  min-width: 350px;
}

/* Generic badge styling */
.sifency-badge {
  display: inline-block;
  font-size: 11px;
  white-space: nowrap;
}

button.sifency-import-btn.sifency-admin-btn.button.sifency-addons-primary-button {
  background-color: var(--sifency-accent);
  border: none;
  box-shadow: none;
  color: #fff;
  transition: all 0.3s ease-in-out;
}

/* Active/Inactive status badge */
.sifency-badge-status {
  color: white;
}

.sifency-badge-status.active {
  background-color: #28a745;
}

.sifency-badge-status.deactive {
  background-color: #6c757d;
}

.sifency-post-type-item h5 {
  margin: 0 0 8px 0;
  font-size: 13px;
  color: #333;
}

.sifency-post-count {
  font-size: 24px;
  font-weight: 600;
  color: var(--sifency-accent);
  margin: 6px 0;
}

.sifency-post-type-item small {
  font-size: 11px;
  color: #999;
}

.sifency-post-item-actions {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  justify-content: center;
}

.sifency-create-btn,
.sifency-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.sifency-create-btn {
  text-decoration: none;
  color: var(--sifency-accent);
}

.sifency-create-btn:hover {
  color: var(--sifency-accent-hover);
}

.sifency-view-btn {
  color: #333;
}

.sifency-view-btn:hover {
  text-decoration: none;
}

.sifency-create-btn .dashicons,
.sifency-view-btn .dashicons {
  font-size: 12px;
  width: 12px;
  height: 12px;
}

.sifency-subscribe-form,
.sifency-feature-request-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sifency-subscribe-form input,
.sifency-feature-request-form input,
.sifency-feature-request-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--sifency-border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
}

.sifency-feature-request-form textarea {
  resize: vertical;
}

.sifency-subscribe-form button,
.sifency-feature-request-form button {
  width: 100%;
  padding: 8px;
  font-size: 13px;
}

.sifency-addons-main-banner {
  background: url(https://sifency-images.vercel.app/sifency-addons/banner-bg-1.jpg);
  padding: 3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.sifency-addons-main-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  pointer-events: none;
}

.sifency-banner-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  position: relative;
  z-index: 1;
}

.sifency-banner-text h2 {
  font-size: 40px;
  line-height: 110%;
  margin: 0px;
  margin-bottom: 20px;
  color: var(--white-color);
}

.sifency-banner-text p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0 0 2rem;
  color: var(--white-color);
  max-width: 80%;
}

.sifency-banner-text a {
  display: inline-block;
  background: var(--button-bg);
  color: var(--text-primary);
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.sifency-banner-text a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.5s;
}

.sifency-banner-text a:hover {
  background: var(--button-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.sifency-banner-text a:hover::before {
  left: 100%;
}

.sifency-banner-image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.sifency-banner-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.sifency-banner-image img:hover {
  transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
  .sifency-addons-main-banner {
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .sifency-banner-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sifency-banner-text p {
    max-width: 100%;
    margin: 0 auto 2rem;
  }

  .sifency-banner-image {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .sifency-addons-main-banner {
    padding: 2rem 1rem;
  }

  .sifency-banner-text h2 {
    font-size: 2.25rem;
  }

  .sifency-banner-text p {
    font-size: 1.125rem;
  }
}

/* Accessibility and Focus Styles */
.sifency-banner-text a:focus {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

.sifency-summary-card.sifency-social-card {
  transition: var(--transition);
  border: none;
}

.sifency-summary-card.sifency-social-card h4 {
  margin-top: 0px;
  margin-bottom: 10px;
}

.sifency-social-icons {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.sifency-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--sifency-accent);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.sifency-social-icons a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.5s;
}

.sifency-social-icons a:hover {
  background: var(--sifency-accent-hover);
  transform: scale(1.1) translateY(-2px);
}

.sifency-social-icons a:hover::before {
  left: 100%;
}

.sifency-social-icons svg,
.sifency-social-icons span.dashicons {
  font-size: 1rem;
  height: 14px !important;
  stroke: var(--sifency-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  transition: var(--transition);
}

.sifency-rating-cta {
  text-align: center;
}

.sifency-rating-cta h4 {
  margin: 5px;
}

.sifency-cpt-modules-wrap {
  max-width: 900px;
}

.sifency-modules-table {
  margin-top: 20px;
}

.sifency-modules-table .module-name {
  font-weight: 500;
}

.sifency-modules-table .dashicons {
  margin-right: 8px;
  vertical-align: middle;
}

.sifency-toggle-btn {
  min-width: 100px;
}

/* The cool circle background for the icon */
.sifency-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: #f0f6fc;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  border: 1px solid #e0eeff;
}

.sifency-feature-item:hover .sifency-feature-icon {
  background-color: var(--sifency-accent);
  transform: scale(1.1);
  border-color: var(--sifency-accent);
}

.sifency-feature-item:hover .sifency-feature-icon svg {
  stroke: var(--white-color);
}

.sifency-feature-icon svg {
  width: 32px;
  stroke: var(--sifency-accent);
}

.sifency-post-count-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.sifency-post-type-item {
  position: relative;
}

.sifency-post-count-wrapper .sifency-pro-badge {
  position: absolute;
  right: 10px;
  top: 10px;
}

.sifency-status-badge {
  background: #fde8e8;
  color: #b91c1c;
  border: 1px solid #f5c2c2;
  position: absolute;
  left: 10px;
  top: 10px;
  opacity: 0.6;
}

.addons-user-info .user-name {
  margin: 0px;
}

.addons-user-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.sifency-user-name h3 {
  margin: 0px 0px 10px 0px;
}

.sifency-theme-card.sifency-card-hidden {
  display: none;
}

/* 1. Main Grid Layout
--------------------------------------------- */
.sifency-themebuilder-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.sifency-themebuilder-summary-wrapper {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--sifency-border-color);
}

/* 2. Base Card Style
--------------------------------------------- */
a.sifency-themebuilder-type-item {
  text-decoration: none;
  color: inherit;
}

.sifency-themebuilder-type-item {
  background-color: #ffffff;
  padding: 20px 15px;
  border-radius: 6px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.sifency-themebuilder-type-item:hover {
  background-color: var(--white-color) !important;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(179, 179, 179, 0.08);
}

/* 3. Card Content & Typography
--------------------------------------------- */
.sifency-card-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sifency-card-icon-wrapper .dashicons {
  color: #fff;
  font-size: 24px;
  width: auto;
  height: auto;
}

.sifency-themebuilder-type-item h5 {
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.sifency-themebuilder-count {
  font-size: 24px;
  color: var(--sifency-accent);
  line-height: 100%;
  font-weight: 600;
}

.sifency-themebuilder-type-item small {
  font-size: 12px;
  color: var(--sifency-text-light);
  margin-top: 4px;
}

.sifency-card-actions {
  margin-top: 15px;
}

.sifency-card-actions a {
  background-color: var(--white-color);
  color: var(--sifency-text-light);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.sifency-card-actions a:hover {
  background-color: #e2e8f0;
  color: var(--sifency-text-dark);
}

/* 4. Repeating Color Styles (Loops every 5 cards)
-------------------------------------------------- */
.sifency-themebuilder-type-item:nth-child(5n + 1) {
  background-image: linear-gradient(145deg,
      var(--sifency-color-1-gradient),
      #eef4ff);
}

.sifency-themebuilder-type-item:nth-child(5n + 1) .sifency-card-icon-wrapper {
  background-color: var(--sifency-color-1-bg);
}

.sifency-themebuilder-type-item:nth-child(5n + 2) {
  background-image: linear-gradient(145deg,
      var(--sifency-color-2-gradient),
      #eef4ff);
}

.sifency-themebuilder-type-item:nth-child(5n + 2) .sifency-card-icon-wrapper {
  background-color: var(--sifency-color-2-bg);
}

.sifency-themebuilder-type-item:nth-child(5n + 3) {
  background-image: linear-gradient(145deg,
      var(--sifency-color-3-gradient),
      #eef4ff);
}

.sifency-themebuilder-type-item:nth-child(5n + 3) .sifency-card-icon-wrapper {
  background-color: var(--sifency-color-3-bg);
}

.sifency-themebuilder-type-item:nth-child(5n + 4) {
  background-image: linear-gradient(145deg,
      var(--sifency-color-4-gradient),
      #eef4ff);
}

.sifency-themebuilder-type-item:nth-child(5n + 4) .sifency-card-icon-wrapper {
  background-color: var(--sifency-color-4-bg);
}

.sifency-themebuilder-type-item:nth-child(5n + 5) {
  background-image: linear-gradient(145deg,
      var(--sifency-color-5-gradient),
      #eef4ff);
}

.sifency-themebuilder-type-item:nth-child(5n + 5) .sifency-card-icon-wrapper {
  background-color: var(--sifency-color-5-bg);
}

/* 5. "View More" Functionality
--------------------------------------------- */
.sifency-themebuilder-type-grid .sifency-themebuilder-type-item:nth-child(n + 9) {
  display: none;
}

.sifency-themebuilder-type-grid.sifency-grid-expanded .sifency-themebuilder-type-item {
  display: flex !important;
}

.sifency-view-more-container {
  text-align: center;
  margin-top: 25px;
}

.sifency-view-more-btn {
  background-color: var(--sifency-accent);
  border: none;
  padding: 10px 25px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  transition: background-color 0.2s;
}

.sifency-view-more-btn:hover {
  background-color: var(--sifency-accent);
}

.sifency-addons_page_sifency-addons-widgets,
.sifency-addons_page_sifency-theme-builder,
.sifency-addons_page_sifency-templates-shortcode,
.sifency-addons_page_sifency-prebuild-website,
.sifency-addons_page_sifency-settings,
.sifency-addons_page_sifency-extentions,
.sifency-addons_page_sifency-themes,
.sifency-addons_page_sifency-data-suite,
.sifency-addons_page_sifency-why-pro,
.sifency-addons_page_sifency-activate,
.sifency-addons_page_sifency-analytics,
.toplevel_page_sifency-addons {
  background-color: #f3f4f6;
}

.sifency-admin-page-wrap .notice,
.sifency-addons_page_sifency-addons-widgets .notice,
.sifency-addons_page_sifency-theme-builder .notice,
.sifency-addons_page_sifency-templates-shortcode .notice,
.sifency-addons_page_sifency-prebuild-website .notice,
.sifency-addons_page_sifency-settings .notice,
.sifency-addons_page_sifency-extentions .notice,
.sifency-addons_page_sifency-themes .notice,
.sifency-addons_page_sifency-data-suite .notice,
.sifency-addons_page_sifency-why-pro .notice,
.sifency-addons_page_sifency-activate .notice,
.sifency-addons_page_sifency-analytics .notice,
.sifency-addons_page_activation .notice,
.toplevel_page_sifency-addons .notice {
  display: none;
}

.sifency-addons_page_activation .notice.notice-error.inline,
#sifency-ajax-feedback.notice.notice-success,
#sifency-ajax-feedback.notice.notice-info,
#sifency-ajax-feedback.notice.notice-error,
.sifency-addons_page_activation .notice.notice-success.inline {
  display: inherit !important;
  border: 1px solid var(--sifency-border-color);
  box-shadow: none;
  margin: 0px;
}

.toplevel_page_sifency-addons.wp-has-submenu {
  background-color: inherit;
}

.sifency-quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 1400px) {
  .sifency-quick-links {
    grid-template-columns: 1fr;
  }
}

button.button.button-primary.plugin-action-btn.install-btn .spinner {
  display: none;
}

.sifency-license-wrapper {
  background: white;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--sifency-border-color);
  margin-right: 20px;
  max-width: 1000px;
  margin: auto;
}

.sifency-license-wrapper input[type="text"] {
  margin-right: 10px;
  border: 1px solid var(--sifency-accent);
  box-shadow: none;
  height: 40px;
}

.sifency-license-wrapper input[type="submit"] {
  background-color: var(--sifency-accent);
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

.sifency-license-wrapper input[type="submit"]:hover {
  background-color: var(--sifency-accent-hover);
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

#sifency-ajax-feedback {
  margin-top: 20px;
}

.sifency-addons-widgets-settings .sifency-tab-header {
  border: none;
}

.sifency-addons-widgets-settings .sifency-tab-header::after {
  content: none;
}

.sifency-category-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sifency-tab-trigger {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  line-height: 150%;
  cursor: pointer;
  background-color: #fff;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.sifency-section-header-left {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Hover states for standard triggers */
.sifency-tab-trigger:not(.active):hover {
  color: #010101;
}

.sifency-tab-trigger:not(.active):hover .sifency-tab-count {
  color: #010101;
}

/* Active state */
.sifency-tab-trigger.active {
  background: var(--sifency-accent);
  border-color: var(--sifency-accent);
  color: #fff;
}

/* Hover state specific to active triggers */
.sifency-tab-trigger.active:hover .sifency-tab-text {
  color: #fff;
}

.sifency-tab-count {
  color: #50575e;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 600;
}

.sifency-tab-trigger.active:hover {
  color: #010101;
}

.sifency-tab-trigger.active .sifency-tab-count {
  background: rgba(255, 255, 255, 0.062);
  color: #fff;
}

.sifency-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.sifency-section-count {
  background: var(--sifency-accent);
  color: #fff;
  padding: 2px 6px;
  border-radius: 25px;
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sifency-widget-category-block {
  margin-bottom: 40px;
}

.sifency-master-controls {
  position: relative;
  padding-left: 25px;
  margin-left: auto;
}

.sifency-master-controls::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(34, 113, 177, 0),
      rgb(54, 161, 248),
      rgb(0, 213, 255),
      rgba(34, 113, 177, 0));

  background-size: 100% 200%;
  animation: sifencyBorderFlow 2s linear infinite;
  border-radius: 2px;
}

@keyframes sifencyBorderFlow {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 0% 200%;
  }
}

.sifency-tab-header {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sifency-version-rollback-container {
  padding: 50px;
}

.sifency-version-history-table {
  border: none !important;
  box-shadow: none;
}

.sifency-version-history-table thead {
  border-bottom: 1px solid var(--sifency-border-color);
  box-shadow: none;
}

.version-card {
  padding-bottom: 40px;
}

.version-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.version-number {
  font-size: 28px;
  font-weight: bold;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.badge-active {
  background-color: var(--sifency-accent);
  color: white;
}

.sifency-rollback-info {
  margin-top: 30px;
  padding: 15px;
  background-color: #f8f9fa;
  border-left: 4px solid var(--sifency-accent);
  border-radius: 4px;
}

.sifency-rollback-info ul {
  margin: 10px 0;
  padding-left: 20px;
}

.sifency-rollback-info li {
  margin: 8px 0;
  color: #555;
}

.sifency-widget-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sifency-demo-link {
  color: var(--sifency-text);
}

.sifency-demo-link:hover {
  color: var(--sifency-accent-hover);
}

.sifency-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sifency-filter-bar {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sifency-pro-badge.sifency-theme-pro-badge {
  z-index: 1;
}

.sifency-admin-content.prebuild {
  margin-right: 20px;
}

.sifency-type-btn {
  color: var(--sifency-accent);
  border: none;
  background-color: #e9f5ff;
  padding: 10px 20px;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

input#sifency-admin-search {
  padding: 4px 15px;
  border: 1px solid var(--sifency-accent);
}

.sifency-type-btn:hover {
  background-color: var(--sifency-accent);
  color: #fff;
  transition: all 0.3s ease-in-out;
}

.sifency-theme-grid.prebuild {
  margin-right: 0px;
}

.sifency-permalink-notice,
.sifency-notice-is-elementor-unactive {
  box-shadow: none;
  border: none;
  background-color: #fff;
  padding: 20px 20px;
}

.sifency-notice-is-elementor-unactive .sifency-addons-button {
  background-color: var(--sifency-accent);
  border: none;
  box-shadow: var(--sifency-shadow-sm);
  color: #fff;
  transition: all 0.3s ease;
  padding: 12px 22px;
}

.sifency-notice-is-elementor-unactive .sifency-addons-button:hover {
  background-color: var(--sifency-accent-hover);
  border: none;
  transition: all 0.3s ease;
}

.sifency-download-post-date {
  position: absolute;
  right: 20px;
  bottom: 60px;
  opacity: 0;
  transition: all 0.4s ease-in-out;
}

.sifency-card-for-cpt:hover .sifency-download-post-date {
  opacity: 1;
  transition: all 0.4s ease-in-out;
}

.sifency-template-notice {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  margin-top: 20px;
  background: #fff;
  border-radius: 6px;
  align-items: flex-start;
  transition-delay: 2s;
}

.sifency-notice-close {
  position: absolute;
  right: 20px;
  top: 20px;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: #c0392b;
  background-color: #f8dada;
  border-radius: 50px;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease-in-out;
}

.sifency-notice-close:hover {
  scale: calc(0.8);
  transition: all 0.3s ease-in-out;
}

.sifency-notice-icon {
  font-size: 22px;
}

.sifency-notice-content h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.sifency-notice-content p {
  margin: 6px 0;
  font-size: 13px;
  color: #50575e;
}

.sifency-notice-content ul {
  margin: 8px 0 10px 18px;
}

.sifency-notice-content ul li {
  list-style: disc;
}

.sifency-notice-tip {
  background: #fff;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 12px;
  border: 1px solid #dcdcde;
  margin-top: 8px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.5s;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}