/* Button & Component Styles */
button.sifency-admin-btn:focus,
button.sifency-admin-btn:focus-visible,
button.sifency-admin-btn:active,
button.sifency-admin-btn:hover,
button.sifency-admin-btn:target,
button.sifency-admin-btn:focus-within,
a.sifency-admin-btn:focus-visible,
a.sifency-admin-btn:focus,
a.sifency-admin-btn:active,
a.sifency-admin-btn:hover,
a.sifency-admin-btn:target,
a.sifency-admin-btn:focus-within,
.sifency-admin-btn:focus,
.sifency-admin-btn:focus-visible,
.sifency-admin-btn:active,
.sifency-admin-btn:hover,
.sifency-admin-btn:target,
.sifency-admin-btn:focus-within {
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none;
}
button.button.button-primary.plugin-action-btn.activate-btn.sifency-admin-btn
  .spinner,
button.button.button-primary.plugin-action-btn.activated-btn.sifency-admin-btn
  .spinner {
  display: none;
}
button.button.button-primary.plugin-action-btn.activate-btn.sifency-admin-btn.processing
  .spinner,
button.button.button-primary.plugin-action-btn.activated-btn.sifency-admin-btn.processing
  .spinner {
  display: initial !important;
}
button.button.button-primary.plugin-action-btn.activate-btn.sifency-admin-btn.processing,
button.button.button-primary.plugin-action-btn.activated-btn.sifency-admin-btn.processing {
  display: flex;
  align-items: center;
}
.sifency-copy-btn {
  background: linear-gradient(90deg, #007cba, #00a6ff);
  border: none !important;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  transition: all 0.2s ease;
}

.sifency-copy-btn:hover {
  background: linear-gradient(90deg, #008edc, #33b3ff);
  transform: translateY(-1px);
}

.sifency-copy-btn .dashicons {
  font-size: 16px;
  line-height: 1;
  color: var(--sifency-accent);
}

.sifency-copy-btn::after {
  content: attr(title);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: #1e293b;
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.15s ease;
}
.sifency-copy-btn:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.plugin-action-btn {
  min-width: 130px;
  text-align: center;

}
.sifency-nav-item.sifency-admin-btn{
  cursor: pointer;
}
button.button.button-primary.plugin-action-btn.install-btn:hover,
button.button.button-primary.plugin-action-btn.activate-btn.sifency-admin-btn:hover{
  background-color: var(--sifency-accent-hover);
    transition: all 0.3s ease-in-out;
}
button.button.button-primary.plugin-action-btn.activate-btn.sifency-admin-btn,
button.button.button-primary.plugin-action-btn.install-btn{
  background-color: var(--sifency-accent);
  transition: all 0.3s ease-in-out;
  border: none;
}
.plugin-action-btn.activated-btn {
  background: #f0f0f1 !important;
  border-color: #dcdcde !important;
  color: #50575e !important;
  cursor: default;
}
.plugin-action-btn.processing .spinner {
  visibility: visible;
  display: inline-block;
  margin: -2px 5px 0 0;
}

.sifency-admin-wrap button,
.sifency-admin-wrap .button {
  border-radius: var(--sifency-radius-sm);
  padding: 8px 16px;
  font-weight: 600;
  transition: var(--sifency-transition);
  border: 1px solid #f1f1f1;
  background: var(--sifency-card-bg);
  color: var(--sifency-heading);
  position: relative;
  overflow: hidden;
  font-size: 13px;
  box-shadow: none;
}

.sifency-admin-wrap button:hover,
.sifency-admin-wrap .button:hover {
  background: var(--sifency-accent);
  color: white;
  border-color: var(--sifency-accent);
  box-shadow: none !important;
}

.sifency-admin-wrap button::before,
.sifency-admin-wrap .button::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;
  box-shadow: none !important;
}

.sifency-admin-wrap button:hover::before,
.sifency-admin-wrap .button:hover::before {
  left: 100%;
}

.sifency-welcome-actions .button-hero {
  padding: 8px 20px;
  height: auto;
}

.sifency-pro-button {
  display: inline-block;
  background: #fff;
  color: var(--sifency-primary-color);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
}

.sifency-button-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.sifency-button-group .button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sifency-export-item p {
  font-size: 13px;
  color: var(--sifency-text-muted);
  flex-grow: 1;
  margin-bottom: 16px;
}
.sifency-addons-export-import-btn.button {
  background-color: var(--sifency-accent);
  border: none;
  transition: all 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: auto;
}

.sifency-addons-export-import-btn.button:hover {
  background-color: var(--sifency-accent-hover);
}

.button.button-danger.button-large.sifency-admin-btn {
  background-color: var(--sifency-danger-color);
  border: none;
  color: #fff;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.sifency-admin-btn.sifency-secondary-btn{
  border-color: var(--sifency-border-color);
  color: #101010;
  display: flex;
  align-items: center;
}
.sifency-admin-btn.sifency-secondary-btn:hover{
  border-color: var(--sifency-accent);
}
.sifency-admin-btn.sifency-secondary-btn .dashicons{
  color: var(--sifency-accent);
}
.sifency-admin-btn.button-danger{
  border-color: var(--sifency-border-color);
  color: var(--sifency-danger-color);
  display: flex;
  align-items: center;
}
.sifency-admin-btn.button-danger:hover{
  border-color: var(--sifency-danger-color);
  color: var(--sifency-danger-color);
}