/**
 * =============================================================================
 * TOAST NOTIFICATION STYLES
 * =============================================================================
 */

/* Toast Container - oben rechts fixiert */
.twk-toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10000;
  pointer-events: none;
  max-width: 400px;
  width: 100%;
}

/* Einzelner Toast */
.twk-toast {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  pointer-events: auto;
  position: absolute;
  right: 0;
  width: 100%;
  border-left: 4px solid #3b82f6;
}

/* Toast Typen - unterschiedliche Border-Farben */
.twk-toast-task_accepted {
  border-left-color: #10b981;
}

.twk-toast-task_completed {
  border-left-color: #10b981;
}

.twk-toast-task_revision {
  border-left-color: #f59e0b;
}

.twk-toast-task_new {
  border-left-color: #3b82f6;
}

.twk-toast-task_deleted {
  border-left-color: #ef4444;
}

/* Toast Icon */
.twk-toast-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

/* Toast Content */
.twk-toast-content {
  flex: 1;
  min-width: 0;
}

.twk-toast-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
  line-height: 1.4;
}

.twk-toast-message {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
  word-wrap: break-word;
}

/* Close Button */
.twk-toast-close {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.twk-toast-close:hover {
  color: #4b5563;
}

/* Responsive */
@media (max-width: 640px) {
  .twk-toast-container {
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .twk-toast {
    width: auto;
  }
}
