.invchar-page .inside-article {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.invchar-tool {
  font-size: 1rem;
  line-height: 1.6;
}

.invchar-block {
  margin: 24px 0;
  padding: 20px 16px;
  background: #f6f5ff;
  border: 1px solid #e4e0fb;
  border-radius: 16px;
  text-align: center;
}

.invchar-tool .invchar-block-title {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #4c3fb5;
}

.invchar-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.invchar-tool .invchar-btn {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.invchar-tool .invchar-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.invchar-tool .invchar-btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.invchar-tool .invchar-feedback {
  color: green;
  font-weight: bold;
  text-align: center;
  margin: 12px 0 0;
}

.invchar-generator label,
.invchar-test label {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: bold;
}

.invchar-generator input {
  width: 100px;
  padding: 8px;
  font-size: 1rem;
  margin-bottom: 16px;
  text-align: center;
}

.invchar-generated-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.invchar-tool textarea {
  width: 100%;
  max-width: 400px;
  padding: 8px;
  font-size: 1rem;
  resize: none;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#invchar-generated {
  height: 50px;
  text-align: center;
}

.invchar-test {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#invchar-test {
  height: 100px;
  margin-bottom: 8px;
}

.invchar-tool .invchar-test-result {
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  margin: 0;
}
