/* Optional fonts — if WP blocks @import, it will still work with system fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Cinzel+Decorative:wght@700&display=swap');

#crazy_coder-wrapper {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #000;
  color: #fff;
  min-height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 24px 12px;
}

#crazy_coder-wrapper .crazy_coder-container {
  text-align: center;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(74, 58, 253, 0.35);
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 0 24px rgba(74, 58, 253, 0.25);
  width: 100%;
  max-width: 760px;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#crazy_coder-wrapper .crazy_coder-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(124, 104, 255, 0.45);
}

#crazy_coder-wrapper .crazy_coder-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

#crazy_coder-wrapper .crazy_coder-subtitle {
  color: #bdbdbd;
  margin: 0 0 22px;
  font-size: 0.98rem;
}

#crazy_coder-wrapper .crazy_coder-input-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

#crazy_coder-wrapper .crazy_coder-input,
#crazy_coder-wrapper .crazy_coder-select,
#crazy_coder-wrapper .crazy_coder-color {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(74, 58, 253, 0.45);
  background: #0f0f10;
  color: #fff;
  font-size: 1rem;
  min-width: 140px;
  text-align: center;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

#crazy_coder-wrapper .crazy_coder-input::placeholder {
  color: #9a9a9a;
}

#crazy_coder-wrapper .crazy_coder-input:focus,
#crazy_coder-wrapper .crazy_coder-select:focus {
  outline: none;
  border-color: #7C68FF;
  box-shadow: 0 0 10px rgba(124, 104, 255, 0.7);
}

#crazy_coder-wrapper .crazy_coder-select {
  cursor: pointer;
  color: #4A3AFD;
  background: #fff;
  font-weight: 600;
}

#crazy_coder-wrapper .crazy_coder-color {
  cursor: pointer;
  height: 46px;
  width: 52px;
  padding: 0;
  border-radius: 8px;
  border: 2px solid #4A3AFD;
  background: none;
}

#crazy_coder-wrapper .crazy_coder-btn {
  padding: 12px 22px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, #4A3AFD, #7C68FF);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(74, 58, 253, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#crazy_coder-wrapper .crazy_coder-btn:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 22px rgba(124, 104, 255, 0.85);
}

#crazy_coder-wrapper .crazy_coder-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#crazy_coder-wrapper .crazy_coder-output {
  margin-top: 26px;
}

#crazy_coder-wrapper canvas {
  display: block;
  margin: 0 auto;
  background: transparent;
}
