/* NAFv4 Framework Modeler - Custom Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
  background-color: #f5f5f5;
}

/* React Flow custom styles */
.react-flow__node {
  font-size: 12px;
}

.react-flow__edge {
  stroke-width: 2px;
}

.react-flow__edge-text {
  font-size: 10px;
  font-weight: 600;
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

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

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

/* Button hover effects */
button {
  transition: all 0.2s ease;
}

button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

/* Focus styles */
button:focus,
select:focus,
input:focus {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}

/* Loading animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  animation: spin 1s linear infinite;
}

/* Responsive utilities */
@media (max-width: 768px) {
  /* Adjust for smaller screens if needed */
}
