* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #2d3748;
  background: #fafafa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.card {
  background: #ffffff;
  border: 1px solid #e8e4f0;
  border-radius: 12px;
  padding: 24px;
}

.btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: #8b7fc7;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: #7a6fb5;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid #e8e4f0;
  color: #2d3748;
}

.btn-secondary:hover:not(:disabled) {
  background: #f8fafc;
}

input, select, textarea {
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #e8e4f0;
  border-radius: 8px;
  width: 100%;
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #8b7fc7;
  box-shadow: 0 0 0 3px rgba(139, 127, 199, 0.1);
}

.error {
  color: #ef4444;
  font-size: 13px;
  margin-top: 8px;
  min-height: 18px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e8e4f0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  transition: all 0.2s;
}

.tab-btn.active {
  background: #8b7fc7;
  color: white;
  border-color: #8b7fc7;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}
