.btn,
.soft-btn,
.install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-xl);
  font-size: 12px;
  font-weight: 700;
  line-height: 1rem;
  transition: background .15s, border-color .15s, transform .1s, filter .15s;
}

.btn:active,
.soft-btn:active,
.install-btn:active,
.profile-toggle:active,
.check-card:active,
.partner-option:active {
  transform: scale(.97);
}

.btn {
  padding: 8px 12px;
  border: 1px solid transparent;
}

.btn:hover,
.soft-btn:hover,
.install-btn:hover {
  filter: brightness(1.12);
}

.btn-green {
  padding: 6px 12px;
  border-radius: 8px;
  background: #059669;
  color: var(--white);
  font-weight: 700;
}

.btn-save {
  padding: 8px 16px;
  border-color: rgba(16, 185, 129, .5);
  background: rgba(16, 185, 129, .2);
  color: #6ee7b7;
  font-weight: 800;
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, .1);
}

.btn-publish {
  padding: 8px 16px;
  border: 0;
  background: var(--accent-amber);
  color: #020617;
  font-weight: 900;
  box-shadow: 0 10px 15px -3px rgba(245, 158, 11, .2);
}

.btn-purple {
  padding: 8px 14px;
  border: 1px solid rgba(168, 85, 247, .4);
  background: rgba(168, 85, 247, .2);
  color: #d8b4fe;
  font-weight: 800;
}

.btn-purple-solid {
  flex: 1;
  max-width: 200px;
  padding: 10px 12px;
  border: 0;
  background: #9333ea;
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 10px 15px -3px rgba(88, 28, 135, .4);
}

.btn-secondary {
  border-color: var(--border-dark);
  background: var(--slate-800);
  color: var(--slate-300);
}

.btn-danger {
  background: #e11d48;
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 10px 15px -3px rgba(136, 19, 55, .4);
}

.soft-btn {
  padding: 8px 12px;
  border: 1px solid var(--border-dark);
  background: var(--slate-800);
  color: var(--slate-200);
}

.danger-soft {
  padding: 6px;
  border-color: rgba(244, 63, 94, .4);
  background: rgba(244, 63, 94, .1);
  color: var(--accent-red);
}

.amber-soft,
.cyan-soft {
  padding: 6px 12px;
}

.amber-soft {
  border-color: rgba(245, 158, 11, .4);
  background: rgba(245, 158, 11, .2);
  color: #fbbf24;
}

.cyan-soft {
  border-color: rgba(6, 182, 212, .4);
  background: rgba(6, 182, 212, .2);
  color: var(--accent-cyan);
}

.install-btn {
  padding: 6px 12px;
  border: 1px solid rgba(6, 182, 212, .4);
  border-radius: var(--radius-xl);
  background: rgba(6, 182, 212, .1);
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 700;
}

.lote-badge {
  padding: 4px 12px;
  border: 1px solid rgba(16, 185, 129, .3);
  border-radius: 9999px;
  background: rgba(16, 185, 129, .1);
  color: #34d399;
  font-size: 11px;
  font-weight: 800;
  line-height: 1rem;
  white-space: nowrap;
}

.switch-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  background: var(--slate-800);
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.switch-label > span:first-child {
  color: var(--slate-300);
}

.switch {
  position: relative;
  width: 32px;
  height: 16px;
  flex: 0 0 32px;
  border-radius: 999px;
  background: var(--slate-700);
  transition: background .15s;
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  transition: transform .15s;
}

.switch-label input:checked + .switch {
  background: #06b6d4;
}

.switch-label input:checked + .switch::after {
  transform: translateX(16px);
}

.switch-small {
  width: 28px;
  height: 16px;
  flex-basis: 28px;
}

.switch-small::after {
  width: 12px;
  height: 12px;
}

.switch-label input:checked + .switch-small::after {
  transform: translateX(12px);
}
