.robotsitemap-container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.robotsitemap-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.robotsitemap-title {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 800;
  text-align: center;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.tool-icon {
  font-size: 1.3em;
}

.robotsitemap-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.robotsitemap-card {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow);
}

/* Tabs */
.rs-tabs {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.rs-tab {
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-light);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.rs-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.rs-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Sections */
.rs-section {
  display: none;
}

.rs-section.active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-family: monospace;
  font-size: 1rem;
  line-height: 1.5;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

/* Preview */
.preview-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.preview-box h4 {
  margin-top: 0;
  color: var(--text);
}

.preview-box pre {
  margin: 1rem 0 0;
  padding: 1rem;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

/* Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  padding: 0.9rem 1.8rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn.primary {
  background: var(--primary);
  color: white;
  border: none;
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* SEO Tips */
.seo-tips {
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.seo-tips h3 {
  margin-top: 0;
}

.seo-tips ul {
  padding-left: 1.5rem;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  .rs-tabs { gap: 0.5rem; }
  .rs-tab { padding: 0.7rem 1.3rem; font-size: 0.95rem; }
  .action-buttons { flex-direction: column; }
  .btn { width: 100%; }
}