/* Утилитарные классы */

/* Flexbox */
.flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

.centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Отступы */
.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }

.px-2 { padding-left: 8px; padding-right: 8px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-6 { padding-left: 24px; padding-right: 24px; }

.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }

.pl-2 { padding-left: 8px; }

.m-1 { margin: 4px; }
.m-2 { margin: 8px; }
.m-3 { margin: 12px; }
.m-4 { margin: 16px; }
.m-6 { margin: 24px; }

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

.ml-2 { margin-left: 8px; }
.ml-4 { margin-left: 16px; }
.ml-8 { margin-left: 32px; }

.mr-2 { margin-right: 8px; }
.mr-4 { margin-right: 16px; }

/* Размеры */
.w-full { width: 100%; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }

/* Границы и скругления */
.border { border: 1px solid #E5E7EB; }
.border-t { border-top: 1px solid #EFEFF4; }
.border-b { border-bottom: 1px solid #EFEFF4; }
.border-l-4 { border-left: 4px solid; }

.rounded { border-radius: 4px; }
.rounded-md { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-xl { border-radius: 16px; }
.rounded-2xl { border-radius: 24px; }

/* Списки */
.list-outside {
  list-style-position: outside;
}

ol, ul {
  list-style-type: decimal;
}

ol li {
  margin-left: 8px;
}

ul {
  list-style-type: disc;
}

/* Тени */
.shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Цвета фона */
.bg-white { background-color: #FFFFFF; }
.bg-gray-50 { background-color: #F9FAFB; }
.bg-blue-50 { background-color: #EFF6FF; }
.bg-neutral-50 { background-color: #FAFAFA; }

.bg-primary { background-color: #4318FF; }
.bg-accent { background-color: #16DBCC; }
.bg-accent-2 { background-color: #FF82AC; }
.bg-accent-3 { background-color: #FFBB38; }

.bg-black { background-color: #000; }

/* Цвета текста */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-xs { font-size: 14px; line-height: 20px; }
.text-sm { font-size: 16px; line-height: 24px; }
.text-md { font-size: 18px; line-height: 24px; }
.text-lg { font-size: 20px; line-height: 28px; }
.text-xl { font-size: 24px; line-height: 32px; }
.text-3xl { font-size: 32px; line-height: 40px; }

.text-primary { color: #4318FF; }
.text-accent { color: #16DBCC; }
.text-accent-2 { color: #FF82AC; }
.text-accent-3 { color: #FFBB38; }

.text-gray-300 { color: #D1D5DB; }
.text-gray-500 { color: #6B7280; }
.text-neutral-400 { color: #8E8E93; }
.text-neutral-900 { color: #1A1A1A; }
.text-white { color: #FFFFFF; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.font-mono {
  font-family: 'SF Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
  font-variant-numeric: tabular-nums;
}
