/* Quick Sign - Minimalist Dark Theme */

/* Container */
.sign-app-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  position: relative;
  justify-content: space-between; /* Distribute space */
}

/* Controls Top */
.controls-top {
  display: flex;
  gap: 20px;
  background: #222;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid #333;
  margin-bottom: 1rem;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-group label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Inputs */
input[type="color"] {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  background: none;
  padding: 0;
  overflow: hidden;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: 2px solid #444;
  border-radius: 50%;
}

select {
  background: var(--bg-primary);
  color: var(--text-secondary);
  border: 1px solid #444;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-family: "JetBrains Mono", monospace;
  cursor: pointer;
}

select:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* Canvas Wrapper */
.canvas-wrapper {
  flex: 1;
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* Optional: Add a border or ensure canvas is visible against background */
}

canvas {
  background: #fff; /* Default canvas bg */
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  cursor: crosshair;
  max-width: 100%;
  max-height: 100%;
  touch-action: none; /* Prevent scrolling while drawing */
}

/* Controls Bottom (Action Buttons) */
.controls-bottom {
  display: flex;
  gap: 15px;
  margin-bottom: 4rem; /* Space for footer */
}

/* Responsive */
@media (max-width: 640px) {
  .controls-top {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: var(--radius-md);
  }

  .canvas-wrapper {
    width: 100%;
    padding: 0 10px;
  }

  canvas {
    width: 100%;
    height: auto;
  }
}
