/**
 * ============================================
 * BRAINDUMP MVP - PROCESSING CHIP CSS
 * ============================================
 * 
 * @version     1.0.0
 * @date        2025-12-10
 * @time        15:00:00
 * 
 * PURPOSE:
 * Styles für den Processing Chip (GeBrainDumped Feedback)
 * ============================================
 */

/* Processing Chip Container */
.processing-chip {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  
  display: flex;
  align-items: center;
  gap: 8px;
  
  padding: 12px 20px;
  border-radius: 24px;
  
  background: var(--color-surface, #1a1a1a);
  border: 1px solid var(--color-border, #333);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  
  font-size: 14px;
  font-weight: 500;
  
  transition: all 0.3s ease;
}

.processing-chip.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(-20px);
  pointer-events: none;
}

/* Chip States */
.processing-chip.processing {
  border-color: var(--color-primary, #E6B87D);
}

.processing-chip.processing .processing-chip-icon {
  animation: pulse 1s ease-in-out infinite;
}

.processing-chip.success {
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0.2), 
    rgba(16, 185, 129, 0.1)
  );
  border-color: #10b981;
  color: #10b981;
}

.processing-chip.error {
  background: linear-gradient(135deg, 
    rgba(239, 68, 68, 0.2), 
    rgba(239, 68, 68, 0.1)
  );
  border-color: #ef4444;
  color: #ef4444;
}

.processing-chip.recording {
  background: linear-gradient(135deg, 
    rgba(239, 68, 68, 0.2), 
    rgba(239, 68, 68, 0.1)
  );
  border-color: #ef4444;
}

.processing-chip.recording .processing-chip-icon {
  animation: blink 1s ease-in-out infinite;
}

/* Chip Icon */
.processing-chip-icon {
  font-size: 18px;
  line-height: 1;
}

/* Chip Text */
.processing-chip-text {
  color: inherit;
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Status Container */
.status-container {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 1001;
  
  display: flex;
  flex-direction: column;
  gap: 8px;
  
  max-width: 360px;
}

/* Status Toast */
.status-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  
  padding: 12px 16px;
  border-radius: 8px;
  
  background: var(--color-surface, #1a1a1a);
  border: 1px solid var(--color-border, #333);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  
  font-size: 14px;
  
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.status-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.status-toast.hide {
  transform: translateX(100%);
  opacity: 0;
}

/* Toast Types */
.status-toast.status-info {
  border-left: 3px solid #3b82f6;
}

.status-toast.status-success {
  border-left: 3px solid #10b981;
}

.status-toast.status-warning {
  border-left: 3px solid #f59e0b;
}

.status-toast.status-error {
  border-left: 3px solid #ef4444;
}

/* Toast Icon */
.status-icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* Toast Message */
.status-message {
  flex: 1;
  color: var(--color-text, #fff);
}

/* Toast Close Button */
.status-close {
  background: none;
  border: none;
  color: var(--color-text-muted, #888);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.status-close:hover {
  opacity: 1;
}

/* Vault Seal */
.vault-seal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  
  transition: opacity 0.3s ease;
}

.vault-seal.hidden {
  display: none;
}

.vault-seal.animating {
  opacity: 1;
  pointer-events: auto;
}

.vault-seal-content {
  text-align: center;
  animation: sealPop 0.5s ease-out;
}

.vault-seal-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.vault-seal-text {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary, #E6B87D);
}

@keyframes sealPop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
  .processing-chip {
    top: 70px;
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .status-container {
    left: 10px;
    right: 10px;
    bottom: 90px;
    max-width: none;
  }
  
  .status-toast {
    font-size: 13px;
  }
}
