.app {
  padding: 16px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 400px;
}

.loading {
  text-align: center;
  padding: 20px;
  color: #666;
}

h1 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 24px;
}

h3 {
  color: #34495e;
  margin-bottom: 12px;
  font-size: 18px;
}

.email-extractor {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.extracted-data {
  margin-top: 12px;
}

.data-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 4px 0;
}

.data-item label {
  font-weight: 600;
  color: #495057;
}

.data-item span {
  color: #6c757d;
  word-break: break-all;
}

.action-buttons {
  margin-bottom: 20px;
}

.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn-primary {
  background-color: #0078d4;
  color: white;
}

.btn-primary:hover {
  background-color: #106ebe;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background-color: #5a6268;
}

.client-list, .interactions-section {
  margin-bottom: 20px;
}

.client-item, .interaction-item {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  border-left: 4px solid #0078d4;
}

.client-company, .interaction-domain {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 4px;
}

.client-email, .interaction-email {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 4px;
}

.client-website {
  color: #0078d4;
  font-size: 12px;
  margin-bottom: 4px;
}

.client-date, .interaction-date {
  color: #adb5bd;
  font-size: 12px;
}

.extractor-loading, .extractor-error {
  text-align: center;
  padding: 20px;
  color: #666;
}

.extractor-error {
  color: #dc3545;
}

/* Task Creator Styles */
.task-creator {
  margin: 15px 0;
}

.task-creator-toggle {
  background: #0078d4;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  width: 100%;
  margin-bottom: 10px;
}

.task-creator-toggle:hover {
  background: #106ebe;
}

.task-creator-toggle:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.task-creator-form {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 20px;
  margin-top: 10px;
}

.task-creator-form h3 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 16px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
  font-size: 13px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
  box-sizing: border-box;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row .form-group {
  flex: 1;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #dee2e6;
}

.form-actions button {
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

.form-actions button[type="submit"] {
  background: #28a745;
  color: white;
  border-color: #28a745;
}

.form-actions button[type="submit"]:hover {
  background: #218838;
}

.form-actions button[type="submit"]:disabled {
  background: #6c757d;
  border-color: #6c757d;
  cursor: not-allowed;
}

.form-actions button[type="button"] {
  background: #6c757d;
  color: white;
  border-color: #6c757d;
}

.form-actions button[type="button"]:hover {
  background: #5a6268;
} 