* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  background: white;
  border-radius: 12px;
  padding: 40px;
  max-width: 800px;
  margin: 20px auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

h1 {
  color: #333;
  margin-bottom: 10px;
  text-align: center;
  font-size: 2.5em;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1em;
  font-weight: 300;
}

h3 {
  color: #333;
  margin-bottom: 12px;
  font-size: 1.1em;
}

.info-box {
  background: #f0f4ff;
  border-left: 4px solid #667eea;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 4px;
}

.info-box h3 {
  margin-top: 0;
}

.info-box ol {
  margin-left: 20px;
  color: #555;
  line-height: 1.8;
}

.info-box ol li {
  margin-bottom: 8px;
}

.info-box a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.info-box a:hover {
  text-decoration: underline;
}

.info-box code {
  background: rgba(102, 126, 234, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

.actions {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.primary-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 18px 36px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.primary-btn:active {
  transform: translateY(0);
}

.status {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
  font-weight: 500;
  text-align: center;
}

.status.info {
  background: #e3f2fd;
  color: #1976d2;
  border: 1px solid #90caf9;
}

.status.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #81c784;
}

.status.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #e57373;
}

.output {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 20px;
  display: none;
  max-height: 500px;
  overflow-y: auto;
  margin-bottom: 25px;
}

.output h4 {
  color: #333;
  margin-bottom: 12px;
  font-size: 1.1em;
}

.output pre {
  background: #fff;
  padding: 12px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: #333;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-x: auto;
  border: 1px solid #e0e0e0;
}

.output p {
  color: #555;
  line-height: 1.6;
}

.tech-info {
  background: #fafafa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 1px solid #e0e0e0;
}

.tech-info ul {
  list-style: none;
  padding: 0;
}

.tech-info ul li {
  margin-bottom: 10px;
  color: #555;
  line-height: 1.6;
}

.tech-info code {
  background: #fff;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: 'Monaco', 'Courier New', monospace;
  color: #d63384;
  font-size: 0.9em;
  border: 1px solid #e0e0e0;
}

.tech-info p {
  color: #666;
  margin-top: 12px;
  line-height: 1.6;
}

.code-section {
  background: #2d3748;
  padding: 20px;
  border-radius: 8px;
  margin-top: 25px;
}

.code-section h3 {
  color: #fff;
  margin-bottom: 12px;
}

.code-section pre {
  margin: 0;
}

.code-section code {
  color: #e2e8f0;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.6;
  display: block;
}

@media (max-width: 600px) {
  .container {
    padding: 25px 20px;
  }

  h1 {
    font-size: 2em;
  }

  .primary-btn {
    padding: 14px 28px;
    font-size: 16px;
  }

  .tech-info code {
    font-size: 0.85em;
  }
}
