/* styles.css: Styles for the Quantum Circuit Simulator */

/* Global Reset */
body, h1, h2, h3, p, ul, ol, li, figure, figcaption, blockquote {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #0f0f0f; /* Dark luxury background */
  color: #ffffff; /* White text for contrast */
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

/* Header Styling */
.app-header {
  background: linear-gradient(90deg, #202020, #303030);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
  padding: 20px;
  width: 100%;
  text-align: center;
}

.app-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffa500; /* Luxury gold accent */
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Main Section */
.app-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

/* Controls Section */
.controls {
  background-color: #1a1a1a;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
  border: 1px solid #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 400px;
}

.controls label {
  font-size: 1.2rem;
  color: #ffffff;
}

.controls select {
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 8px;
  background: #303030;
  color: #ffffff;
  border: 1px solid #555555;
  outline: none;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.controls select:hover {
  background: #404040;
}

/* Visualization Section */
.visualization {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visualization canvas {
  border-radius: 8px;
  border: 2px solid #333333;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.7);
}

/* Status Message Styling */
.status-message {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffa500;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

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

::-webkit-scrollbar-thumb {
  background: #ffa500; /* Gold accent */
  border-radius: 8px;
}

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