:root {
  --primary-color: #1677ff;
  --secondary-color: #5c6ac4;
  --background-color: #f5f5f5;
  --text-color: #333333;
  --error-color: #ff4d4f;
  --success-color: #52c41a;
  --warning-color: #faad14;
  --border-radius: 4px;
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
  --transition-time: 0.3s;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.5;
}

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

.page-title {
  margin-bottom: 24px;
  color: var(--text-color);
  font-weight: 600;
}

.section-title {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 500;
}

/* Card styles */
.card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 16px;
  padding: 24px;
}

/* Form styles */
.form-container {
  max-width: 600px;
}

/* Center element */
.center-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.full-height {
  min-height: 100vh;
}

/* Alert messages */
.alert {
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: var(--border-radius);
}

.alert-error {
  background-color: #fff2f0;
  border: 1px solid #ffccc7;
}

.alert-success {
  background-color: #f6ffed;
  border: 1px solid #b7eb8f;
}

/* Button groups */
.button-group {
  display: flex;
  gap: 8px;
}

/* Responsive table wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}