
#page {
  display: flex;
  justify-content: center;
  flex-direction: row;
  gap: 20px;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #1e1e2f, #2a2a40);
  padding: 20px;
  color: #f5f5f5;
}

#cipherInfo {
  display: flex;
  padding: 20px;
  justify-content: center;
  flex-direction: column;
  border: 2px solid #4e54c8;
  border-radius: 12px;
  background: #1e1e2f;
  box-shadow: 0 6px 16px #000000;
}

#input, #output {
  margin-left: 20px;
  margin-right: 20px;
}

textarea {
  width: 320px;
  height: 220px;
  background: #2d2d44;
  color: #f5f5f5;
  border: 2px solid #4e54c8;
  border-radius: 10px;
  padding: 10px;
  resize: none;
  font-size: 16px;
}

textarea:focus {
  outline: none;
  border-color: #8f94fb;
  box-shadow: 0 0 8px #8f94fb;
}

#mappingDisplay {
  display: flex;
  justify-content: center;
  flex-direction: row;
  margin-top: 30px;
  width: 100%;
  background: #1e1e2f;
  padding: 20px;
  border: 2px solid #4e54c8;
  border-radius: 12px;
  box-shadow: 0 6px 16px #000000;
}

#mappingDisplay div {
  max-width: 900px;
  margin: 0 auto;
  color: #f5f5f5; 
  font-family: "Courier New", Courier, monospace;
  text-align: center;
}

#mappingDisplay p {
  margin: 10px 0;
  font-size: 16px;
  letter-spacing: 2px;
}

.dropbtn {
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  border: none;
  color: white;
  padding: 10px 16px;
  font-size: 16px;
  border-radius: 8px;
  transition: 0.2s ease, 0.2s ease;
}

.dropbtn:hover {
  box-shadow: 0 6px 14px #000000;
}

.dropdown {
  display: inline-block;
  margin-bottom: 25px;
}

.dropdown-content {
  display: none;
  background-color: #2d2d44;
  border: 1px solid #4e54c8;
  border-radius: 8px;
  min-width: 160px;
}

.dropdown-content button {
  background: none;
  border: none;
  color: #f5f5f5;
  padding: 10px 14px;
  text-align: left;
  width: 100%;
  transition: 0.2s ease;
}

.dropdown-content button:hover {
  background: #3b3b55;
}

.show {
  display: block;
}

.hidden {
  display: none;
}

button {
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  border: none;
  color: white;
  padding: 8px 14px;
  margin: 6px 0;
  border-radius: 8px;
  font-size: 15px;
  transition: 0.2s ease;
}

button:hover {
  box-shadow: 0 6px 14px #000000;
}
