h1 {
    font-size: 1.5rem !important; /* Уменьшаем размер заголовка h1 */
}

h2 {
    font-size: 1.35rem !important; /* Уменьшаем размер заголовка h2 */
}

h3 {
    font-size: 1.2rem !important; /* Уменьшаем размер заголовка h3 */
}

h4 {
    font-size: 1.1rem !important; /* Уменьшаем размер заголовка h4 */
}

h5 {
    font-size: 1rem !important; /* Уменьшаем размер заголовка h5 */
}

h6 {
    font-size: 0.9rem !important; /* Уменьшаем размер заголовка h6 */
}
@media (max-width: 767px) {
    /* Уменьшаем размер шрифта в заголовке */
    .navbar-brand {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100% - 80px);
    }

    /* Скрываем часть текста на мобильных устройствах */
    .navbar-brand .brand-description {
        display: none;
    }

    /* Уменьшаем отступы */
    .navbar-header {
        padding-left: 5px;
        padding-right: 5px;
    }
}
#notification-container .alert {
    animation: slideInRight 0.3s ease-out forwards;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* Стили для области уведомлений */
.notification-area {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

/* Стили для уведомлений */
.notification {
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid rgba(255,255,255,0.4);
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.hiding {
    transform: translateY(-100%);
    opacity: 0;
}

.notification-message {
    flex-grow: 1;
    margin-right: 1rem;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    padding: 0;
    font-size: 0.85rem;
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
}

/* Цвета для разных типов уведомлений */
.notification.bg-success {
    border-left-color: #155724;
}

.notification.bg-danger {
    border-left-color: #721c24;
}

.notification.bg-warning {
    border-left-color: #856404;
}

.notification.bg-info {
    border-left-color: #0c5460;
}
