.xa-admin-wrap {
  margin: 20px 0;
  max-width: 1440px;
  font-family: "Roboto", sans-serif;
}

.xa-admin-inner-wrap {
  background: #fdfdfd;
  padding: 40px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.xa-admin-header {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.xa-admin-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: linear-gradient(-135deg, rgba(146, 0, 60, 0) 0%, rgba(146, 0, 60, 0.05) 100%);
  z-index: 0;
}
.xa-admin-header .xa-admin-branding {
  position: relative;
  z-index: 1;
}
.xa-admin-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  color: #3A3F45;
  position: relative;
}
.xa-admin-header h1:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 50px;
  height: 3px;
  background: #92003C;
  border-radius: 3px;
}
.xa-admin-header .xa-admin-subtitle {
  margin: 15px 0 0;
  color: #6D7882;
  font-size: 15px;
}
.xa-admin-header .xa-admin-actions {
  position: relative;
  z-index: 1;
}
.xa-admin-header .xa-button-primary {
  background: #92003C;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(146, 0, 60, 0.3);
}
.xa-admin-header .xa-button-primary .dashicons {
  margin-left: 8px;
}
.xa-admin-header .xa-button-primary:hover {
  background: rgb(120.5, 0, 49.5205479452);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(146, 0, 60, 0.4);
}

.xa-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
}
@media (max-width: 1024px) {
  .xa-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.xa-stats-section {
  margin-bottom: 30px;
}

.xa-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .xa-stats-grid {
    grid-template-columns: 1fr;
  }
}

.xa-stat-item {
  background: #FFFFFF;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 25px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}
.xa-stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.xa-stat-item .xa-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(146, 0, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.xa-stat-item .xa-stat-icon .dashicons {
  color: #92003C;
  font-size: 24px;
  width: 24px;
  height: 24px;
}
.xa-stat-item .xa-stat-content {
  flex: 1;
}
.xa-stat-item .xa-stat-content h3 {
  margin: 0 0 5px;
  font-size: 14px;
  color: #6D7882;
  font-weight: normal;
}
.xa-stat-item .xa-stat-content .xa-stat-value {
  font-size: 28px;
  font-weight: 600;
  color: #3A3F45;
}
.xa-stat-item:nth-child(2) .xa-stat-icon {
  background: rgba(90, 50, 251, 0.1);
}
.xa-stat-item:nth-child(2) .xa-stat-icon .dashicons {
  color: #5A32FB;
}
.xa-stat-item:nth-child(3) .xa-stat-icon {
  background: rgba(0, 144, 231, 0.1);
}
.xa-stat-item:nth-child(3) .xa-stat-icon .dashicons {
  color: #0090E7;
}

.xa-section-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.xa-section-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #3A3F45;
}
.xa-section-header .xa-badge {
  margin-right: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.xa-section-header .xa-badge.xa-badge-soon {
  background: linear-gradient(-135deg, #F49342 0%, rgb(246.805, 174.54, 114.195) 100%);
  color: white;
}

.xa-features-section {
  background: #FFFFFF;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 30px;
}

.xa-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .xa-features-grid {
    grid-template-columns: 1fr;
  }
}

.xa-feature-card {
  background: #FCFCFC;
  border-radius: 5px;
  padding: 25px;
  transition: all 0.3s ease;
  border: 1px solid #D5DADF;
}
.xa-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-color: rgba(146, 0, 60, 0.3);
}
.xa-feature-card:hover .xa-feature-icon {
  transform: scale(1.1);
  background: rgba(146, 0, 60, 0.15);
}
.xa-feature-card .xa-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(146, 0, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}
.xa-feature-card .xa-feature-icon .dashicons {
  color: #92003C;
  font-size: 22px;
  width: 22px;
  height: 22px;
}
.xa-feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #3A3F45;
}
.xa-feature-card p {
  margin: 0;
  color: #6D7882;
  font-size: 14px;
  line-height: 1.5;
}

.xa-quick-links-section {
  background: #FFFFFF;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 30px;
}

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

