.classification-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1em;
}

.classification-modal-content {
  background: white;
  border-radius: 12px;
  padding: 1.5em;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.classification-modal-title {
  font-size: 1.5em;
  margin: 0 0 0.3em 0;
  text-align: center;
  color: #333;
}

.classification-modal-subtitle {
  text-align: center;
  color: #666;
  margin: 0 0 1.5em 0;
  font-size: 0.95em;
}

.classification-modal-field {
  margin-bottom: 1em;
}

.classification-modal-field label {
  display: block;
  margin-bottom: 0.3em;
  font-weight: 600;
  color: #333;
  font-size: 0.95em;
}

.classification-modal-field label .required {
  color: #dc3545;
}

.classification-modal-select {
  width: 100%;
  padding: 0.6em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.classification-modal-select:focus {
  outline: none;
  border-color: #007bff;
}

.classification-modal-actions {
  display: flex;
  gap: 0.8em;
  margin-top: 1.5em;
}

.classification-modal-btn {
  flex: 1;
  padding: 0.7em;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.classification-modal-btn-skip {
  background: #6c757d;
  color: white;
}

.classification-modal-btn-skip:hover {
  background: #5a6268;
}

.classification-modal-btn-confirm {
  background: #007bff;
  color: white;
}

.classification-modal-btn-confirm:hover {
  background: #0056b3;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .classification-modal-content {
    width: 95%;
    padding: 1.25rem;
    max-height: 85vh;
    overflow-y: auto;
  }

  .classification-modal-title {
    font-size: 1.3em;
  }

  .classification-modal-subtitle {
    font-size: 0.9em;
  }

  .classification-modal-select {
    padding: 0.7em;
    font-size: 16px; /* Prevents iOS zoom */
  }

  .classification-modal-actions {
    flex-direction: column;
    gap: 0.6rem;
  }

  .classification-modal-btn {
    width: 100%;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .classification-modal-content {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
  }

  .classification-modal-title {
    font-size: 1.2em;
  }

  .classification-modal-field label {
    font-size: 0.9em;
  }
}
