:root {
  --primary-blue: #0066cc;
  --primary-blue-dark: #0052a3;
  --danger-red: #cc0029;
  --success-green: #5cb85c;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text-primary: #333333;
  --text-secondary: #666666;
  --border: #d0d7e0;
  --disabled: #cccccc;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg);
}

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

button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

button.primary {
  background: var(--primary-blue);
  color: white;
}

button.primary:hover:not(:disabled) {
  background: var(--primary-blue-dark);
}

button.danger {
  background: var(--danger-red);
  color: white;
}

button.danger:hover:not(:disabled) {
  background: #b30024;
}

button.success {
  background: var(--success-green);
  color: white;
}

button.success:hover:not(:disabled) {
  background: #51a551;
}

input, select, textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 100%;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

input:disabled, select:disabled, textarea:disabled {
  background: #f8f9fa;
  color: var(--disabled);
  cursor: not-allowed;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.error-message {
  background: #fef5f5;
  color: var(--danger-red);
  border: 1px solid #fde6e6;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

.success-message {
  background: #f0f8f0;
  color: var(--success-green);
  border: 1px solid #e0f5e0;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

.info-message {
  background: #f0f7fa;
  color: var(--primary-blue);
  border: 1px solid #d4e8f0;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}
