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

.asa-admin-inner-wrap {
  background: #fff;
  padding: 40px;
  border-radius: 6px;
}

.asa-admin-header {
  background: linear-gradient(135deg, #92003c 0%, rgb(69.5, 0, 28.5616438356) 100%);
  padding: 30px;
  border-radius: 6px;
  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;
}
.asa-admin-header:before {
  content: "";
  position: absolute;
  top: 0;
  right: 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;
}
.asa-admin-header .asa-admin-branding {
  position: relative;
  z-index: 1;
}
.asa-admin-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  position: relative;
  padding: 0;
}
.asa-admin-header h1:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
}
.asa-admin-header .asa-admin-subtitle {
  margin: 15px 0 0;
  color: #dbdbdb;
  font-size: 15px;
}
.asa-admin-header .asa-admin-actions {
  position: relative;
  z-index: 1;
}
.asa-admin-header .asa-button-primary {
  background: #92003c;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  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);
}
.asa-admin-header .asa-button-primary .dashicons {
  margin-right: 8px;
}
.asa-admin-header .asa-button-primary:hover {
  background: rgb(120.5, 0, 49.5205479452);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(146, 0, 60, 0.4);
}

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

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

.asa-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
@media (max-width: 768px) {
  .asa-stats-grid {
    grid-template-columns: 1fr;
  }
}

.asa-stat-item {
  background: #ffffff;
  border-radius: 6px;
  padding: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e7e7e7;
}
.asa-stat-item:hover {
  transform: translateY(-3px);
}
.asa-stat-item .asa-stat-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(146, 0, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.asa-stat-item .asa-stat-icon .dashicons {
  color: #92003c;
  font-size: 20px;
  width: 20px;
  height: 20px;
}
.asa-stat-item .asa-stat-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.asa-stat-item .asa-stat-content h3 {
  margin: 0;
  font-size: 16px;
  color: #3a3f45;
  font-weight: 600;
}
.asa-stat-item .asa-stat-content .asa-stat-value {
  font-size: 20px;
  font-weight: 600;
  color: #92003c;
}
.asa-stat-item:nth-child(2) .asa-stat-icon {
  background: rgba(90, 50, 251, 0.1);
}
.asa-stat-item:nth-child(2) .asa-stat-icon .dashicons {
  color: #5a32fb;
}
.asa-stat-item:nth-child(2) .asa-stat-value {
  color: #5a32fb;
}
.asa-stat-item:nth-child(3) .asa-stat-icon {
  background: rgba(0, 144, 231, 0.1);
}
.asa-stat-item:nth-child(3) .asa-stat-icon .dashicons {
  color: #0090e7;
}
.asa-stat-item:nth-child(3) .asa-stat-value {
  color: #0090e7;
}

.asa-section-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.asa-section-header .asa-section-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #3a3f45;
  position: relative;
}
.asa-section-header .asa-section-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 3px;
  background: currentColor;
  border-radius: 3px;
}

.asa-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .asa-features-grid {
    grid-template-columns: 1fr;
  }
}
.asa-features-grid .asa-badge {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  position: absolute;
  top: 20px;
  right: 20px;
}
.asa-features-grid .asa-badge.asa-badge-soon {
  border: 2px solid rgba(203, 200, 201, 0.302);
  color: #92003c;
  box-shadow: 0 0 10px rgba(203, 200, 201, 0.302);
}

.asa-feature-card {
  border-radius: 6px;
  padding: 25px;
  transition: all 0.3s ease;
  border: 1px solid #e7e7e7;
  position: relative;
}
.asa-feature-card:hover {
  transform: translateY(-3px);
}
.asa-feature-card:hover .asa-feature-icon {
  transform: scale(1.1);
  background: rgba(146, 0, 60, 0.15);
}
.asa-feature-card .asa-feature-icon {
  width: 45px;
  height: 45px;
  border-radius: 6px;
  background: rgba(146, 0, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}
.asa-feature-card .asa-feature-icon .dashicons {
  color: #92003c;
  font-size: 20px;
  width: 20px;
  height: 20px;
}
.asa-feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #3a3f45;
}
.asa-feature-card p {
  margin: 0;
  color: #6d7882;
  font-size: 14px;
  line-height: 1.5;
}

.asa-quick-links-section {
  margin-bottom: 30px;
}