.xa-quick-link-card {
  display: flex;
  align-items: center;
  background: #FCFCFC;
  border-radius: 5px;
  padding: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #D5DADF;
}
.xa-quick-link-card:hover {
  background: #F1F3F5;
  border-color: rgba(146, 0, 60, 0.3);
  transform: translateX(-3px);
}
.xa-quick-link-card:hover .xa-quick-link-arrow {
  transform: translateX(-5px);
  opacity: 1;
}
.xa-quick-link-card .xa-quick-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(146, 0, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
  flex-shrink: 0;
}
.xa-quick-link-card .xa-quick-link-icon .dashicons {
  color: #92003C;
  font-size: 20px;
  width: 20px;
  height: 20px;
}
.xa-quick-link-card .xa-quick-link-content {
  flex: 1;
}
.xa-quick-link-card .xa-quick-link-content h3 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 600;
  color: #3A3F45;
}
.xa-quick-link-card .xa-quick-link-content p {
  margin: 0;
  color: #6D7882;
  font-size: 13px;
}
.xa-quick-link-card .xa-quick-link-arrow {
  margin-right: 15px;
  color: #92003C;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.xa-pro-card {
  background: linear-gradient(-135deg, #92003C 0%, rgb(69.5, 0, 28.5616438356) 100%);
  border-radius: 5px;
  padding: 30px;
  color: white;
  margin-bottom: 30px;
  position: relative;
  box-shadow: 0 10px 20px rgba(146, 0, 60, 0.2);
  overflow: hidden;
}
.xa-pro-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}
.xa-pro-card .xa-pro-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.xa-pro-card .xa-pro-header {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
}
.xa-pro-card .xa-pro-header h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
}
.xa-pro-card .xa-pro-header p {
  margin: 0;
  opacity: 0.8;
  font-size: 14px;
}
.xa-pro-card .xa-pro-features {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
}
.xa-pro-card .xa-pro-features .xa-pro-feature {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}
.xa-pro-card .xa-pro-features .xa-pro-feature .dashicons {
  color: rgba(255, 255, 255, 0.9);
  margin-left: 10px;
  font-size: 18px;
  width: 18px;
  height: 18px;
}
.xa-pro-card .xa-pro-features .xa-pro-feature span {
  opacity: 0.9;
}
.xa-pro-card .xa-pro-button {
  position: relative;
  z-index: 1;
  display: block;
  background: white;
  color: #92003C;
  border-radius: 5px;
  padding: 12px 20px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.xa-pro-card .xa-pro-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.xa-help-card {
  background: #FFFFFF;
  border-radius: 5px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #D5DADF;
}
.xa-help-card .xa-help-header {
  margin-bottom: 20px;
}
.xa-help-card .xa-help-header h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #3A3F45;
}
.xa-help-card .xa-help-header p {
  margin: 0;
  color: #6D7882;
  font-size: 14px;
}
.xa-help-card .xa-help-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5A32FB;
  color: white;
  border-radius: 5px;
  padding: 10px 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}
.xa-help-card .xa-help-button .dashicons {
  margin-left: 8px;
}
.xa-help-card .xa-help-button:hover {
  background: rgb(69.8684210526, 24.9880382775, 250.5119617225);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(90, 50, 251, 0.3);
}

.xa-admin-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
}

.xa-welcome-section {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}
.xa-welcome-section h2 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
}
.xa-welcome-section p {
  margin: 0 0 25px;
  color: #6D7882;
  line-height: 1.6;
}

.xa-quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 25px;
}
.xa-quick-links .xa-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: #F1F3F5;
  color: #3A3F45;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.xa-quick-links .xa-button .dashicons {
  margin-left: 8px;
  font-size: 18px;
  width: 18px;
  height: 18px;
}
.xa-quick-links .xa-button:hover {
  background: rgb(226.125, 230.25, 234.375);
  color: #3A3F45;
}

.xa-widgets-container {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
}

.xa-category-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #FFFFFF;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #D5DADF;
  overflow: hidden;
  position: sticky;
  top: 32px;
}

