/* Minimal/curat — design-ul elaborat vine într-o fază ulterioară. */

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1a1a1a;
  background: #f7f7f8;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

h1 {
  margin-bottom: 4px;
}

.subtitle {
  color: #555;
  margin-top: 0;
  margin-bottom: 24px;
}

.scan-form {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.scan-form input[type="text"] {
  flex: 1;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.scan-form button {
  padding: 10px 18px;
  font-size: 15px;
  background: #2b6cb0;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.scan-form button:hover {
  background: #245a94;
}

.scan-form button:disabled {
  background: #999;
  cursor: not-allowed;
}

.hidden {
  display: none !important;
}

.status-area,
.manual-sitemap-area,
.error-area {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.error-area {
  background: #fdecea;
  border-color: #f5c6cb;
  color: #8a1f11;
}

.progress-bar-wrap {
  background: #e5e5e5;
  border-radius: 4px;
  height: 10px;
  overflow: hidden;
  margin-top: 10px;
}

.progress-bar {
  background: #2b6cb0;
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}

.truncated-banner {
  background: #fff8e1;
  border: 1px solid #ffe082;
  color: #7a5b00;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.results-area h2 {
  margin-bottom: 4px;
}

.results-summary,
#results-summary {
  color: #555;
}

.category {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin-bottom: 16px;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
}

.category-header h3 {
  margin: 0;
  font-size: 16px;
}

.category-count {
  background: #eee;
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 13px;
  color: #333;
}

.category-count.zero {
  background: #e6f4ea;
  color: #1e7e34;
}

.category-body {
  border-top: 1px solid #eee;
  padding: 0 18px;
}

.category-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.category-body th,
.category-body td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
  word-break: break-word;
}

.category-body th {
  color: #666;
  font-weight: 600;
  font-size: 13px;
}

.category-body a {
  color: #2b6cb0;
}

.empty-note {
  padding: 12px 0;
  color: #777;
  font-size: 14px;
}
