/* === Минимальный набор Tailwind-подобных утилит (только используемые) === */
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; }

/* Цвета/фон/текст */
.bg-slate-100 { background-color: #f1f5f9; }        /* slate-100 */
.bg-slate-800 { background-color: #1e293b; }        /* slate-800 */
.bg-white { background-color: #ffffff; }
.bg-gray-300 { background-color: #d1d5db; }         /* gray-300 */
.bg-green-500 { background-color: #22c55e; }        /* green-500 */
.bg-green-100 { background-color: #dcfce7; } /* светло-зелёный фон */
.bg-red-100 { background-color: #fee2e2; } /* светло-красный фон */
.bg-blue-500 { background-color: #3b82f6; } /* синий */
.bg-blue-600 { background-color: #2563eb; } /* тёмно-синий */

.text-white { color: #ffffff; }
.text-slate-800 { color: #1e293b; }                 /* slate-800 */
.text-slate-600 { color: #475569; }                 /* slate-600 */
.text-slate-500 { color: #64748b; }                 /* slate-500 */
.text-blue-600 { color: #2563eb; }
.text-green-800 { color: #166534; }
.text-red-800 { color: #991b1b; } /* тёмно-красный текст */

/* Типографика */
.font-sans { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg {
    font-size: 1.125rem; /* 18px */
    line-height: 1.75rem; /* 28px */
}
.text-xl {
    font-size: 1rem;
    line-height: 1rem;
}
.font-medium { font-weight: 500; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }
.opacity-80 { opacity: 0.8; }

/* Размеры и отступы */
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-4 { padding: 1rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.p-3 { padding: 0.75rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.gap-2 { gap: 0.5rem; }

/* Layout */
.flex { display: flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.relative { position: relative; }
.absolute { position: absolute; }
.right-0 { right: 0; }

/* Responsive: md */
@media (min-width: 768px) {
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Бордеры/радиусы/тени */
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-t-xl { border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; border-style: solid; }
.border-slate-200 { border-color: #e2e8f0; }
.shadow { box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.1); }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05); }

/* Прочее */
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.hidden { display: none; }
.block { display: block; }
.hover\:bg-slate-100:hover { background-color: #f1f5f9; }
.hover\:bg-white:hover { background-color: #ffffff; }
.hover\:text-slate-800:hover { color: #1e293b; }
.hover\:underline:hover { text-decoration: underline; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.th-border th { border-bottom: 2px solid #e2e8f0; }

/* Размеры и выравнивание для иконок/кружков */
.h-8 { height: 1rem; }
.w-8 { width: 1rem; }
.flex-shrink-0 { flex-shrink: 0; }

/* === Кастомное лого "G" === */
.g-bl {
    width: 16px;
    height: 16px;
    padding-left: 1px;
    background: #dc2626; /* красный */
    border-radius: 50%;
    font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 12px;
    margin-left: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: .1em;
    text-transform: uppercase;
    vertical-align: text-bottom;
    color: white;
}

/* === Tabs === */
/* Tabs контейнер */
.tabs-wrapper {
    display: flex;
    gap: 0.5rem;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

/* Общий стиль табов */
.tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    border-bottom: 0; /* чтобы примыкал к доске */
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Активный таб */
.tab-active {
    background-color: #ffffff; /* совпадает с доской */
    color: #1e293b;
    box-shadow: none;
}

/* Неактивный таб */
.tab-inactive {
    background-color: #f1f5f9;
    color: #475569;
}
.tab-inactive:hover {
    background-color: #ffffff;
    color: #1e293b;
}

/* === Пагинация === */
.page-link {
    padding: 0.25rem 0.75rem; /* px-3 py-1 */
    border-radius: 0.75rem;   /* rounded-xl */
    background-color: #e2e8f0; /* bg-slate-200 */
    color: #1e293b;           /* text-slate-800 */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.page-link:hover {
    background-color: #d1d5db; /* hover:bg-slate-300 */
}
.page-link-active {
    background-color: #d1d5db; /* активная страница — синий фон */
    color: #ffffff;
}

/* Таблица */
.min-w-full { min-width: 100%; }
.table-fixed { table-layout: fixed; }
.overflow-x-auto { overflow-x: auto; }

/* Отступ между таблицей и пагинацией */
.mt-6 { margin-top: 1.5rem; }

/* Таблица: строки */
.hover\:bg-slate-50:hover { background-color: #f8fafc; } /* светлый hover для строк таблицы */

/* Ширина колонок */
.w-55 { width: 55%; }
.w-15 { width: 15%; }

/* === Дополнительно добавленные классы для страницы логина === */

/* Вертикальный флекс */
.flex-col { flex-direction: column; }

/* Ширина 100% */
.w-full { width: 100%; }

/* Ширина 150% — для увеличенных инпутов */
.w-75 { width: 75%; }

/* Вертикальный gap между элементами */
.gap-4 { gap: 1rem; }

/* Кнопка по умолчанию без border */
button {
    border: none;
}