/* ==========================================================================
   Sandhu Group - Autokorrektur & Deutsche Rechtschreibprüfung v1
   Echtzeit-Korrektur bei Leerzeichen, Satzzeichen & Enter.
   Inklusive Button '✨ Text korrigieren' und Feedback-Toast.
   ========================================================================== */

.sandhu-tb-btn-autocorrect {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 3px 10px !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  transition: all 0.15s ease-in-out !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.sandhu-tb-btn-autocorrect:hover {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important;
  border-color: #94a3b8 !important;
  color: #0284c7 !important;
  transform: translateY(-1px) !important;
}

.sandhu-tb-btn-autocorrect:active {
  transform: translateY(0) !important;
}

.sandhu-tb-btn-autocorrect .sandhu-sparkle-icon {
  font-size: 13px !important;
  line-height: 1 !important;
}

/* Feedback Toast Notification */
.sandhu-autocorrect-toast {
  position: absolute;
  bottom: 12px;
  right: 16px;
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0f172a;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sandhu-autocorrect-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.sandhu-autocorrect-toast.success {
  background-color: #065f46;
  color: #ecfdf5;
  border: 1px solid #059669;
}

.sandhu-autocorrect-toast.info {
  background-color: #1e293b;
  color: #f1f5f9;
  border: 1px solid #334155;
}
