/* ========================================
   СТИЛИ ДЛЯ БАННЕРА УВЕДОМЛЕНИЙ
   notification-banner.css
   ======================================== */

/* Оверлей для затемнения фона (опционально) */
#notification-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9998;
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

/* Контейнер баннера */
#notification-banner {
    position: fixed;
    bottom: -200px; /* Начальная позиция за пределами экрана */
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: bottom 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Показать баннер */
#notification-banner.show {
    bottom: 0;
}

/* Внутренний контейнер для контента */
.notification-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Текст сообщения */
.notification-message {
    flex: 1;
    min-width: 250px;
    font-size: 16px;
    line-height: 1.5;
}

.notification-message a {
    color: #ffd700;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}

.notification-message a:hover {
    color: #ffed4e;
}

/* Контейнер кнопок */
.notification-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Общие стили для кнопок */
.notification-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Кнопка OK */
.notification-btn.ok {
    background: white;
    color: #667eea;
}

.notification-btn.ok:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Кнопка Cancel */
.notification-btn.cancel {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.notification-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Анимация появления оверлея */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    #notification-banner {
        padding: 16px;
    }

    .notification-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .notification-message {
        text-align: center;
        font-size: 14px;
    }

    .notification-buttons {
        justify-content: center;
        width: 100%;
    }

    .notification-btn {
        flex: 1;
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Дополнительные адаптации для очень маленьких экранов */
@media (max-width: 480px) {
    .notification-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .notification-btn {
        width: 100%;
    }
}