.xa-category-tabs {
  margin: 0;
  padding: 0;
  list-style: none;
}
.xa-category-tabs li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #D5DADF;
}
.xa-category-tabs li:last-child {
  border-bottom: none;
}
.xa-category-tabs .xa-category-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  text-decoration: none;
  color: #3A3F45;
  font-size: 13px;
  transition: all 0.2s ease;
  position: relative;
}
.xa-category-tabs .xa-category-tab:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: all 0.2s ease;
}
.xa-category-tabs .xa-category-tab:hover {
  background-color: rgba(146, 0, 60, 0.03);
  color: #92003C;
}
.xa-category-tabs .xa-category-tab:hover:before {
  background: rgba(146, 0, 60, 0.3);
}
.xa-category-tabs .xa-category-tab:hover .xa-category-count {
  background: rgba(146, 0, 60, 0.1);
  color: #92003C;
}
.xa-category-tabs .xa-category-tab.active {
  background-color: rgba(146, 0, 60, 0.07);
  color: #92003C;
  font-weight: 500;
}
.xa-category-tabs .xa-category-tab.active:before {
  background: #92003C;
}
.xa-category-tabs .xa-category-tab.active .xa-category-count {
  background: #92003C;
  color: #FFFFFF;
}
.xa-category-tabs .xa-category-tab.active:focus {
  outline: none;
  box-shadow: none;
}
.xa-category-tabs .xa-category-tab:focus {
  outline: none;
  box-shadow: none;
}
.xa-category-tabs .xa-category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: #F1F3F5;
  color: #6D7882;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.xa-widgets-filters {
  background: #FFFFFF;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: space-between;
}
.xa-widgets-filters .xa-filter-group label {
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
  color: #3A3F45;
  font-size: 14px;
}
.xa-widgets-filters .xa-filter-group input[type=text],
.xa-widgets-filters .xa-filter-group .xa-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #D5DADF;
  border-radius: 3px;
  background: #FFFFFF;
  font-size: 13px;
  line-height: 1.4;
  color: #3A3F45;
  cursor: pointer;
  transition: all 0.3s ease;
}
.xa-widgets-filters .xa-filter-group input[type=text]:hover,
.xa-widgets-filters .xa-filter-group .xa-select:hover {
  border-color: #92003C;
}
.xa-widgets-filters .xa-filter-group input[type=text]:focus,
.xa-widgets-filters .xa-filter-group .xa-select:focus {
  border-color: #92003C;
  box-shadow: 0 0 0 1px #92003C;
  outline: none;
}
.xa-widgets-filters .xa-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px;
}
.xa-widgets-filters .xa-filter-buttons .xa-filter-button {
  padding: 6px 12px;
  border: 1px solid #D5DADF;
  border-radius: 3px;
  background: #FFFFFF;
  color: #3A3F45;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 4px;
}
.xa-widgets-filters .xa-filter-buttons .xa-filter-button:hover {
  background: #F1F3F5;
  border-color: rgb(198.527027027, 205.25, 211.972972973);
}
.xa-widgets-filters .xa-filter-buttons .xa-filter-button.active {
  background: #92003C;
  color: #FFFFFF;
  border-color: #92003C;
}

.xa-widget-item {
  background: #FFFFFF;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}
.xa-widget-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.xa-widget-item .xa-widget-content {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.xa-widget-item .xa-widget-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.xa-widget-item .xa-widget-info .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
  color: #92003C;
  flex-shrink: 0;
}
.xa-widget-item .xa-widget-info .xa-widget-title-wrap {
  min-width: 0;
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.xa-widget-item .xa-widget-info .xa-widget-title-wrap h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #3A3F45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xa-widget-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  margin-top: 4px;
}
.xa-widget-badge.xa-widget-badge-new {
  background: linear-gradient(-135deg, #22C55E 0%, rgb(60.5584415584, 221.4415584416, 119.7792207792) 100%);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
  animation: pulse 2s infinite;
  margin-top: 0;
}

.xa-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  flex-shrink: 0;
}
.xa-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.xa-switch input:checked + .xa-slider {
  background-color: #92003C;
}
.xa-switch input:checked + .xa-slider:before {
  transform: translateX(-26px);
}
.xa-switch .xa-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: #D5DADF;
  transition: all 0.3s ease;
  border-radius: 24px;
}
.xa-switch .xa-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  right: 3px;
  bottom: 3px;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.xa-widget-item[data-type=pro] .xa-switch input:checked + .xa-slider {
  background-color: #FF0044;
}

#save-widgets.loading {
  position: relative;
  color: transparent !important;
  background-color: #92003C !important;
}
#save-widgets.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 16px;
  height: 16px;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  border-left-color: transparent;
  animation: spin 0.8s linear infinite;
}

