* {
  margin: 0;
  padding: 0;
}

body {
  background: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 20px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 30px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 5px;
}

header p {
  font-size: 16px;
  color: #7f8c8d;
  margin: 0 auto;
}


.tool-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin-bottom: 25px;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #2c3e50;
  display: flex;
  align-items: center;
}

.section-title span {
  margin-right: 10px;
  font-size: 1.6rem;
}

.input-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #555;
}

.container textarea {
  width: 100%;
  height: 260px;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s;
}

.container textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.selectors {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.format-selector,
.level-selector {
  display: flex;
  align-items: center;
}

.format-selector label,
.level-selector label {
  margin-right: 15px;
  margin-bottom: 0;
  white-space: nowrap;
}

.container select {
  padding: 10px 15px;
  width: 250px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  background: white;
  font-size: 1rem;
  cursor: pointer;
}

.container select:focus {
  outline: none;
  border-color: #3498db;
}

.buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 48.5px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: #3498db;
  color: white;
}

.btn-primary:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #2ecc71;
  color: white;
}

.btn-secondary:hover {
  background: #27ae60;
  transform: translateY(-2px);
}

.btn-tertiary {
  background: #9b59b6;
  color: white;
}

.btn-tertiary:hover {
  background: #8e44ad;
  transform: translateY(-2px);
}

.btn-warning {
  background: #e74c3c;
  color: white;
}

.btn-warning:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

.btn span {
  margin-right: 8px;
  font-size: 1.2rem;
}

.result-info {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: #7f8c8d;
  font-size: 0.95rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.feature-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #2c3e50;
  display: flex;
  align-items: center;
}

.feature-card h3 span {
  margin-right: 10px;
  font-size: 1.5rem;
}

.feature-card p {
  color: #555;
}

footer {
  text-align: center;
  color: #7f8c8d;
  font-size: 0.85rem;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1000;
}

.notice.show {
  opacity: 1;
  visibility: visible;
}
