/* Custom styles for Flux Fusion Studio */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-green: #10B981;
  --secondary-orange: #F97316;
  --dark-bg: #111827;
  --card-bg: #1F2937;
  --border-color: #374151;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark-bg);
  color: #F9FAFB;
  line-height: 1.6;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1F2937;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #059669;
}

/* Custom utility classes */
.bg-gradient-primary {
  background: linear-gradient(90deg, var(--primary-green) 0%, var(--secondary-orange) 100%);
}

.text-glow-green {
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.border-gradient {
  border: 1px solid transparent;
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
              linear-gradient(90deg, var(--primary-green), var(--secondary-orange)) border-box;
}

/* Animation keyframes */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pulse-animation {
  animation: pulse 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .grid-cols-custom {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

/* Custom card hover effect */
.model-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.model-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.model-card:hover::before {
  transform: translateX(100%);
}

/* Progress bar styling */
.progress-container {
  height: 8px;
  background-color: #374151;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange));
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Input range styling */
input[type="range"] {
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: #374151;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-green);
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* Button hover effects */
.btn-hover-effect {
  position: relative;
  overflow: hidden;
}

.btn-hover-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn-hover-effect:hover::after {
  left: 100%;
}