/* Playground Section */
.playground {
  padding: 5rem 0;
  background-color: var(--light);
}

.demo-container {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-top: 3rem;
}

.demo-header {
  background-color: var(--primary);
  color: white;
  padding: 1.5rem;
}

.demo-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.demo-content {
  padding: 2rem;
}

.demo-form {
  margin-bottom: 2rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.checkbox-group label {
  margin: 0;
}

.checkbox-group input {
  margin: 0;
}

.submit-row {
  margin-top: 2rem;
}

.result-area {
  background-color: #f6f8fa;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: none;
}

.result-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.result-content {
  font-family: monospace;
  white-space: pre-line;
}

.result-item {
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  background-color: white;
  border-radius: 4px;
}

.free-plan-info {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: rgba(66, 133, 244, 0.08);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.free-plan-info p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--dark);
}

.free-plan-info i {
  color: var(--primary);
  margin-right: 5px;
}

.free-plan-info a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

.free-plan-info a:hover {
  text-decoration: none;
}

.result-content .limit-warning {
  margin-top: 10px;
  padding: 8px 12px;
  background-color: rgba(255, 193, 7, 0.15);
  border-left: 3px solid #ffc107;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-size: 0.9rem;
}

.result-content .limit-warning i {
  color: #ffc107;
  margin-right: 5px;
}

.result-content .limit-warning a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
}

.result-content .limit-warning a:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 1rem;
  }
} 