.asa-quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.asa-quick-link-card {
  display: flex;
  align-items: center;
  border-radius: 6px;
  padding: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #e7e7e7;
  outline: none;
  box-shadow: none;
}
.asa-quick-link-card:hover {
  transform: translateX(3px);
}
.asa-quick-link-card:hover .asa-quick-link-arrow {
  transform: translateX(5px);
  opacity: 1;
}
.asa-quick-link-card .asa-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-right: 15px;
  flex-shrink: 0;
}
.asa-quick-link-card .asa-quick-link-icon .dashicons {
  color: #92003c;
  font-size: 20px;
  width: 20px;
  height: 20px;
}
.asa-quick-link-card .asa-quick-link-content {
  flex: 1;
}
.asa-quick-link-card .asa-quick-link-content h3 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 600;
  color: #3a3f45;
}
.asa-quick-link-card .asa-quick-link-content p {
  margin: 0;
  color: #6d7882;
  font-size: 13px;
}
.asa-quick-link-card .asa-quick-link-arrow {
  margin-left: 15px;
  color: #92003c;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.asa-pro-card {
  background: linear-gradient(135deg, #92003c 0%, rgb(69.5, 0, 28.5616438356) 100%);
  border-radius: 6px;
  padding: 30px;
  color: white;
  margin-bottom: 30px;
  position: relative;
  box-shadow: 0 10px 20px rgba(146, 0, 60, 0.2);
  overflow: hidden;
}
.asa-pro-card:before {
  content: "";
  position: absolute;
  top: 0;
  right: 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;
}
.asa-pro-card .asa-pro-header {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
}
.asa-pro-card .asa-pro-header h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
}
.asa-pro-card .asa-pro-header p {
  margin: 0;
  opacity: 0.8;
  font-size: 14px;
}
.asa-pro-card .asa-pro-features {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
}
.asa-pro-card .asa-pro-features .asa-pro-feature {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}
.asa-pro-card .asa-pro-features .asa-pro-feature .dashicons {
  color: rgba(255, 255, 255, 0.9);
  margin-right: 10px;
  font-size: 18px;
  width: 18px;
  height: 18px;
}
.asa-pro-card .asa-pro-features .asa-pro-feature span {
  opacity: 0.9;
}
.asa-pro-card .asa-pro-button {
  position: relative;
  z-index: 1;
  display: block;
  background: white;
  color: #92003c;
  border-radius: 6px;
  padding: 12px 20px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.asa-pro-card .asa-pro-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.asa-help-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 25px;
  border: 1px solid #e7e7e7;
}
.asa-help-card .asa-help-header {
  margin-bottom: 20px;
}
.asa-help-card .asa-help-header h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #3a3f45;
}
.asa-help-card .asa-help-header p {
  margin: 0;
  color: #6d7882;
  font-size: 14px;
}
.asa-help-card .asa-help-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #92003c;
  color: white;
  border-radius: 6px;
  padding: 10px 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}
.asa-help-card .asa-help-button .dashicons {
  margin-right: 8px;
}
.asa-help-card .asa-help-button:hover {
  background: rgb(120.5, 0, 49.5205479452);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(146, 0, 60, 0.3);
}

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

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

.asa-quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 25px;
}
.asa-quick-links .asa-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;
}
.asa-quick-links .asa-button .dashicons {
  margin-right: 8px;
  font-size: 18px;
  width: 18px;
  height: 18px;
}
.asa-quick-links .asa-button:hover {
  background: rgb(226.125, 230.25, 234.375);
  color: #3a3f45;
}

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

.asa-category-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e7e7e7;
  overflow: hidden;
  position: sticky;
  top: 32px;
}

.asa-category-tabs {
  margin: 0;
  padding: 0;
  list-style: none;
}
.asa-category-tabs li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e7e7e7;
}
.asa-category-tabs li:last-child {
  border-bottom: none;
}
.asa-category-tabs .asa-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;
  font-weight: 600 !important;
}
.asa-category-tabs .asa-category-tab:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: all 0.2s ease;
}
.asa-category-tabs .asa-category-tab:hover {
  background-color: rgba(146, 0, 60, 0.03);
  color: #92003c;
}
.asa-category-tabs .asa-category-tab:hover:before {
  background: rgba(146, 0, 60, 0.3);
}
.asa-category-tabs .asa-category-tab:hover .asa-category-count {
  background: rgba(146, 0, 60, 0.1);
  color: #92003c;
}
.asa-category-tabs .asa-category-tab.active {
  background-color: rgba(146, 0, 60, 0.07);
  color: #92003c;
  font-weight: 500;
}
.asa-category-tabs .asa-category-tab.active:before {
  background: #92003c;
}
.asa-category-tabs .asa-category-tab.active .asa-category-count {
  background: #92003c;
  color: #ffffff;
}
.asa-category-tabs .asa-category-tab.active:focus {
  outline: none;
  box-shadow: none;
}
.asa-category-tabs .asa-category-tab:focus {
  outline: none;
  box-shadow: none;
}
.asa-category-tabs .asa-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;
}

