/* Custom terminal-style animations */
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.cursor::after {
  content: '▋';
  animation: blink 1s infinite;
  color: #22c55e;
}

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

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

::-webkit-scrollbar-thumb {
  background: #4b5563;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

/* Code editor focus effects */
textarea:focus {
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

/* Button hover effects */
button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Smooth transitions */
* {
  transition: all 0.2s ease;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 1.5rem !important;
  }
  
  .flex {
    flex-direction: column;
    align-items: stretch;
  }
  
  .flex > * {
    margin-bottom: 0.5rem;
  }
}