body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #e0f7fa, #fff3e0);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 0;
}

.container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 90%;
  max-width: 1200px;
  margin: 4.35rem auto;

}

.cypher-box {
  flex: 1 1 400px;
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.cypher-box:hover {
  transform: translateY(-5px);
}

textarea, input {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.8rem;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}

button {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: none;
  background: #00bcd4;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #008c9e;
}

.output-label {
  margin-top: 1rem;
  font-weight: bold;
}

.output-container {
  position: relative;
  margin-bottom: 1rem;
}

.output-box {
  background: #f1f1f1;
  border-radius: 10px;
  padding: 1rem;
  min-height: 60px;
  white-space: pre-wrap;
  font-family: monospace;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
  padding-right: 40px; /* Make room for the copy button */
}

.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  background: #00bcd4;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.copy-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.copy-btn i {
  font-size: 14px;
}

.cypher-footer {
  background-color: #22223b;
  color: #c9ada7;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 1rem;
  margin-top: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.email-icon {
  margin-right: 8px;
  color: #c9ada7;
}
