/* Основные стили */
body {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #1a252f 100%);
    background-attachment: fixed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ecf0f1;
    min-height: 100vh;
}

/* Карточки */
.card {
    background: rgba(44, 62, 80, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(52, 73, 94, 0.5);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    color: #ecf0f1;
    z-index: 1;
}

.card-header {
    border-radius: 1rem 1rem 0 0 !important;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: none !important;
}

/* Навигация */
.navbar {
    background: rgba(26, 37, 47, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(52, 73, 94, 0.5);
    z-index: 1050;
}

/* Выпадающие меню */
.dropdown-menu {
    z-index: 1060 !important;
    background: rgba(44, 62, 80, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 73, 94, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(102, 126, 234, 0.3) !important;
    color: #ffffff !important;
}

.dropdown-header {
    color: #bdc3c7 !important;
    font-weight: 600;
}

/* Навигационные вкладки */
.nav-tabs {
    border-bottom: 1px solid rgba(52, 73, 94, 0.5);
}

.nav-tabs .nav-link {
    color: #ffffff !important;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-tabs .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.nav-tabs .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

.nav-tabs .nav-link:focus {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* Специальные стили для вкладок в карточках */
.card-header-tabs .nav-link {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.card-header-tabs .nav-link:hover {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.card-header-tabs .nav-link.active {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    margin: 0 0.125rem;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    color: white !important;
}

/* Таблицы */
.table {
    background: rgba(44, 62, 80, 0.9);
    border-radius: 0.75rem;
    overflow: hidden;
    color: #ecf0f1;
}

.table tbody tr {
    background-color: rgba(44, 62, 80, 0.6);
}

.table tbody tr:nth-of-type(even) {
    background-color: rgba(52, 73, 94, 0.4);
}

.table th {
    border-top: none;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0.75rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.table td {
    padding: 0.75rem;
    vertical-align: middle;
    color: #ffffff;
    border-color: rgba(52, 73, 94, 0.3);
    font-weight: 500;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(52, 73, 94, 0.2);
}

.table-hover tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.3);
    transform: translateX(2px);
    transition: all 0.2s ease;
}

/* Кнопки */
.btn {
    border-radius: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: white;
}

.btn-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.btn-group-sm > .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

/* Бейджи */
.badge {
    font-size: 0.75em;
    font-weight: 500;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bg-success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%) !important;
}

.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.bg-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
}

.bg-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
}

.bg-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
}

/* Анимации */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Аватарки */
.avatar-placeholder {
    width: 40px;
    height: 40px;
    background-color: rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1px solid rgba(102, 126, 234, 0.5);
}

/* Состояния пустых страниц */
.empty-state {
    padding: 3rem 1rem;
    color: #ffffff;
}

.empty-state i {
    font-size: 4rem;
    opacity: 0.7;
    color: #bdc3c7;
}

.empty-state h4 {
    color: #ffffff;
}

.empty-state p {
    color: #d5dbdb;
}

/* Формы */
.form-control, .form-select {
    border-radius: 0.75rem;
    border: 2px solid rgba(102, 126, 234, 0.3);
    background: rgba(44, 62, 80, 0.8);
    color: #ecf0f1;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
    background: rgba(52, 73, 94, 0.9);
    color: #ecf0f1;
}

.form-control::placeholder {
    color: rgba(236, 240, 241, 0.6);
}

.form-label {
    color: #ecf0f1;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-text {
    color: #bdc3c7;
    font-size: 0.875rem;
}

.form-control-lg {
    border-radius: 0.75rem;
}

/* Спиннеры */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Уведомления */
.alert {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
}

.alert-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.alert-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.alert-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.alert-dismissible .btn-close {
    padding: 0.75rem;
}

/* Модальные окна */
.modal-content {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.modal-header {
    border-radius: 1rem 1rem 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Иконки */
.fas, .fab {
    margin-right: 0.5rem;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Заголовки страниц с эмодзи */
h1 {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Улучшенная видимость для всех заголовков */
.d-flex h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.d-flex h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.d-flex h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Специальные стили для заголовков страниц */
.justify-content-between h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.justify-content-between h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.justify-content-between h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

/* Улучшенная видимость для всех заголовков в контейнерах */
.container h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.container h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.container h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Универсальные стили для всех заголовков */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Специальные стили для заголовков с эмодзи */
h1:contains("👥"), h1:contains("🏢"), h1:contains("🧮"), h1:contains("📤"), h1:contains("👥") {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Дополнительные стили для заголовков страниц */
.d-flex.justify-content-between h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

.d-flex.justify-content-between h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

.d-flex.justify-content-between h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Универсальные стили для всех заголовков на страницах */
body h1, body h2, body h3, body h4, body h5, body h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Специальные стили для заголовков страниц */
.d-flex.justify-content-between h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

.d-flex.justify-content-between h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

.d-flex.justify-content-between h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Универсальные стили для всех заголовков на страницах */
body h1, body h2, body h3, body h4, body h5, body h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

h1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
}

/* Текст */
.text-muted {
    color: #d5dbdb !important;
}

.text-primary {
    color: #5dade2 !important;
}

.text-success {
    color: #58d68d !important;
}

.text-warning {
    color: #f7dc6f !important;
}

.text-danger {
    color: #f1948a !important;
}

/* Дополнительные стили для лучшей читаемости */
.card-body {
    color: #ffffff;
}

.card-body p {
    color: #ffffff;
}

.card-body small {
    color: #d5dbdb;
}

.card-body ul {
    color: #ffffff;
}

.card-body li {
    color: #ffffff;
}

.list-group-item {
    background-color: rgba(52, 73, 94, 0.3);
    color: #ffffff;
    border-color: rgba(52, 73, 94, 0.5);
}

.list-group-item:hover {
    background-color: rgba(102, 126, 234, 0.2);
    color: #ffffff;
}

.list-group-item strong {
    color: #ffffff;
    font-weight: 600;
}

.list-group-item small {
    color: #d5dbdb;
}

/* Улучшенная читаемость для всех текстовых элементов */
.card-body * {
    color: inherit;
}

.card-body h1, .card-body h2, .card-body h3, .card-body h4, .card-body h5, .card-body h6 {
    color: #ffffff;
}

.card-body .text-muted {
    color: #d5dbdb !important;
}

/* Улучшенная читаемость для всех элементов */
.card-body div {
    color: #ffffff;
}

.card-body span {
    color: #ffffff;
}

.card-body .badge {
    color: #ffffff;
}

.card-body .btn {
    color: #ffffff;
}

/* Улучшенная читаемость для всех элементов в таблицах */
.table tbody tr td {
    color: #ffffff !important;
}

.table tbody tr td strong {
    color: #ffffff !important;
}

.table tbody tr td small {
    color: #d5dbdb !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.875rem;
    }

    .btn-group-sm > .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .card-body {
        padding: 1rem;
    }
}

/* Кастомные цвета */
.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

/* Ховер эффекты для карточек */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Футер */
footer {
    background: rgba(26, 37, 47, 0.9) !important;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(52, 73, 94, 0.5);
    color: #bdc3c7 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Контейнер */
.container {
    background: rgba(44, 62, 80, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 73, 94, 0.3);
}

/* Кастомные скроллбары */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

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

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

/* Специальные стили для заголовков в d-flex контейнерах */
.d-flex h1, .d-flex h2, .d-flex h3, .d-flex h4, .d-flex h5, .d-flex h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Специальные стили для заголовков в justify-content-between */
.justify-content-between h1, .justify-content-between h2, .justify-content-between h3, 
.justify-content-between h4, .justify-content-between h5, .justify-content-between h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Специальные стили для заголовков в align-items-center */
.align-items-center h1, .align-items-center h2, .align-items-center h3, 
.align-items-center h4, .align-items-center h5, .align-items-center h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Максимальная специфичность для заголовков страниц */
.d-flex.justify-content-between.align-items-center h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
    font-size: 2.5rem !important;
}

.d-flex.justify-content-between.align-items-center h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

.d-flex.justify-content-between.align-items-center h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Ультра-специфичные стили для всех заголовков */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Стили для заголовков с эмодзи */
h1:contains("👥"), h1:contains("🏢"), h1:contains("🧮"), h1:contains("📤"), h1:contains("👥") {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Принудительные стили для всех заголовков */
* h1, * h2, * h3, * h4, * h5, * h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* КРИТИЧЕСКИ ВАЖНЫЕ стили для заголовков страниц */
.d-flex h1, .d-flex h2, .d-flex h3, .d-flex h4, .d-flex h5, .d-flex h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

.justify-content-between h1, .justify-content-between h2, .justify-content-between h3, 
.justify-content-between h4, .justify-content-between h5, .justify-content-between h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

.align-items-center h1, .align-items-center h2, .align-items-center h3, 
.align-items-center h4, .align-items-center h5, .align-items-center h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Максимальная принудительность */
div h1, div h2, div h3, div h4, div h5, div h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Стили для всех заголовков в контейнерах */
.container h1, .container h2, .container h3, .container h4, .container h5, .container h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* ФИНАЛЬНЫЕ стили для заголовков - максимальная принудительность */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Стили для заголовков с эмодзи - максимальная специфичность */
h1:contains("👥"), h1:contains("🏢"), h1:contains("🧮"), h1:contains("📤"), h1:contains("👥") {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Стили для всех заголовков в любых контейнерах */
div h1, div h2, div h3, div h4, div h5, div h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Стили для заголовков в d-flex контейнерах */
.d-flex h1, .d-flex h2, .d-flex h3, .d-flex h4, .d-flex h5, .d-flex h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Стили для заголовков в justify-content-between */
.justify-content-between h1, .justify-content-between h2, .justify-content-between h3, 
.justify-content-between h4, .justify-content-between h5, .justify-content-between h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* Стили для заголовков в align-items-center */
.align-items-center h1, .align-items-center h2, .align-items-center h3, 
.align-items-center h4, .align-items-center h5, .align-items-center h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

/* КРИТИЧЕСКИ ВАЖНЫЕ стили для заголовков страниц */
.d-flex.justify-content-between.align-items-center h1 {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
    font-size: 2.5rem !important;
}

/* Стили для заголовков с эмодзи - максимальная принудительность */
h1:contains("👥"), h1:contains("🏢"), h1:contains("🧮"), h1:contains("📤") {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
}

/* Ультра-специфичные стили для заголовков в контейнерах */
div.d-flex.justify-content-between.align-items-center h1 {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
    font-size: 2.5rem !important;
}

/* ФИНАЛЬНЫЕ стили для заголовков - максимальная принудительность */
h1 {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
}

/* Стили для заголовков с эмодзи - максимальная принудительность */
h1:contains("👥"), h1:contains("🏢"), h1:contains("🧮"), h1:contains("📤") {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
}

/* Стили для всех заголовков в любых контейнерах */
div h1, div h2, div h3, div h4, div h5, div h6 {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
}

/* Стили для заголовков в d-flex контейнерах */
.d-flex h1, .d-flex h2, .d-flex h3, .d-flex h4, .d-flex h5, .d-flex h6 {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
}

/* Стили для заголовков в justify-content-between */
.justify-content-between h1, .justify-content-between h2, .justify-content-between h3, 
.justify-content-between h4, .justify-content-between h5, .justify-content-between h6 {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
}

/* Стили для заголовков в align-items-center */
.align-items-center h1, .align-items-center h2, .align-items-center h3, 
.align-items-center h4, .align-items-center h5, .align-items-center h6 {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
}

/* Специальные стили для эмодзи в заголовках */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
}

/* Стили для эмодзи - делаем их яркими */
h1::before, h2::before, h3::before, h4::before, h5::before, h6::before {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8)) !important;
}

/* Стили для эмодзи в заголовках */
h1, h2, h3, h4, h5, h6 {
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9), 0 0 10px rgba(255, 255, 255, 0.3) !important;
}

/* КРИТИЧЕСКИ ВАЖНЫЕ стили для заголовков - максимальная принудительность */
html body div.container div.d-flex.justify-content-between.align-items-center.mb-4 h1 {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
    font-size: 2.5rem !important;
}

/* Универсальные стили для всех заголовков */
html body h1, html body h2, html body h3, html body h4, html body h5, html body h6 {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
}

/* Стили для заголовков в d-flex контейнерах */
html body div.d-flex h1, html body div.d-flex h2, html body div.d-flex h3, 
html body div.d-flex h4, html body div.d-flex h5, html body div.d-flex h6 {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
}

/* Стили для заголовков в justify-content-between */
html body div.justify-content-between h1, html body div.justify-content-between h2, 
html body div.justify-content-between h3, html body div.justify-content-between h4, 
html body div.justify-content-between h5, html body div.justify-content-between h6 {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
}

/* Стили для заголовков в align-items-center */
html body div.align-items-center h1, html body div.align-items-center h2, 
html body div.align-items-center h3, html body div.align-items-center h4, 
html body div.align-items-center h5, html body div.align-items-center h6 {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
}