.notification {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* Центрирование по горизонтали */
    padding: 16px 24px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: block;
    z-index: 10000;
    max-width: 400px;
    width: calc(100% - 40px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
}

/* Стили для разных типов уведомлений (остаются без изменений) */
.notification.success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.notification.error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.notification.warning {
    background: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.notification.info {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.notification p {
    margin: 0;
    font-size: 16px;
}