/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  background-color: #1e1e2f;
  color: #ffffff;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 800px;
  background-color: #2a2a40;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
  color: #6c63ff;
}

header p {
  font-size: 1rem;
  color: #a0a0a0;
}

.calculator {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

input[type="text"] {
  padding: 0.75rem;
  border: 2px solid #6c63ff;
  border-radius: 8px;
  background-color: #3a3a50;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
}

input[type="text"]::placeholder {
  color: #a0a0a0;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

.buttons button {
  padding: 0.75rem;
  background-color: #6c63ff;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.buttons button:hover {
  background-color: #5a52e0;
}

button {
  padding: 0.75rem;
  background-color: #6c63ff;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #5a52e0;
}

.scroll-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.scroll-arrow {
  cursor: pointer;
  padding: 10px;
  color: #fff;
  user-select: none;
}

.result {
  flex-grow: 1;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px;
  border: 1px solid #6c63ff;
  margin: 0 10px;
}

#copyButton {
  display: block;
  width: 200px;
  margin: 10px auto;
  background-color: #6c63ff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#copyButton:hover {
  background-color: #5a52e0;
}

.graph-container {
  background-color: #3a3a50;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 20px;
}


