/* Sitemap & Robots.txt Validator spezifische Styles */

.back-link {
  margin-bottom: 20px;
}

.back-link a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.back-link a:hover {
  opacity: 1;
}

.results h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.url-display {
  font-size: 0.9rem;
  color: #666;
  word-break: break-all;
  margin-bottom: 20px;
}

.section-divider {
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  margin: 40px 0;
  border-radius: 2px;
}

/* Status Card Varianten */
.stat-card.success {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.stat-card.error {
  background: linear-gradient(135deg, #f44336 0%, #e91e63 100%);
}

.stat-card.warning {
  background: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
}

/* Message Boxes */
.message-box {
  padding: 15px 20px;
  border-radius: 8px;
  margin: 15px 0;
  border-left: 4px solid;
}

.message-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.message-box p {
  margin: 8px 0;
  line-height: 1.6;
}

.message-box .hint {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 8px;
}

.message-box.success {
  background: #e8f5e9;
  border-left-color: #4caf50;
  color: #1b5e20;
}

.message-box.error {
  background: #ffebee;
  border-left-color: #f44336;
  color: #b71c1c;
}

.message-box.warning {
  background: #fff3e0;
  border-left-color: #ff9800;
  color: #e65100;
}

.message-box.info {
  background: #e3f2fd;
  border-left-color: #2196f3;
  color: #0d47a1;
}

/* Code Blocks */
.code-block {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin: 15px 0;
  overflow: hidden;
}

.code-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 0.95rem;
}

.code-content {
  padding: 15px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.code-content ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}

.code-content li {
  padding: 4px 0;
  color: #555;
}

.code-content strong {
  color: #764ba2;
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
}

.code-block pre {
  margin: 0;
  padding: 0;
  white-space: pre-wrap;
  word-break: break-all;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #333;
}

/* URL Listen */
.url-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.url-list li {
  padding: 10px 15px;
  background: #f5f5f5;
  border-radius: 6px;
  margin-bottom: 8px;
  word-break: break-all;
}

.url-list a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s;
}

.url-list a:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* URL Tabelle */
.url-table {
  overflow-x: auto;
  margin: 15px 0;
}

.url-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.url-table thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.url-table th {
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.url-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.9rem;
}

.url-table tbody tr:last-child td {
  border-bottom: none;
}

.url-table tbody tr:hover {
  background: #f5f5f5;
}

.url-table a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s;
}

.url-table a:hover {
  color: #764ba2;
  text-decoration: underline;
}

.url-table .hint {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 10px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .url-table {
    font-size: 0.85rem;
  }

  .url-table th,
  .url-table td {
    padding: 8px 10px;
  }

  .code-content {
    font-size: 0.8rem;
  }

  .message-box {
    padding: 12px 15px;
  }
}
