/* =============================================================================
   BASE STYLES - Reset, Typography, Global Styles
   ============================================================================= */

/* CSS Reset and Box Sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and Global Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 15px; /* Reduced from 20px for better mobile */
  line-height: 1.5; /* Better readability */
}

/* Typography */
h2 {
  color: #2d3748;
  font-size: 28px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

h2::before {
  content: "🚀";
  font-size: 32px;
}

/* Utility Classes */
.hidden { 
  display: none !important; 
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1; 
  }
  50% { 
    opacity: 0.7; 
  }
}

@keyframes spin {
  0% { 
    transform: rotate(0deg); 
  }
  100% { 
    transform: rotate(360deg); 
  }
}

@keyframes slideInModal {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Scrollbar Styling */
textarea::-webkit-scrollbar {
  width: 10px;
}

textarea::-webkit-scrollbar-track {
  background: #0f172a;
  border-radius: 8px;
}

textarea::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 8px;
}

textarea::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

.search-dropdown::-webkit-scrollbar {
  width: 8px;
}

.search-dropdown::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.search-dropdown::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 4px;
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}