* { box-sizing: border-box; }

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

.wrap {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 2rem;
}

h1 {
  margin-top: 0;
  font-size: 1.4rem;
}

.hidden {
  display: none !important;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: #555;
}

input, select, button {
  font-size: 0.95rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

input, select {
  margin-right: 0.5rem;
}

button {
  background: #1a1a1a;
  color: #fff;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #333;
}

button:disabled {
  background: #aaa;
  cursor: not-allowed;
}

.message {
  font-size: 0.85rem;
  color: #b3261e;
  min-height: 1.2em;
}

.status-line {
  font-size: 0.85rem;
  color: #444;
  margin: 0.75rem 0;
}

.add-sku {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 1rem 0 0.25rem;
}

.add-sku input[type="url"] {
  flex: 1;
  min-width: 240px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.85rem;
}

th, td {
  text-align: left;
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
}

.url-cell {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.excluded-row {
  background: #fff4f3;
  color: #a33;
}

.remove-btn {
  background: transparent;
  color: #a33;
  border: 1px solid #a33;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
}

.remove-btn:hover {
  background: #a33;
  color: #fff;
}

#submit-btn {
  margin-top: 1rem;
}
