* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1640px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
  display: flex;
  flex-direction: column;
}

.container * {
  box-sizing: border-box;
}

/* 头部样式 */
header {
  position: relative;
  margin-bottom: 20px;
  text-align: center;
}

header h1 {
  font-size: 32px;
  margin-bottom: 5px;
}

header p {
  font-size: 16px;
  line-height: 1.6;
}

.warp{
  display: flex;
  gap: 20px;
}

.card {
  flex: 1;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.card-title {
  font-size: 22px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.card-title i {
  margin-right: 10px;
  font-size: 26px;
}


textarea {
  width: 100%;
  min-height: 180px;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.3s;
}

#output-text{
   min-height: 400px;
}

textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.slider-container {
  flex: 1;
  min-width: 300px;
  margin-right: 20px;
}

.slider-value {
  font-weight: bold;
  color: #3498db;
}

.slider {
  width: 100%;
  height: 10px;
  -webkit-appearance: none;
  background: #e0e0e0;
  border-radius: 5px;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #3498db;
  cursor: pointer;
  transition: all 0.2s;
}

.slider::-webkit-slider-thumb:hover {
  background: #2980b9;
  transform: scale(1.1);
}

.buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  flex: 1;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn i {
  margin-right: 8px;
  font-size: 18px;
}

.btn-primary {
  background: #3498db;
  color: white;
}

.btn-primary:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
  background: #e0e0e0;
  color: #333;
}

.btn-secondary:hover {
  background: #d0d0d0;
  transform: translateY(-2px);
}

.btn-success {
  background: #2ecc71;
  color: white;
}

.btn-success:hover {
  background: #27ae60;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.btn-warning {
  background: #e74c3c;
  color: white;
}

.btn-warning:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 15px;
}

.feature {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.feature:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 15px;
  color: #3498db;
}

.feature-title {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 12px;
}

.feature-desc {
  color: #555;
  font-size: 15px;
}

.examples {
  margin-top: 20px;
}

.example-title {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.example-title i {
  margin-right: 10px;
  color: #3498db;
}

.example {
  display: flex;
  margin-top: 15px;
  padding: 10px 15px;
  background: white;
  border-radius: 8px;
  border-left: 3px solid #2ecc71;
}

.example-label {
  font-weight: bold;
  color: #555;
}

.notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  opacity: 0;
  display: flex;
  align-items: center;
  max-width: 80%;
}

.notice.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.notice i {
  margin-right: 10px;
  font-size: 20px;
}

footer {
  text-align: center;
  color: #7f8c8d;
  font-size: 15px;
}

.highlight {
  color: #3498db;
  font-weight: 500;
}

.group {
  margin-top: 20px;
}

.group-title{
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
}
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 16px;
  color: #333;
  cursor: pointer;
}
