/* Единые стили шрифтов для всех страниц - стиль дашборда владельца */

/* Основные размеры шрифтов */
.fs-6 { font-size: 0.875rem !important; }
.small { font-size: 0.875rem !important; }

/* Карточки статистики */
.period-card .card-body { padding: 1.25rem !important; }
.period-card h6 { font-size: 0.875rem !important; margin-bottom: 0.5rem !important; }
.period-card .h5 { font-size: 1.25rem !important; }
.period-card .badge { font-size: 0.75rem !important; padding: 0.25rem 0.5rem !important; }

/* Статистические карточки */
.stats-card h4 { font-size: 1.25rem !important; }
.stats-card .card-body { padding: 1.25rem !important; }
.stats-card small { font-size: 0.75rem !important; }

/* Таблицы */
.table th { font-size: 0.875rem !important; font-weight: 600 !important; }
.table td { font-size: 0.875rem !important; }
.table .small { font-size: 0.875rem !important; }
.table-sm th { font-size: 0.8rem !important; }
.table-sm td { font-size: 0.8rem !important; }

/* Кнопки */
.btn { font-size: 0.875rem !important; }
.btn-sm { font-size: 0.875rem !important; padding: 0.25rem 0.5rem !important; }
.btn-lg { font-size: 1rem !important; }

/* Заголовки карточек */
.card-header h5 { font-size: 1rem !important; font-weight: 600 !important; }
.card-header h6 { font-size: 0.875rem !important; font-weight: 600 !important; }
.card-header .fs-6 { font-size: 0.875rem !important; font-weight: 600 !important; }

/* Заголовки страниц */
h1 { font-size: 1.75rem !important; }
h2 { font-size: 1.5rem !important; }
h3 { font-size: 1.25rem !important; }
h4 { font-size: 1.125rem !important; }
h5 { font-size: 1rem !important; }
h6 { font-size: 0.875rem !important; }

/* Бейджи */
.badge { font-size: 0.75rem !important; padding: 0.25rem 0.5rem !important; }
.badge.fs-6 { font-size: 0.75rem !important; }

/* Формы */
.form-label { font-size: 0.875rem !important; font-weight: 600 !important; }
.form-control { font-size: 0.875rem !important; }
.form-select { font-size: 0.875rem !important; }
.form-control-sm { font-size: 0.8rem !important; }
.form-select-sm { font-size: 0.8rem !important; }

/* Навигация */
.nav-link { font-size: 0.875rem !important; }
.navbar-brand { font-size: 1.125rem !important; }

/* Боковое меню */
.sidebar .nav-link { font-size: 0.875rem !important; }
.sidebar .nav-link small { font-size: 0.75rem !important; }

/* Отступы */
.mb-16 { margin-bottom: 1rem !important; }
.mt-20 { margin-top: 1.25rem !important; }
.p-20 { padding: 1.25rem !important; }

/* Алерты */
.alert { font-size: 0.875rem !important; }

/* Список */
ul li { font-size: 0.875rem !important; }
ol li { font-size: 0.875rem !important; }

/* Ссылки */
a { font-size: 0.875rem !important; }
a.btn { font-size: 0.875rem !important; }

/* Текст */
p { font-size: 0.875rem !important; }
span { font-size: 0.875rem !important; }
div { font-size: 0.875rem !important; }

/* Исключения для специальных элементов */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-size: inherit !important; /* Сохраняем оригинальные размеры для display классов */
}

/* Меню категорий затрат */
.expense-details .table-sm th { font-size: 0.8rem !important; }
.expense-details .table-sm td { font-size: 0.8rem !important; }







