/* Garuda Universal Toast & Modal Dialog Styles */

/* Toast Container - Bottom Right Only */
.garuda-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: auto;
  transform: none;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
  max-width: 620px;
  width: calc(100vw - 48px);
}

/* Individual Toast */
.garuda-toast {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  background: #1e293b;
  color: #ffffff;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.12);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 580px;
  width: auto;
  word-break: break-word;
}

.garuda-toast.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.garuda-toast i {
  font-size: 18px;
  flex-shrink: 0;
}

/* Toast Color Variants */
.garuda-toast--success {
  background: #15803d;
  color: #ffffff;
}

.garuda-toast--error {
  background: #b91c1c;
  color: #ffffff;
}

.garuda-toast--warning {
  background: #b45309;
  color: #ffffff;
}

.garuda-toast--info {
  background: #1e293b;
  color: #ffffff;
}

/* Compact Centered Confirmation Dialog */
.garuda-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.garuda-confirm-overlay.active {
  opacity: 1;
}

.garuda-confirm-dialog {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 28px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transform: scale(0.92);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-align: left;
}

.garuda-confirm-overlay.active .garuda-confirm-dialog {
  transform: scale(1);
}

.garuda-confirm-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.garuda-confirm-title i {
  font-size: 20px;
  color: #c0392b;
}

.garuda-confirm-message {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 22px 0;
}

.garuda-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-confirm-cancel {
  padding: 10px 18px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-confirm-cancel:hover {
  background: #e2e8f0;
}

.btn-confirm-ok {
  padding: 10px 20px;
  border-radius: 10px;
  background: #c0392b;
  color: #ffffff;
  border: none;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.25);
}

.btn-confirm-ok:hover {
  background: #a93226;
  transform: translateY(-1px);
}

.btn-confirm-ok.primary-btn {
  background: #1e293b;
  box-shadow: 0 4px 12px rgba(30, 41, 59, 0.25);
}

.btn-confirm-ok.primary-btn:hover {
  background: #0f172a;
}
