* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #091c30 0%, #071934 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  background: #182738;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 1200px;
  width: 100%;
}

h1 {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  color: #b2cc3285;
}

.textarea-wrapper {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.textarea-section {
  flex: 1;
  min-width: 250px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #858b8d;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 18px;
  font-family: inherit;
  background: #20203f;
  color: #c9ac75;
  resize: vertical;
  min-height: 200px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

textarea:readonly {
  background-color: #f8f9fa;
  color: #2c3e50;
}

#translateButton {
  display: block;
  margin: 0 auto 20px;
  padding: 12px 40px;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

button:active {
  transform: translateY(0);
}

.btn-icon {cursor: pointer;}

@media (max-width: 600px) {
  .container {
    padding: 25px;
  }

  h1 {
    font-size: 24px;
  }

  .textarea-wrapper {
    flex-direction: column;
  }

  .textarea-section {
    min-width: 100%;
  }
}

.txtarea-hdr {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  align-content: flex-start;
}

footer {
  color: darkgray;
}