.xa-notification {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 12px 20px;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 300px;
  max-width: 400px;
  animation: slideIn 0.3s ease;
}
.xa-notification.success {
  background: rgb(255, 120.5, 175.7739726027);
  border-right: 4px solid #92003C;
  color: #92003C;
}
.xa-notification.error {
  background: rgb(255, 229.5, 236.3);
  border-right: 4px solid #FF0044;
  color: #FF0044;
}
.xa-notification .xa-notification-message {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.xa-notification .xa-notification-message .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}
@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes spin {
  from {
    transform: translate(50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(50%, -50%) rotate(-360deg);
  }
}
@media screen and (min-width: 768px) {
  .xa-widgets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1024px) {
  .xa-widgets-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 1024px) {
  .xa-admin-content {
    grid-template-columns: 1fr;
  }
  .xa-admin-sidebar {
    order: -1;
  }
}
@media screen and (max-width: 782px) {
  .xa-widgets-filters {
    grid-template-columns: 1fr;
  }
  .xa-widgets-actions {
    flex-wrap: wrap;
  }
}
.xa-dashboard-page {
  background-color: #fff;
  padding: 40px;
}
.xa-dashboard-page h2 {
  font-size: 24px;
  margin-top: 0;
}

.xa-widgets-actions .submit {
  margin: 0;
  padding: 0;
}

.xa-admin-header {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}
.xa-admin-header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #1d2327;
}
.xa-admin-header .xa-admin-subtitle {
  margin: 10px 0 0;
  color: #646970;
  font-size: 14px;
}

.xa-admin-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
}

.xa-welcome-section {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}
.xa-welcome-section h2 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
}
.xa-welcome-section p {
  margin: 0 0 25px;
  color: #646970;
  line-height: 1.6;
}

.xa-quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 25px;
}
.xa-quick-links .xa-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: #f0f0f1;
  color: #1d2327;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.xa-quick-links .xa-button .dashicons {
  margin-left: 8px;
  font-size: 18px;
  width: 18px;
  height: 18px;
}
.xa-quick-links .xa-button:hover {
  background: #e5e5e5;
  color: #1d2327;
}

.xa-features-section {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.xa-features-section h2 {
  margin: 0 0 25px;
  font-size: 20px;
  font-weight: 600;
}

.xa-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.xa-features-grid .xa-feature-item {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.xa-features-grid .xa-feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.xa-features-grid .xa-feature-item .dashicons {
  font-size: 24px;
  width: 24px;
  height: 24px;
  color: #2271b1;
  margin-bottom: 15px;
}
.xa-features-grid .xa-feature-item h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
}
.xa-features-grid .xa-feature-item p {
  margin: 0;
  color: #646970;
  font-size: 14px;
  line-height: 1.5;
}

.xa-admin-sidebar .xa-pro-promo {
  background: linear-gradient(-135deg, #2271b1 0%, #135e96 100%);
  padding: 30px;
  border-radius: 8px;
  color: #fff;
}
.xa-admin-sidebar .xa-pro-promo h3 {
  margin: 0 0 15px;
  font-size: 20px;
  font-weight: 600;
}
.xa-admin-sidebar .xa-pro-promo p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}
.xa-admin-sidebar .xa-pro-promo .xa-pro-features {
  list-style: none;
  margin: 0 0 25px;
  padding: 0;
}
.xa-admin-sidebar .xa-pro-promo .xa-pro-features li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}
.xa-admin-sidebar .xa-pro-promo .xa-pro-features li .dashicons {
  color: #72aee6;
  margin-left: 8px;
}
.xa-admin-sidebar .xa-pro-promo .xa-button-pro {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: #fff;
  color: #2271b1;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.xa-admin-sidebar .xa-pro-promo .xa-button-pro:hover {
  background: #f0f0f1;
  color: #2271b1;
}

.xa-widgets-search-wrap {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  gap: 10px;
}
.xa-widgets-search-wrap label {
  display: block;
  font-weight: 500;
  color: #3A3F45;
  font-size: 14px;
}
.xa-widgets-search-wrap input {
  width: 100%;
  padding: 8px 15px;
  border: 1px solid #D5DADF;
  border-radius: 4px;
}

