/* mass-import.css – Modern, clean mass import form */

body {
  background-color: #0f172a;
  color: #e2e8f0;
}

.import-section {
  padding: 2rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.import-form-container {
  background: #1e293b;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.import-form-container h2 {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 2rem;
}

.import-form-container p {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 2rem;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #cbd5e1;
}

.input-group textarea {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  background: #111827;
  color: #e2e8f0;
  resize: vertical;
  min-height: 120px;
}

.input-group textarea:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96,165,250,0.3);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover {
  background: #2563eb;
}

.progress-message {
  margin-top: 2rem;
  text-align: center;
}

.progress-bar {
  height: 10px;
  background: #334155;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 0.8rem;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: #3b82f6;
  transition: width 0.3s ease;
}

.result-message {
  margin-top: 2rem;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
}

.success {
  background: #14532d;
  color: #86efac;
}

.error {
  background: #7f1d1d;
  color: #fca5a5;
}

/* Suggestions dropdown */
#suggestions {
  position: absolute;
  z-index: 1000;
  top: 100%;
  left: 0;
  right: 0;
  background: #111827;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  max-height: 260px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

#suggestions li {
  padding: 0.7rem 1rem;
  cursor: pointer;
  color: #e2e8f0;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#suggestions li:hover {
  background: #1e293b;
}

#suggestions li .extra {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* Counters */
.counter {
  font-size: 0.9rem;
  font-weight: normal;
  color: #94a3b8;
}

.counter.mismatch {
  color: #f87171;
  font-weight: bold;
}

/* Fill button */
.fill-btn {
  margin-top: 0.8rem;
  padding: 0.6rem 1.2rem;
  background: #4b5563;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s;
  width: 100%;
}

.fill-btn:hover {
  background: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
  .import-form-container {
    padding: 1.5rem;
  }
}

#suggestions li.selected {
  background: #2563eb !important;
  color: white !important;
}