
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0b0d14;
  color: #f4f4fa;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 7%;
  border-bottom: 1px solid #303044;
}

header h2 {
  margin: 0;
}

header span {
  color: #8de0b0;
  font-size: 13px;
}

main {
  width: 90%;
  max-width: 1100px;
  margin: 65px auto;
  text-align: center;
}

.eyebrow {
  color: #a99aff;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: bold;
}

h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin: 15px 0;
}

h1 span {
  color: #a99aff;
}

.intro {
  color: #a7adbf;
  line-height: 1.6;
  margin-bottom: 38px;
}

.workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
}

.panel {
  background: #131521;
  border: 1px solid #303347;
  border-radius: 16px;
  padding: 22px;
  min-width: 0;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 12px;
}

textarea {
  display: block;
  width: 100%;
  height: 210px;
  resize: vertical;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font: inherit;
  line-height: 1.7;
  margin-bottom: 20px;
}

textarea::placeholder {
  color: #777d91;
}

select {
  padding: 11px;
  border: 1px solid #383b50;
  border-radius: 8px;
  background: #202235;
  color: white;
  margin-bottom: 15px;
}

button {
  padding: 12px 16px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  font-weight: bold;
}

#humanizeBtn {
  display: block;
  width: 100%;
  background: #a99aff;
  color: #10101a;
}

#humanizeBtn:hover {
  background: #b9adff;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#copyBtn {
  background: #292b40;
  color: white;
}

#resultText {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-height: 240px;
  color: #c6c9d8;
  line-height: 1.8;
}

#message {
  color: #a99aff;
  margin-top: 25px;
}

footer {
  color: #777d91;
  font-size: 12px;
  margin-top: 50px;
}

@media (max-width: 700px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  main {
    margin-top: 35px;
  }
}
