/*
 * Утилиты в стиле TailwindCSS. Сам Tailwind не подключён (Bootstrap 3 + preflight = конфликты).
 * Имена классов совпадают с Tailwind, чтобы потом перейти на настоящий.
 * Шкала отступов как в Tailwind: 1 = 4px (в px, т.к. у Bootstrap 3 html { font-size: 10px }).
 * Нужен новый класс — добавлять сюда, только используемые.
 */

/* Display */
.flex { display: flex; }
.block { display: block; }
.hidden { display: none; }

/* Flex */
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Gap */
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* Sizing */
.w-full { width: 100%; }
.min-h-screen { min-height: 100vh; }
.max-w-sm { max-width: 384px; }

/* Padding */
.p-4 { padding: 16px; }
.p-8 { padding: 32px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }

/* Margin */
.m-0 { margin: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mt-2 { margin-top: 8px; }
.mt-6 { margin-top: 24px; }

/* Typography */
.text-xs { font-size: 12px; line-height: 16px; }
.text-sm { font-size: 14px; line-height: 20px; }
.text-base { font-size: 16px; line-height: 24px; }
.text-2xl { font-size: 24px; line-height: 32px; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.text-center { text-align: center; }
.text-white { color: #fff; }
.text-slate-500 { color: #64748b; }
.text-slate-700 { color: #334155; }
.text-slate-900 { color: #0f172a; }
.text-red-700 { color: #b91c1c; }

/* Background */
.bg-white { background-color: #fff; }
.bg-red-50 { background-color: #fef2f2; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }

/* Border */
.border { border: 1px solid #e2e8f0; }
.border-red-200 { border-color: #fecaca; }
.border-slate-300 { border-color: #cbd5e1; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }

/* Effects */
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1); }
.transition { transition: background-color .15s, border-color .15s, box-shadow .15s; }
.cursor-pointer { cursor: pointer; }
