/**
 * Global Styles
 * Clean, minimal CSS for application-wide styles
 * All component-specific styles are handled by MUI theme
 */

/* Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translateY(0);
  }
  40%, 43% {
    transform: translateY(-8px);
  }
  70% {
    transform: translateY(-4px);
  }
  90% {
    transform: translateY(-2px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(103, 80, 164, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(103, 80, 164, 0.6);
  }
}

@keyframes pulse-soft {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Utility Animation Classes */
.voice-activity {
  animation: pulse 1.5s infinite;
}

.audio-playing {
  animation: glow 2s infinite;
}

.transcription-live {
  animation: fadeIn 0.3s ease-in;
}

.animate-pulse-soft {
  animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Email Composer Layout */
.email-composer-full-height {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Gradient Utility Classes */
.gradient-primary {
  background: linear-gradient(135deg, #6750A4 0%, #512DA8 100%);
}

.gradient-accent {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