.asa-widgets-filters {
  background: linear-gradient(135deg, #92003c 0%, rgb(69.5, 0, 28.5616438356) 100%);
  padding: 30px;
  border-radius: 6px;
  margin-bottom: 30px;
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: space-between;
}
.asa-widgets-filters .asa-widgets-filters-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-direction: row-reverse;
}
.asa-widgets-filters .asa-filter-group input[type=text],
.asa-widgets-filters .asa-filter-group .asa-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e7e7e7;
  border-radius: 3px;
  background: #ffffff;
  font-size: 13px;
  line-height: 1.4;
  color: #3a3f45;
  cursor: pointer;
  transition: all 0.3s ease;
}
.asa-widgets-filters .asa-filter-group input[type=text]:hover,
.asa-widgets-filters .asa-filter-group .asa-select:hover {
  border-color: #92003c;
}
.asa-widgets-filters .asa-filter-group input[type=text]:focus,
.asa-widgets-filters .asa-filter-group .asa-select:focus {
  border-color: #92003c;
  box-shadow: 0 0 0 1px #92003c;
  outline: none;
}
.asa-widgets-filters .asa-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.asa-widgets-filters .asa-filter-buttons .asa-filter-button {
  padding: 10px 14px;
  border: 1px solid rgba(231, 231, 231, 0.1294117647);
  border-radius: 6px;
  background: rgba(148, 43, 85, 0.5607843137);
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  font-weight: 600;
}
.asa-widgets-filters .asa-filter-buttons .asa-filter-button:hover {
  color: #3a3f45;
  background: #f1f3f5;
  border-color: rgb(218.25, 218.25, 218.25);
}
.asa-widgets-filters .asa-filter-buttons .asa-filter-button.active {
  background: #f1f3f5;
  color: #3a3f45;
  border-color: #e7e7e7;
}

.asa-widget-item {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e7e7e7;
}
.asa-widget-item:hover {
  transform: translateY(-2px);
}
.asa-widget-item .asa-widget-content {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.asa-widget-item .asa-widget-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.asa-widget-item .asa-widget-info .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
  color: #92003c;
  flex-shrink: 0;
}
.asa-widget-item .asa-widget-info .asa-widget-title-wrap {
  min-width: 0;
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.asa-widget-item .asa-widget-info .asa-widget-title-wrap h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #3a3f45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.asa-widget-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  margin-top: 4px;
}
.asa-widget-badge.asa-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;
}

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

.asa-widget-item[data-type=pro] .asa-switch input:checked + .asa-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%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-right-color: transparent;
  animation: spin 0.8s linear infinite;
}

.asa-notification {
  position: absolute;
  top: 20px;
  right: 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;
}
.asa-notification.success {
  background: rgb(255, 120.5, 175.7739726027);
  border-left: 4px solid #92003c;
  color: #92003c;
}
.asa-notification.error {
  background: rgb(255, 229.5, 236.3);
  border-left: 4px solid #ff0044;
  color: #ff0044;
}
.asa-notification .asa-notification-message {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.asa-notification .asa-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) {
  .asa-widgets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1024px) {
  .asa-widgets-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 1024px) {
  .asa-admin-content {
    grid-template-columns: 1fr;
  }
  .asa-admin-sidebar {
    order: -1;
  }
}
@media screen and (max-width: 782px) {
  .asa-widgets-filters {
    grid-template-columns: 1fr;
  }
  .asa-widgets-actions {
    flex-wrap: wrap;
  }
}
.asa-dashboard-page {
  background-color: #fff;
  padding: 40px;
}
.asa-dashboard-page h2 {
  font-size: 24px;
  margin-top: 0;
}

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

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

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

