/* Base */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background: #ffffff;
  color: #000000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1.title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5rem;
  letter-spacing: 2px;
}

/* Input Stream */
.stream-input {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  width: 100%;
  max-width: 600px;
}

textarea {
  width: 100%;
  min-height: 60px;
  padding: 12px;
  margin-bottom: 10px;
  border: 2px solid #000;
  border-radius: 6px;
  font-size: 1rem;
  resize: none;
  outline: none;
}

/* Buttons */
.btn {
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: #333333;
}

/* Modules */
.modules-container {
  position: relative;
  width: 100%;
  height: 600px;
  margin-top: 20px;
}

.circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  cursor: pointer;
  transition: transform 0.4s ease, opacity 0.4s ease;
  text-align: center;
  padding: 10px;
}

.circle.project {
  background: #f0f0f0;
  font-weight: bold;
  top: 250px; /* center */
  left: calc(50% - 60px);
}

.circle.child {
  background: #ffffff;
}

/* Download */
.download-wrapper {
  margin-top: 40px;
  position: relative;
}

.download-options {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.download-options.hidden {
  display: none;
}

.download-options button {
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.download-options button:hover {
  background: #333333;
}