.xa-widgets-actions {
  display: flex;
  gap: 10px;
}
.xa-widgets-actions .button {
  display: flex;
  align-items: center;
  gap: 8px;
}

.xa-widgets-grid-wrap {
  width: 100%;
}

.xa-widgets-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}
.xa-widgets-grid .xa-widget-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}
.xa-widgets-grid .xa-widget-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.xa-widgets-grid .xa-widget-item .xa-widget-content {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.xa-widgets-grid .xa-widget-item .xa-widget-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.xa-widgets-grid .xa-widget-item .xa-widget-info .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
  color: #2271b1;
  flex-shrink: 0;
}
.xa-widgets-grid .xa-widget-item .xa-widget-info .xa-widget-title-wrap {
  min-width: 0;
  flex: 1;
}
.xa-widgets-grid .xa-widget-item .xa-widget-info .xa-widget-title-wrap h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1d2327;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xa-widget-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  margin-top: 4px;
}
.xa-widget-badge.xa-widget-badge-new {
  background: linear-gradient(-135deg, #00a32a 0%, #00d93d 100%);
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 163, 42, 0.2);
  animation: pulse 2s infinite;
  margin-top: 0px;
}

.xa-widget-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 163, 42, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(0, 163, 42, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 163, 42, 0);
  }
}
.xa-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  flex-shrink: 0;
}
.xa-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.xa-switch input:checked + .xa-slider {
  background-color: #2271b1;
}
.xa-switch input:checked + .xa-slider:before {
  transform: translateX(-26px);
}
.xa-switch .xa-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: #dcdcde;
  transition: 0.4s;
  border-radius: 24px;
}
.xa-switch .xa-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  right: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.xa-widget-item[data-type=pro] .xa-switch input:checked + .xa-slider {
  background-color: #92003b;
}

.xa-features-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.xa-widgets-actions .button {
  display: flex !important;
  align-items: center;
  padding: 4px 12px !important;
}

@media screen and (max-width: 1024px) {
  .xa-admin-content {
    grid-template-columns: 1fr;
  }
  .xa-admin-sidebar {
    order: -1;
  }
}
@media screen and (max-width: 782px) {
  .xa-widgets-filters {
    grid-template-columns: 1fr;
  }
  .xa-widgets-actions {
    flex-wrap: wrap;
  }
}
.xa-pro-comming-soon-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(-135deg, #ff6b6b 0%, #ff8e8e 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(255, 107, 107, 0.2);
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}
.xa-pro-comming-soon-badge::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(-90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% {
    right: -100%;
  }
  20% {
    right: 100%;
  }
  100% {
    right: 100%;
  }
}
@media screen and (min-width: 768px) {
  .xa-widgets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1024px) {
  .xa-widgets-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.xa-notification {
  position: fixed;
  top: 32px;
  left: 20px;
  padding: 12px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 300px;
  max-width: 400px;
  animation: slideIn 0.3s ease;
}
.xa-notification.success {
  background: #f0f6fc;
  border-right: 4px solid #2271b1;
  color: #2271b1;
}
.xa-notification.error {
  background: #fcf0f1;
  border-right: 4px solid #d63638;
  color: #d63638;
}
.xa-notification .xa-notification-message {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.xa-notification .xa-notification-message .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
#save-widgets.loading {
  position: relative;
  color: transparent !important;
  background-color: #2271b1 !important;
}
#save-widgets.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  border-left-color: transparent;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: translate(50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(50%, -50%) rotate(-360deg);
  }
}
@media screen and (max-width: 782px) {
  .xa-widgets-container {
    flex-direction: column;
  }
  .xa-category-sidebar {
    width: 100%;
    margin-bottom: 20px;
  }
  .xa-category-tabs {
    display: flex;
    flex-wrap: wrap;
  }
  .xa-category-tabs li {
    border-bottom: none;
    border-left: 1px solid #D5DADF;
  }
  .xa-category-tabs li:last-child {
    border-left: none;
  }
  .xa-category-tabs .xa-category-tab {
    padding: 10px 12px;
    font-size: 12px;
  }
  .xa-category-tabs .xa-category-tab .xa-category-count {
    margin-right: 6px;
  }
}