.asa-quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 25px;
}
.asa-quick-links .asa-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;
}
.asa-quick-links .asa-button .dashicons {
  margin-right: 8px;
  font-size: 18px;
  width: 18px;
  height: 18px;
}
.asa-quick-links .asa-button:hover {
  background: #e5e5e5;
  color: #1d2327;
}

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

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

.asa-widgets-search-wrap input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid rgba(213, 218, 223, 0.2705882353);
  border-radius: 6px;
  background: transparent;
  line-height: 1;
  color: #fff;
}
.asa-widgets-search-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.808);
}
.asa-widgets-search-wrap input:focus {
  box-shadow: 0 0 0 2px rgba(237, 149, 185, 0.2);
  outline: 1px solid #ed95b9;
  border-color: #ed95b9;
}

.asa-widgets-actions {
  display: flex;
  gap: 10px;
}
.asa-widgets-actions .button {
  display: flex;
  align-items: center;
  padding: 7px 12px;
  line-height: 1;
  border-radius: 6px;
  background: #92003c;
  border-color: #9a3b63;
  color: #fff;
  transition: all 0.3s ease;
}
.asa-widgets-actions .button:focus, .asa-widgets-actions .button:active, .asa-widgets-actions .button:hover {
  background: #fff;
  border-color: #fff;
  color: #92003c;
  box-shadow: 0 0 0 1px #fff, 0 0 0 3px #ffffff;
}

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

.asa-widgets-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}
.asa-widgets-grid .asa-widget-item .asa-widget-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.asa-widgets-grid .asa-widget-item .asa-widget-info .asa-widget-title-wrap {
  min-width: 0;
  flex: 1;
}
.asa-widgets-grid .asa-widget-item .asa-widget-info .asa-widget-title-wrap h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1d2327;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.asa-widget-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  margin-top: 4px;
}
.asa-widget-badge.asa-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;
}

.asa-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);
  }
}
.asa-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  flex-shrink: 0;
}
.asa-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.asa-switch input:checked + .asa-slider:before {
  transform: translateX(26px);
}
.asa-switch .asa-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #dcdcde;
  transition: 0.4s;
  border-radius: 24px;
}
.asa-switch .asa-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

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

.asa-widget-locked {
  position: relative;
  border: 1px dashed #92003c !important;
}
.asa-widget-locked .asa-widget-content {
  position: relative;
}
.asa-widget-locked .asa-widget-lock-overlay {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background: #92003c;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(214, 54, 56, 0.3);
}
.asa-widget-locked .asa-widget-lock-overlay .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: #fff;
}
.asa-widget-locked:hover {
  transform: none !important;
  opacity: 0.8;
}

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

@media screen and (max-width: 1024px) {
  .asa-admin-content {
    grid-template-columns: 1fr;
  }
  .asa-admin-sidebar {
    order: -1;
  }
}
@media screen and (max-width: 782px) {
  .asa-widgets-filters {
    grid-template-columns: 1fr;
  }
  .asa-widgets-actions {
    flex-wrap: wrap;
  }
}
.asa-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;
}
.asa-pro-comming-soon-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
@media screen and (min-width: 768px) {
  .asa-widgets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1024px) {
  .asa-widgets-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.asa-notification {
  position: fixed;
  top: 32px;
  right: 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;
}
.asa-notification.success {
  background: #f0f6fc;
  border-left: 4px solid #92003c;
  color: #92003c;
}
.asa-notification.error {
  background: #fcf0f1;
  border-left: 4px solid #d63638;
  color: #d63638;
}
.asa-notification .asa-notification-message {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.asa-notification .asa-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: #92003c !important;
}
#save-widgets.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  border-right-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) {
  .asa-widgets-container {
    flex-direction: column;
  }
  .asa-category-sidebar {
    width: 100%;
    margin-bottom: 20px;
  }
  .asa-category-tabs {
    display: flex;
    flex-wrap: wrap;
  }
  .asa-category-tabs li {
    border-bottom: none;
    border-right: 1px solid #e7e7e7;
  }
  .asa-category-tabs li:last-child {
    border-right: none;
  }
  .asa-category-tabs .asa-category-tab {
    padding: 10px 12px;
    font-size: 12px;
  }
  .asa-category-tabs .asa-category-tab .asa-category-count {
    margin-left: 6px;
  }
}